aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorwen <wen@FreeBSD.org>2010-04-14 20:10:00 +0800
committerwen <wen@FreeBSD.org>2010-04-14 20:10:00 +0800
commit7aa673ff878d17cd9b13f15c216b674bd26d1540 (patch)
treee09d822fee6c1ffb616acbc1e0c1807d39bda246 /security
parentc2b0be46d374875c3e9c86c21a8b24bd4f205e18 (diff)
downloadfreebsd-ports-gnome-7aa673ff878d17cd9b13f15c216b674bd26d1540.tar.gz
freebsd-ports-gnome-7aa673ff878d17cd9b13f15c216b674bd26d1540.tar.zst
freebsd-ports-gnome-7aa673ff878d17cd9b13f15c216b674bd26d1540.zip
- Fix build with openssl
PR: ports/145620 Submitted by: Sergei Vyshenski <svysh@pn.sinp.msu.ru> (maintainer)
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>