aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2009-01-09 20:09:34 +0800
committerpav <pav@FreeBSD.org>2009-01-09 20:09:34 +0800
commit36846cec2b5da04cd1436cc140db447b852b6010 (patch)
tree33c9f2c57738daed3f193afe64fdefc2476b911f
parent37321a0f7b5633f036e10637382d782278171585 (diff)
downloadfreebsd-ports-gnome-36846cec2b5da04cd1436cc140db447b852b6010.tar.gz
freebsd-ports-gnome-36846cec2b5da04cd1436cc140db447b852b6010.tar.zst
freebsd-ports-gnome-36846cec2b5da04cd1436cc140db447b852b6010.zip
- Change the OpenSSL 0.9.8 check to use OSVERSION
Approved by: skv (maintainer)
-rw-r--r--mail/libdkim/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/mail/libdkim/Makefile b/mail/libdkim/Makefile
index bd0b646a88bd..2c01b02ae8af 100644
--- a/mail/libdkim/Makefile
+++ b/mail/libdkim/Makefile
@@ -23,9 +23,11 @@ USE_OPENSSL= YES
WRKSRC= ${WRKDIR}/${DISTNAME}/src
+.include <bsd.port.options.mk>
+
#Check for OPENSSL 0.9.8 in BASE: If not present require PORT
-.if !exists(${DESTDIR}/lib/libcrypto.so.5)
-WITH_OPENSSL_PORT= YES
+.if ${OSVERSION} < 700019
+WITH_OPENSSL_PORT= yes
.endif
.include <bsd.port.pre.mk>