summaryrefslogtreecommitdiff
path: root/mail/postfix/Makefile
diff options
context:
space:
mode:
authormartti <martti>2004-01-23 12:03:44 +0000
committermartti <martti>2004-01-23 12:03:44 +0000
commit2d426cd7b6f8b21f72f5262401b230552b13b300 (patch)
tree659fcd6a9362a105407a5bef274ef0f1d5192821 /mail/postfix/Makefile
parent473875ad3baa520d2e0ad7e4931fa74dcd222801 (diff)
downloadpkgsrc-2d426cd7b6f8b21f72f5262401b230552b13b300.tar.gz
Make this work on Linux.
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"