aboutsummaryrefslogtreecommitdiff
path: root/mail/libdkim
diff options
context:
space:
mode:
authorSergey Skvortsov <skv@FreeBSD.org>2008-12-24 18:05:19 +0000
committerSergey Skvortsov <skv@FreeBSD.org>2008-12-24 18:05:19 +0000
commit4d17caab44cf293e8fb9645ff1e299bd3054c5a6 (patch)
tree325d0e955195ea8ab4fd51d0c0891bc7814b9bbb /mail/libdkim
parent12824fec6ad062ef2c74c0a23b89d1a829add2f8 (diff)
downloadports-4d17caab44cf293e8fb9645ff1e299bd3054c5a6.tar.gz
ports-4d17caab44cf293e8fb9645ff1e299bd3054c5a6.zip
Notes
Diffstat (limited to 'mail/libdkim')
-rw-r--r--mail/libdkim/Makefile9
-rw-r--r--mail/libdkim/files/Makefile4
2 files changed, 7 insertions, 6 deletions
diff --git a/mail/libdkim/Makefile b/mail/libdkim/Makefile
index 6000ba3812ef..932bbbf8aa6b 100644
--- a/mail/libdkim/Makefile
+++ b/mail/libdkim/Makefile
@@ -22,12 +22,13 @@ USE_OPENSSL= YES
WRKSRC= ${WRKDIR}/${DISTNAME}/src
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 700000
-BROKEN= does not compile on FreeBSD 6.x
+#Check for OPENSSL 0.9.8 in BASE: If not present require PORT
+.if !exists(${DESTDIR}/lib/libcrypto.so.5)
+WITH_OPENSSL_PORT= YES
.endif
+.include <bsd.port.pre.mk>
+
post-patch:
${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.prev
@${SED} -e "s=%%SHLIB_MAJOR%%=${SHLIB_MAJOR}=g" \
diff --git a/mail/libdkim/files/Makefile b/mail/libdkim/files/Makefile
index c979609f97f5..684527884d66 100644
--- a/mail/libdkim/files/Makefile
+++ b/mail/libdkim/files/Makefile
@@ -8,8 +8,8 @@ SHLIB_MAJOR= %%SHLIB_MAJOR%%
LIBDIR= ${PREFIX}/lib
INCLUDEDIR= ${PREFIX}/include
-CFLAGS+= -DOPENSSL_FIPS -I${OPENSSLBASE}/include
-LDFLAGS+= -lcrypto -L${OPENSSLBASE}/lib
+CFLAGS+= -DOPENSSL_FIPS -I${OPENSSLINC}
+LDFLAGS+= -lcrypto -L${OPENSSLLIB}
NO_PROFILE=