aboutsummaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorWen Heping <wen@FreeBSD.org>2010-04-14 12:10:00 +0000
committerWen Heping <wen@FreeBSD.org>2010-04-14 12:10:00 +0000
commitf0b7004cca8927a615ab913e85fbfd79f1d38100 (patch)
treefe56c2c331b774ed5f026e4bfcbd31bc4ae63be3 /security
parent05936f72a4b53657d52d35cbfe343412eadbc239 (diff)
downloadports-f0b7004cca8927a615ab913e85fbfd79f1d38100.tar.gz
ports-f0b7004cca8927a615ab913e85fbfd79f1d38100.zip
- Fix build with openssl
PR: ports/145620 Submitted by: Sergei Vyshenski <svysh@pn.sinp.msu.ru> (maintainer)
Notes
Notes: svn path=/head/; revision=252673
Diffstat (limited to 'security')
-rw-r--r--security/p5-openxpki/Makefile14
1 files changed, 11 insertions, 3 deletions
diff --git a/security/p5-openxpki/Makefile b/security/p5-openxpki/Makefile
index ac80f89d152a..825f1a7aa269 100644
--- a/security/p5-openxpki/Makefile
+++ b/security/p5-openxpki/Makefile
@@ -7,6 +7,7 @@
PORTNAME= openxpki
PORTVERSION= 0.9.1389
+PORTREVISION= 1
CATEGORIES= security perl5
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/0.9.1300
PKGNAMEPREFIX= p5-
@@ -297,9 +298,16 @@ OPTIONS= DEVELOPER "Install development tools for OpenXPKI?" off \
.include <bsd.port.options.mk>
-# needs openssl 0.9.8
-.if ${OSVERSION} < 700019
-WITH_OPENSSL_PORT= yes
+# this port needs openssl-0.9.8+, but does not yet compile with openssl-1.0.0+
+# freebsd-6 or less has base openssl-0.9.7 which is bad
+# freebsd-7 or more has base openssl-0.9.8 which is good
+# openssl from port now has version 1.0.0 only
+.if ${OSVERSION} < 700000
+IGNORE= needs openssl-0.9.8+, but does not yet compile with openssl-1.0.0+
+.endif
+.if ${OSVERSION} >= 700000
+WITH_OPENSSL_BASE= yes
+
.endif
.include <bsd.port.pre.mk>