summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2010-04-15 13:03:21 +0000
committerobache <obache@pkgsrc.org>2010-04-15 13:03:21 +0000
commita1760328235e10b07cf3c659739d3cc58aba0c63 (patch)
treebe7877822ebdbb823984072586002214a2b52c11
parent05660055ab0a1e32772a0ddfc2155114864d4dc4 (diff)
downloadpkgsrc-a1760328235e10b07cf3c659739d3cc58aba0c63.tar.gz
* switched to use libbind.
* exactly depend on openssl. Bump PKGREVISION.
-rw-r--r--mail/enma/Makefile14
1 files changed, 6 insertions, 8 deletions
diff --git a/mail/enma/Makefile b/mail/enma/Makefile
index c01daa50bbc..79bb9a0b97a 100644
--- a/mail/enma/Makefile
+++ b/mail/enma/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.3 2009/12/15 16:40:01 joerg Exp $
+# $NetBSD: Makefile,v 1.4 2010/04/15 13:03:21 obache Exp $
#
DISTNAME= enma-1.1.0
+PKGREVISION= 1
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=enma/}
@@ -15,11 +16,10 @@ GNU_CONFIGURE= yes
USE_TOOLS+= gmake
CONFIGURE_ARGS+= --with-libmilter=${BUILDLINK_PREFIX.libmilter}
-#CONFIGURE_ARGS+= --with-libbind=${BUILDLINK_PREFIX.bind}
+CONFIGURE_ARGS+= --with-libbind=${BUILDLINK_PREFIX.libbind}
+CONFIGURE_ARGS+= --with-ssl=${SSLBASE}
CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/share/examples/enma
-BUILDLINK_TRANSFORM+= opt:-lbind:${RESOLV_LDFLAGS}
-
BUILD_DEFS+= VARBASE
CONF_FILES+= share/examples/enma/enma.conf.sample ${PKG_SYSCONFDIR}/enma.conf
@@ -57,9 +57,7 @@ post-install:
${DESTDIR}${PREFIX}/share/examples/enma/enma.conf.sample
.include "../../mail/libmilter/buildlink3.mk"
+.include "../../net/libbind/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
-.if ${OPSYS} == "DragonFly"
-USE_BUILTIN.resolv= no
-.endif
-.include "../../mk/resolv.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"