summaryrefslogtreecommitdiff
path: root/mail/postfix/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/postfix/Makefile')
-rw-r--r--mail/postfix/Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/mail/postfix/Makefile b/mail/postfix/Makefile
index 80afc6baf58..e1f2220ccbb 100644
--- a/mail/postfix/Makefile
+++ b/mail/postfix/Makefile
@@ -1,14 +1,15 @@
-# $NetBSD: Makefile,v 1.114 2004/01/23 06:25:25 martti Exp $
+# $NetBSD: Makefile,v 1.115 2004/01/23 12:03:44 martti Exp $
DISTNAME= postfix-2.0.18
CATEGORIES= mail
MASTER_SITES= ftp://ftp.porcupine.org/mirrors/postfix-release/official/
-DIST_SUBDIR= postfix
MAINTAINER= martti@NetBSD.org
HOMEPAGE= http://www.postfix.org/
COMMENT= Postfix SMTP server and tools
+DIST_SUBDIR= postfix
+
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_BUILDLINK3= yes
@@ -184,4 +185,12 @@ do-install:
cd ${WRKSRC} && ${SETENV} config_directory="${SHAREDIR}" \
${SH} postfix-install -non-interactive
+.if ${OPSYS} == "Linux"
+.include "../../databases/db/buildlink3.mk"
+CCARGS+= -I${BUILDLINK_PREFIX.db}/include/db2
+AUXLIBS+= -L${BUILDLINK_PREFIX.db}/lib \
+ -Wl,${RPATH_FLAG}${BUILDLINK_PREFIX.db}/lib \
+ -ldb2
+.endif
+
.include "../../mk/bsd.pkg.mk"