From 826708f73d2e62ba36452098d4bf521a30370711 Mon Sep 17 00:00:00 2001 From: grant Date: Sun, 31 Jul 2005 03:46:05 +0000 Subject: use ${LDFLAGS} in AUXLIBS so the chosen libdb can be found at runtime. fixes build on Solaris. --- mail/postfix/Makefile | 4 ++-- mail/postfix/options.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'mail/postfix') 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 ### -- cgit v1.2.3