mirror of
https://git.freebsd.org/ports.git
synced 2025-06-24 22:20:35 -04:00
PR: 216420 Changes: https://github.com/neutrinolabs/xrdp/wiki/NEWS Submitted by: Koichiro IWAO <meta+ports@vmeta.jp> (maintainer)
22 lines
722 B
Text
22 lines
722 B
Text
diff --git configure.ac configure.ac
|
|
index 5c73168a..abbf4135 100644
|
|
--- configure.ac
|
|
+++ configure.ac
|
|
@@ -138,8 +138,15 @@ AC_CHECK_FUNC(dlopen, [],
|
|
AC_SUBST(DLOPEN_LIBS)
|
|
|
|
# checking for openssl
|
|
-PKG_CHECK_MODULES([OPENSSL], [openssl >= 0], [],
|
|
- [AC_MSG_ERROR([please install libssl-dev or openssl-devel])])
|
|
+if test "x$freebsd" = "xyes"; then
|
|
+ # FreeBSD base doesn't supply "*.pc"
|
|
+ AC_CHECK_HEADER([openssl/rc4.h], [],
|
|
+ [AC_MSG_ERROR([please install libssl-dev or openssl-devel])],
|
|
+ [#include <stdlib.h>])
|
|
+else
|
|
+ PKG_CHECK_MODULES([OPENSSL], [openssl >= 0], [],
|
|
+ [AC_MSG_ERROR([please install libssl-dev or openssl-devel])])
|
|
+fi
|
|
|
|
# checking for pam variation
|
|
# Linux-PAM is used in Linux systems
|