pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/postfix move BUILD_DEFS outside of their respecti...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c87834c50656
branches:  trunk
changeset: 470070:c87834c50656
user:      grant <grant%pkgsrc.org@localhost>
date:      Sat Mar 06 06:52:43 2004 +0000

description:
move BUILD_DEFS outside of their respective conditionals, so the
not defined/value output is shown at the start of the build.

diffstat:

 mail/postfix/Makefile |  19 ++++++++++---------
 1 files changed, 10 insertions(+), 9 deletions(-)

diffs (85 lines):

diff -r c7efac8a8e9e -r c87834c50656 mail/postfix/Makefile
--- a/mail/postfix/Makefile     Sat Mar 06 06:47:41 2004 +0000
+++ b/mail/postfix/Makefile     Sat Mar 06 06:52:43 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.119 2004/03/06 06:28:22 grant Exp $
+# $NetBSD: Makefile,v 1.120 2004/03/06 06:52:43 grant Exp $
 
 DISTNAME=      postfix-2.0.18
 PKGREVISION=   1
@@ -32,18 +32,25 @@
 
 FIX_RPATH+=    AUXLIBS
 
+BUILD_DEFS+=   POSTFIX_USE_INET6
+BUILD_DEFS+=   POSTFIX_USE_TLS
+BUILD_DEFS+=   POSTFIX_USE_PCRE
+BUILD_DEFS+=   POSTFIX_USE_LDAP
+BUILD_DEFS+=   POSTFIX_USE_MYSQL
+BUILD_DEFS+=   POSTFIX_USE_PGSQL
+BUILD_DEFS+=   USE_SASL
+BUILD_DEFS+=   USE_SASL2
+
 .if defined(POSTFIX_USE_INET6) && ${POSTFIX_USE_INET6} == "YES"
 .  include "../../security/openssl/buildlink3.mk"
 PATCHFILES+=           tls+ipv6-1.21-pf-2.0.18.patch.gz
 PATCH_SITES+=          ftp://ftp.stack.nl/pub/postfix/tls+ipv6/1.21/
 PATCH_DIST_STRIP=      -p1
-BUILD_DEFS+=           POSTFIX_USE_INET6
 
 CCARGS+=       -DHAS_SSL
 AUXLIBS+=      -L${BUILDLINK_PREFIX.openssl}/lib                       \
                -Wl,${RPATH_FLAG}${BUILDLINK_PREFIX.openssl}/lib        \
                -lssl -lcrypto
-BUILD_DEFS+=   POSTFIX_USE_TLS
 
 PLIST_SRC+=    ${PKGDIR}/PLIST.tls
 MESSAGE_SRC+=  ${PKGDIR}/MESSAGE.tls
@@ -55,7 +62,6 @@
 AUXLIBS+=      -L${BUILDLINK_PREFIX.pcre}/lib                          \
                -Wl,${RPATH_FLAG}${BUILDLINK_PREFIX.pcre}/lib           \
                -lpcre
-BUILD_DEFS+=   POSTFIX_USE_PCRE
 .else
 CCARGS+=       -DNO_PCRE
 .endif
@@ -66,7 +72,6 @@
 AUXLIBS+=      -L${BUILDLINK_PREFIX.openldap}/lib                      \
                -Wl,${RPATH_FLAG}${BUILDLINK_PREFIX.openldap}/lib       \
                -lldap -llber
-BUILD_DEFS+=   POSTFIX_USE_LDAP
 .endif
 
 .if defined(POSTFIX_USE_MYSQL) && ${POSTFIX_USE_MYSQL} == "YES"
@@ -75,7 +80,6 @@
 AUXLIBS+=      -L${BUILDLINK_PREFIX.mysql-client}/lib/mysql            \
                -Wl,${RPATH_FLAG}${BUILDLINK_PREFIX.mysql-client}/lib/mysql     \
                -lmysqlclient -lz -lm
-BUILD_DEFS+=   POSTFIX_USE_MYSQL
 .endif
 
 .if defined(POSTFIX_USE_PGSQL) && ${POSTFIX_USE_PGSQL} == "YES"
@@ -88,7 +92,6 @@
 CCARGS+=       -DHAS_PGSQL -I${BUILDLINK_PREFIX.postgresql-lib}/include/pgsql
 AUXLIBS+=      -L${BUILDLINK_PREFIX.postgresql-lib}/lib -lpq \
                -L${BUILDLINK_PREFIX.openssl}/lib -lcrypt
-BUILD_DEFS+=   POSTFIX_USE_PGSQL
 .endif
 
 .if defined(USE_SASL2) && ${USE_SASL2} == "YES"
@@ -98,7 +101,6 @@
 AUXLIBS+=      -L${BUILDLINK_PREFIX.cyrus-sasl}/lib                    \
                -Wl,${RPATH_FLAG}${BUILDLINK_PREFIX.cyrus-sasl}/lib     \
                -lsasl2
-BUILD_DEFS+=   USE_SASL2
 .elif defined(USE_SASL) && ${USE_SASL} == "YES"
 USING_SASL=YES
 .  include "../../security/cyrus-sasl/buildlink3.mk"
@@ -106,7 +108,6 @@
 AUXLIBS+=      -L${BUILDLINK_PREFIX.cyrus-sasl}/lib                    \
                -Wl,${RPATH_FLAG}${BUILDLINK_PREFIX.cyrus-sasl}/lib     \
                -lsasl
-BUILD_DEFS+=   USE_SASL
 .endif
 
 .if defined(USING_SASL)



Home | Main Index | Thread Index | Old Index