summaryrefslogtreecommitdiff
path: root/mail/enma
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2009-05-31 16:35:13 +0000
committerPav Lucistnik <pav@FreeBSD.org>2009-05-31 16:35:13 +0000
commit367a79a9a478f97e5bd32fbe7cc53b7c9950b90d (patch)
tree2b9c1150ffd05b237c20c8c3bc00bf54198e1922 /mail/enma
parentFix pkg-plist. (diff)
- Use OpenSSL from port on 6.X, to fix build
Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=234925
Diffstat (limited to 'mail/enma')
-rw-r--r--mail/enma/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/mail/enma/Makefile b/mail/enma/Makefile
index 16410230739a..52fb990e3c56 100644
--- a/mail/enma/Makefile
+++ b/mail/enma/Makefile
@@ -30,7 +30,6 @@ BIND_SRC_DIR= ${BASENAME} $$(${BIND_PATH_CMD})
HAS_CONFIGURE= yes
CONFIGURE_ARGS+= --prefix=${PREFIX} --mandir=${PREFIX}/man \
--with-libbind=${WRKSRC}/build/tmp_build
-USE_OPENSSL= yes
USE_RC_SUBR= milter-enma
USE_GMAKE= yes
MANLANG= "" ja_JP.UTF-8
@@ -45,6 +44,12 @@ SUB_FILES= milter-enma
CONFIGURE_ARGS+= --with-libmilter=${MILTERBASE} \
--with-ssl=${OPENSSLBASE}
+USE_OPENSSL= yes
+.if ${OSVERSION} < 700000
+WITH_OPENSSL_PORT= yes
+.endif
+.include "${PORTSDIR}/Mk/bsd.openssl.mk"
+
pre-configure:
cd ${PORTSDIR}/dns/bind95 && ${MAKE} -DBATCH patch && \
${LN} -s $$(${BIND_PATH_CMD}) ${WRKSRC}/build && \