summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mail-mta/postfix/postfix-2.4.1.ebuild')
-rw-r--r--mail-mta/postfix/postfix-2.4.1.ebuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/mail-mta/postfix/postfix-2.4.1.ebuild b/mail-mta/postfix/postfix-2.4.1.ebuild
index 457d0b43152a..da50baa6b885 100644
--- a/mail-mta/postfix/postfix-2.4.1.ebuild
+++ b/mail-mta/postfix/postfix-2.4.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/postfix/postfix-2.4.1.ebuild,v 1.1 2007/05/01 16:00:34 chtekk Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/postfix/postfix-2.4.1.ebuild,v 1.2 2007/10/21 11:15:08 solar Exp $
# NOTE: this ebuild is a regular ebuild without mailer-config support!
# Comment lines below "regular ebuild" and uncomment lines below "mailer-config support"
@@ -169,7 +169,8 @@ src_compile() {
# Added -Wl,-z,now wrt bug #62674
# Remove -ldl as it is not necessary, solves bug #106446
# -Wl,-z,now replaced by $(bindnow-flags)
- local mycc="-DHAS_PCRE" mylibs="$(bindnow-flags) -L/usr/$(get_libdir) -lpcre -lcrypt -lpthread"
+ # make sure LDFLAGS get passed down to the executables.
+ local mycc="-DHAS_PCRE" mylibs="$(bindnow-flags) ${LDFLAGS} -lpcre -lcrypt -lpthread"
use pam && mylibs="${mylibs} -lpam"