Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/ibm-public/postfix Move default definition of "PKGR...



details:   https://anonhg.NetBSD.org/src/rev/2ee9d191c02d
branches:  trunk
changeset: 762110:2ee9d191c02d
user:      tron <tron%NetBSD.org@localhost>
date:      Tue Feb 15 23:17:02 2011 +0000

description:
Move default definition of "PKGROOT" inside the "HAVE_CYRUS_SASL" block
as it shouldn't be used anywhere else.

diffstat:

 external/ibm-public/postfix/Makefile.inc |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (22 lines):

diff -r 9a55986e5460 -r 2ee9d191c02d external/ibm-public/postfix/Makefile.inc
--- a/external/ibm-public/postfix/Makefile.inc  Tue Feb 15 20:24:11 2011 +0000
+++ b/external/ibm-public/postfix/Makefile.inc  Tue Feb 15 23:17:02 2011 +0000
@@ -1,9 +1,8 @@
-#      $NetBSD: Makefile.inc,v 1.9 2011/02/15 16:19:33 christos Exp $
+#      $NetBSD: Makefile.inc,v 1.10 2011/02/15 23:17:02 tron Exp $
 
 .include <bsd.own.mk>
 
 USE_FORT?= yes # network client and server
-PKGROOT?= /usr/pkg
 
 WARNS?=        0
 
@@ -32,6 +31,7 @@
 
 # XXX: Use only if you have cyrus-sasl installed; never part of a normal build!
 .if defined(HAVE_CYRUS_SASL)
+PKGROOT?= /usr/pkg
 CPPFLAGS+= -DUSE_SASL_AUTH -DUSE_CYRUS_SASL \
        -I${PKGROOT}/include/sasl
 LDADD+= -L${PKGROOT}/lib -Wl,-R${PKGROOT}/lib -lsasl2 



Home | Main Index | Thread Index | Old Index