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 don't hard-code /usr/pkg



details:   https://anonhg.NetBSD.org/src/rev/376ea275a8d8
branches:  trunk
changeset: 762003:376ea275a8d8
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Feb 13 01:53:50 2011 +0000

description:
don't hard-code /usr/pkg

diffstat:

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

diffs (26 lines):

diff -r 75736a3e1361 -r 376ea275a8d8 external/ibm-public/postfix/Makefile.inc
--- a/external/ibm-public/postfix/Makefile.inc  Sun Feb 13 01:50:03 2011 +0000
+++ b/external/ibm-public/postfix/Makefile.inc  Sun Feb 13 01:53:50 2011 +0000
@@ -1,9 +1,10 @@
-#      $NetBSD: Makefile.inc,v 1.5 2011/02/13 01:50:03 christos Exp $
+#      $NetBSD: Makefile.inc,v 1.6 2011/02/13 01:53:50 christos Exp $
 
 .include <bsd.own.mk>
 
 USE_FORT?= yes # network client and server
 USE_LIB_SASLC?= yes
+PKGROOT?= /usr/pkg
 
 WARNS?=        0
 
@@ -29,8 +30,8 @@
 .elif defined(HAVE_CYRUS_SASL)
 CPPFLAGS+= -DUSE_SASL_AUTH -DUSE_CYRUS_SASL \
        -DDEF_SERVER_SASL_TYPE=\"cyrus\" \
-       -I/usr/pkg/include/sasl
-LDADD+= -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lsasl2 
+       -I${PKGROOT}/include/sasl
+LDADD+= -L${PKGROOT}/lib -Wl,-R${PKGROOT}/lib -lsasl2 
 .else
 CPPFLAGS+= -DDEF_SERVER_SASL_TYPE=\"dovecot\"
 .endif



Home | Main Index | Thread Index | Old Index