aboutsummaryrefslogtreecommitdiff
path: root/devel/libopkele
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2008-07-23 00:55:49 +0000
committerPav Lucistnik <pav@FreeBSD.org>2008-07-23 00:55:49 +0000
commit09f221ddd658b065c0f427551dbac689e2685314 (patch)
treef4723c24812d59207aed13a668c125078bd423e4 /devel/libopkele
parent8fb7fbd677ce25349b85effb7d69cd2b3edcd260 (diff)
downloadports-09f221ddd658b065c0f427551dbac689e2685314.tar.gz
ports-09f221ddd658b065c0f427551dbac689e2685314.zip
Notes
Diffstat (limited to 'devel/libopkele')
-rw-r--r--devel/libopkele/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/devel/libopkele/Makefile b/devel/libopkele/Makefile
index 4e73bbde3b29..a7ff7de0cb9b 100644
--- a/devel/libopkele/Makefile
+++ b/devel/libopkele/Makefile
@@ -21,7 +21,6 @@ LIB_DEPENDS= curl.4:${PORTSDIR}/ftp/curl \
xslt:${PORTSDIR}/textproc/libxslt
USE_GMAKE= yes
-USE_OPENSSL= yes
USE_LDCONFIG= yes
USE_GNOME= pkgconfig
GNU_CONFIGURE= yes
@@ -32,10 +31,14 @@ CONFIGURE_ENV= "OPENSSL_CFLAGS=${CFLAGS} -l${OPENSSLINC}" \
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS= "-L${LOCALBASE}/lib"
+.include <bsd.port.pre.mk>
+
# This port needs OpenSSL 0.9.8b which is present in 7.0 and up
-.if !exists(/usr/include/openssl/store.h)
+USE_OPENSSL= yes
+.if ${OSVERSION} < 700000
WITH_OPENSSL_PORT= yes
.endif
+.include "${PORTSDIR}/Mk/bsd.openssl.mk"
# If we use the base OpenSSL either by default or
# by design, we need to remove the openssl dependency
@@ -48,4 +51,4 @@ post-patch:
@ ${REINPLACE_CMD} -e "s|Requires: openssl|Requires:|" ${WRKSRC}/libopkele.pc.in
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>