From 36846cec2b5da04cd1436cc140db447b852b6010 Mon Sep 17 00:00:00 2001 From: pav Date: Fri, 9 Jan 2009 12:09:34 +0000 Subject: - Change the OpenSSL 0.9.8 check to use OSVERSION Approved by: skv (maintainer) --- mail/libdkim/Makefile | 6 ++++-- 1 file 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 + #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 -- cgit