pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mail/postfix db4 is needed in Linux when POSTFIX_USE_L...
details: https://anonhg.NetBSD.org/pkgsrc/rev/58f2d56cb0f8
branches: trunk
changeset: 472866:58f2d56cb0f8
user: martti <martti%pkgsrc.org@localhost>
date: Tue Apr 13 06:29:43 2004 +0000
description:
db4 is needed in Linux when POSTFIX_USE_LDAP=YES (pkg/25120 by Jukka Salmi)
diffstat:
mail/postfix/Makefile | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diffs (23 lines):
diff -r 4071aa49fdcc -r 58f2d56cb0f8 mail/postfix/Makefile
--- a/mail/postfix/Makefile Tue Apr 13 05:34:26 2004 +0000
+++ b/mail/postfix/Makefile Tue Apr 13 06:29:43 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.125 2004/03/25 12:58:37 martti Exp $
+# $NetBSD: Makefile,v 1.126 2004/04/13 06:29:43 martti Exp $
DISTNAME= postfix-2.0.19
CATEGORIES= mail
@@ -79,6 +79,13 @@
AUXLIBS+= -L${BUILDLINK_PREFIX.openldap}/lib \
-Wl,${RPATH_FLAG}${BUILDLINK_PREFIX.openldap}/lib \
-lldap -llber
+.if ${OPSYS} != "Linux"
+.include "../../databases/db4/buildlink3.mk"
+CCARGS+= -I${BUILDLINK_PREFIX.db}/include/db4
+AUXLIBS+= -L${BUILDLINK_PREFIX.db}/lib \
+ -Wl,${RPATH_FLAG}${BUILDLINK_PREFIX.db}/lib \
+ -ldb4
+.endif
.endif
.if defined(POSTFIX_USE_MYSQL) && ${POSTFIX_USE_MYSQL} == "YES"
Home |
Main Index |
Thread Index |
Old Index