summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-06-26 12:42:17 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-06-26 12:42:17 +0000
commita7ea68f219d9d1b7624cbca082bffebb87382b51 (patch)
tree6d6012dc59065497965fa45d40dbe7cc5ab8453d
parent- Add required C++11 support (diff)
- Require newer OpenSSL on pre-10.x, fix build
Submitted by: pkg-fallout Approved by: portmgr blanket
Notes
Notes: svn path=/head/; revision=390629
-rw-r--r--net-mgmt/nsca-ng/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/net-mgmt/nsca-ng/Makefile b/net-mgmt/nsca-ng/Makefile
index 5f97b227085e..4040280d485a 100644
--- a/net-mgmt/nsca-ng/Makefile
+++ b/net-mgmt/nsca-ng/Makefile
@@ -31,6 +31,14 @@ CONFIGURE_ARGS+= --enable-server
PORTDOCS= NEWS COPYING README PROTOCOL TODO
+.include <bsd.port.options.mk>
+
+.if ${OSVERSION} < 1000000
+WITH_OPENSSL_PORT= yes
+CPPFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
+.endif
+
post-install:
.if defined(PKGNAMESUFFIX)
${INSTALL_DATA} -d ${STAGEDIR}${PREFIX}/libexec/nagios/