diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-06-26 20:42:17 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-06-26 20:42:17 +0800 |
commit | c5f4801e097903a959aeb46530ddbadef2bf6da1 (patch) | |
tree | 6d6012dc59065497965fa45d40dbe7cc5ab8453d /net-mgmt/nsca-ng | |
parent | ab3080ae2281b505980e4fcee6d6bed4a99c752f (diff) | |
download | freebsd-ports-gnome-c5f4801e097903a959aeb46530ddbadef2bf6da1.tar.gz freebsd-ports-gnome-c5f4801e097903a959aeb46530ddbadef2bf6da1.tar.zst freebsd-ports-gnome-c5f4801e097903a959aeb46530ddbadef2bf6da1.zip |
- Require newer OpenSSL on pre-10.x, fix build
Submitted by: pkg-fallout
Approved by: portmgr blanket
Diffstat (limited to 'net-mgmt/nsca-ng')
-rw-r--r-- | net-mgmt/nsca-ng/Makefile | 8 |
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/ |