aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/nrpe3
diff options
context:
space:
mode:
authorMahdi Mokhtari <mmokhi@FreeBSD.org>2017-12-21 20:30:46 +0000
committerMahdi Mokhtari <mmokhi@FreeBSD.org>2017-12-21 20:30:46 +0000
commit438a34de714aebe62b3f7b400418fb54a215fb82 (patch)
tree3d6cdfcacf7aea484496c002c2c431156a5d2284 /net-mgmt/nrpe3
parentae172e715d64d04107f6599f3865ffdb1ec62f50 (diff)
downloadports-438a34de714aebe62b3f7b400418fb54a215fb82.tar.gz
ports-438a34de714aebe62b3f7b400418fb54a215fb82.zip
Notes
Diffstat (limited to 'net-mgmt/nrpe3')
-rw-r--r--net-mgmt/nrpe3/Makefile5
-rw-r--r--net-mgmt/nrpe3/files/patch-include_common.h.in19
2 files changed, 21 insertions, 3 deletions
diff --git a/net-mgmt/nrpe3/Makefile b/net-mgmt/nrpe3/Makefile
index 30e80bc09712..0c7364a9d644 100644
--- a/net-mgmt/nrpe3/Makefile
+++ b/net-mgmt/nrpe3/Makefile
@@ -35,9 +35,8 @@ MONPLUGINS_DESC=Use net-mgmt/monitoring-plugins
SSL_USES= ssl
SSL_CONFIGURE_ENABLE= ssl
-SSL_CONFIGURE_ON= --with-ssl=${OPENSSLDIR} \
- --with-ssl-inc=${OPENSSLINC} \
- --with-ssl-lib=${OPENSSLLIB}
+SSL_CONFIGURE_WITH= ssl=${OPENSSLBASE} ssl-inc=${OPENSSLINC} ssl-lib=${OPENSSLLIB}
+SSL_CFLAGS= -I${OPENSSLINC}
ARGS_CONFIGURE_ON= --enable-command-args
ARGS_CONFIGURE_OFF= --disable-command-args
diff --git a/net-mgmt/nrpe3/files/patch-include_common.h.in b/net-mgmt/nrpe3/files/patch-include_common.h.in
new file mode 100644
index 000000000000..71c42206830f
--- /dev/null
+++ b/net-mgmt/nrpe3/files/patch-include_common.h.in
@@ -0,0 +1,19 @@
+--- include/common.h.in.orig 2017-12-08 11:11:28 UTC
++++ include/common.h.in
+@@ -30,11 +30,16 @@
+
+ #ifdef HAVE_SSL
+ #include <@SSL_INC_PREFIX@@SSL_HDR@>
++#include <@SSL_INC_PREFIX@crypto.h>
+ # ifdef SSL_TYPE_openssl
+ # include <@SSL_INC_PREFIX@err.h>
+ # include <@SSL_INC_PREFIX@rand.h>
+ # include <@SSL_INC_PREFIX@engine.h>
++# include <@SSL_INC_PREFIX@crypto.h>
++# if defined (LIBRESSL_VERSION_NUMBER)
++# include <@SSL_INC_PREFIX@opensslfeatures.h>
++# endif
+ # endif
+ #endif
+
+ #define PROGRAM_VERSION "3.2.1"