aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/ccnet
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-07-28 04:10:06 +0800
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-07-28 04:10:06 +0800
commit0f8c039dacfca9c5946a749ec8f5139d9598db3e (patch)
tree492a04378e26a7e611d6cfbe6999c667e4dd4af9 /net-mgmt/ccnet
parent5eac9528f705745b0bcdb7fa3939218e8a7d2350 (diff)
downloadfreebsd-ports-gnome-0f8c039dacfca9c5946a749ec8f5139d9598db3e.tar.gz
freebsd-ports-gnome-0f8c039dacfca9c5946a749ec8f5139d9598db3e.tar.zst
freebsd-ports-gnome-0f8c039dacfca9c5946a749ec8f5139d9598db3e.zip
- Fix build on pre-10.x by enforcing OpenSSL from ports
PR: 199265 Approved by: portmgr blanket
Diffstat (limited to 'net-mgmt/ccnet')
-rw-r--r--net-mgmt/ccnet/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/net-mgmt/ccnet/Makefile b/net-mgmt/ccnet/Makefile
index de2b1458b3da..12b3dad6fa1b 100644
--- a/net-mgmt/ccnet/Makefile
+++ b/net-mgmt/ccnet/Makefile
@@ -52,6 +52,12 @@ PLIST_SUB= SEAFILE_USERNAME=${SEAFILE_USERNAME} \
SEAFILE_SERVER=${SEAFILE_SERVER} \
HAIWENDIR=${HAIWENDIR}
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000
+WITH_OPENSSL_PORT= yes
+.endif
+
post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/${SEABIN} ${STAGEDIR}${PREFIX}/${SEALIB}
${INSTALL_PROGRAM} ${STAGEDIR}${PREFIX}/bin/ccnet-init ${STAGEDIR}${PREFIX}/${SEABIN}