diff options
author | grant <grant@pkgsrc.org> | 2005-07-31 03:46:05 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2005-07-31 03:46:05 +0000 |
commit | 826708f73d2e62ba36452098d4bf521a30370711 (patch) | |
tree | 696483e6c9f0816662120a84f88869cb62820e34 /mail | |
parent | 4423caf7b5353246242622e591c7d3bde0477b0d (diff) | |
download | pkgsrc-826708f73d2e62ba36452098d4bf521a30370711.tar.gz |
use ${LDFLAGS} in AUXLIBS so the chosen libdb can be found at runtime.
fixes build on Solaris.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/postfix/Makefile | 4 | ||||
-rw-r--r-- | mail/postfix/options.mk | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/mail/postfix/Makefile b/mail/postfix/Makefile index aa0109dce7f..6b6b48e3f7f 100644 --- a/mail/postfix/Makefile +++ b/mail/postfix/Makefile @@ -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 @@ POSTFIX_QUEUE_DIR?= ${VARBASE}/spool/postfix # 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 --git a/mail/postfix/options.mk b/mail/postfix/options.mk index 2639aa27560..bed54e58799 100644 --- a/mail/postfix/options.mk +++ b/mail/postfix/options.mk @@ -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 @@ PKG_OPTIONS+= bdb # "hash" map type is mandatory .if !empty(PKG_OPTIONS:Mbdb) . include "../../mk/bdb.buildlink3.mk" CCARGS+= -DHAS_DB -AUXLIBS+= ${BUILDLINK_LDFLAGS.${BDB_TYPE}} ${BDB_LIBS} +AUXLIBS+= ${BDB_LIBS} .endif ### |