pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/postfix use ${LDFLAGS} in AUXLIBS so the chosen l...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/15c23ff4f07b
branches:  trunk
changeset: 497588:15c23ff4f07b
user:      grant <grant%pkgsrc.org@localhost>
date:      Sun Jul 31 03:46:05 2005 +0000

description:
use ${LDFLAGS} in AUXLIBS so the chosen libdb can be found at runtime.

fixes build on Solaris.

diffstat:

 mail/postfix/Makefile   |  4 ++--
 mail/postfix/options.mk |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 60d98735ed34 -r 15c23ff4f07b mail/postfix/Makefile
--- a/mail/postfix/Makefile     Sun Jul 31 03:29:50 2005 +0000
+++ b/mail/postfix/Makefile     Sun Jul 31 03:46:05 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.165 2005/07/22 06:12:44 martti Exp $
+# $NetBSD: Makefile,v 1.166 2005/07/31 03:46:05 grant Exp $
 
 DISTNAME=      postfix-2.2.5
 CATEGORIES=    mail
@@ -26,7 +26,7 @@
 # AUXLIBS is a list of options to pass to the linker.
 #
 CCARGS=                # empty
-AUXLIBS=       # empty
+AUXLIBS=       ${LDFLAGS}
 FIX_RPATH+=    AUXLIBS
 
 # Set some default paths to override ${WRKSRC}/src/global/mail_params.h.
diff -r 60d98735ed34 -r 15c23ff4f07b mail/postfix/options.mk
--- a/mail/postfix/options.mk   Sun Jul 31 03:29:50 2005 +0000
+++ b/mail/postfix/options.mk   Sun Jul 31 03:46:05 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.19 2005/03/28 09:39:57 jlam Exp $
+# $NetBSD: options.mk,v 1.20 2005/07/31 03:46:05 grant Exp $
 
 # Global and legacy options
 
@@ -15,7 +15,7 @@
 .if !empty(PKG_OPTIONS:Mbdb)
 .  include "../../mk/bdb.buildlink3.mk"
 CCARGS+=       -DHAS_DB
-AUXLIBS+=      ${BUILDLINK_LDFLAGS.${BDB_TYPE}} ${BDB_LIBS}
+AUXLIBS+=      ${BDB_LIBS}
 .endif
 
 ###



Home | Main Index | Thread Index | Old Index