summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEray Aslan <eras@gentoo.org>2012-10-12 19:32:11 +0000
committerEray Aslan <eras@gentoo.org>2012-10-12 19:32:11 +0000
commit34875f445c2fcba5c827fe80d3a9254e27f1aa22 (patch)
treed3c66770d9a484a9775f052979477f8070181dd1 /mail-mta/postfix/postfix-2.9.4.ebuild
parentStable for AMD64, wrt bug #436592 (diff)
downloadhistorical-34875f445c2fcba5c827fe80d3a9254e27f1aa22.tar.gz
historical-34875f445c2fcba5c827fe80d3a9254e27f1aa22.tar.bz2
historical-34875f445c2fcba5c827fe80d3a9254e27f1aa22.zip
Use system ar and ranlib - bug #438156
Package-Manager: portage-2.2.0_alpha136/cvs/Linux x86_64
Diffstat (limited to 'mail-mta/postfix/postfix-2.9.4.ebuild')
-rw-r--r--mail-mta/postfix/postfix-2.9.4.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/mail-mta/postfix/postfix-2.9.4.ebuild b/mail-mta/postfix/postfix-2.9.4.ebuild
index 232fe79d4b56..cc6d6ba44878 100644
--- a/mail-mta/postfix/postfix-2.9.4.ebuild
+++ b/mail-mta/postfix/postfix-2.9.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/postfix/postfix-2.9.4.ebuild,v 1.5 2012/10/12 19:04:30 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/postfix/postfix-2.9.4.ebuild,v 1.6 2012/10/12 19:31:58 eras Exp $
EAPI=4
@@ -20,7 +20,7 @@ SRC_URI="${MY_URI}/${MY_SRC}.tar.gz
LICENSE="IBM"
SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
IUSE="+berkdb cdb doc dovecot-sasl hardened ldap ldap-bind memcached mbox mysql nis pam postgres sasl selinux sqlite ssl vda"
DEPEND=">=dev-libs/libpcre-3.4
@@ -176,6 +176,8 @@ src_configure() {
# Remove annoying C++ comment style warnings - bug #378099
append-flags -Wno-comment
+ sed -i -e "/^RANLIB/s/ranlib/$(tc-getRANLIB)/g" "${S}"/makedefs
+ sed -i -e "/^AR/s/ar/$(tc-getAR)/g" "${S}"/makedefs
emake DEBUG="" CC="$(tc-getCC)" OPT="${CFLAGS}" CCARGS="${mycc}" AUXLIBS="${mylibs}" makefiles
}