From bb5a3eb49430c61bae937ebaeede7bf40ea4c240 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Sun, 9 Dec 2012 16:16:36 +0000 Subject: respect CC and RANLIB wrt #446598 and #446600 (Portage version: 2.2.0_alpha144/cvs/Linux x86_64, signed Manifest commit with key E73C35B3) --- media-libs/nas/ChangeLog | 5 ++++- media-libs/nas/nas-1.9.3.ebuild | 38 +++++++++++++++++++++++--------------- 2 files changed, 27 insertions(+), 16 deletions(-) (limited to 'media-libs') diff --git a/media-libs/nas/ChangeLog b/media-libs/nas/ChangeLog index 1871d9574321..1c2b65ff63d3 100644 --- a/media-libs/nas/ChangeLog +++ b/media-libs/nas/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for media-libs/nas # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/nas/ChangeLog,v 1.75 2012/12/03 23:14:19 ulm Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/nas/ChangeLog,v 1.76 2012/12/09 16:16:36 hasufell Exp $ + + 09 Dec 2012; Julian Ospald nas-1.9.3.ebuild: + respect CC and RANLIB wrt #446598 and #446600 03 Dec 2012; Ulrich Müller nas-1.9.2.ebuild, nas-1.9.2-r1.ebuild, nas-1.9.3.ebuild: diff --git a/media-libs/nas/nas-1.9.3.ebuild b/media-libs/nas/nas-1.9.3.ebuild index 6dbed5bce1d8..b7b2f799ecb7 100644 --- a/media-libs/nas/nas-1.9.3.ebuild +++ b/media-libs/nas/nas-1.9.3.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/media-libs/nas/nas-1.9.3.ebuild,v 1.2 2012/12/03 23:14:19 ulm Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/nas/nas-1.9.3.ebuild,v 1.3 2012/12/09 16:16:36 hasufell Exp $ inherit eutils toolchain-funcs @@ -41,23 +41,31 @@ src_compile() { # touch doc/man/lib/tmp.{_man,man} # EXTRA_LDOPTIONS, SHLIBGLOBALSFLAGS #336564#c2 - emake \ - AR="$(tc-getAR) clq" \ - AS="$(tc-getAS)" \ - CC="$(tc-getCC)" \ - CDEBUGFLAGS="${CFLAGS}" \ - CXX="$(tc-getCXX)" \ - CXXDEBUFLAGS="${CXXFLAGS}" \ - EXTRA_LDOPTIONS="${LDFLAGS}" \ - LD="$(tc-getLD)" \ - MAKE="${MAKE:-gmake}" \ - RANLIB="$(tc-getRANLIB)" \ - SHLIBGLOBALSFLAGS="${LDFLAGS}" \ - World || die + local emakeopts=( + AR="$(tc-getAR) clq" + AS="$(tc-getAS)" + CC="$(tc-getCC)" + CDEBUGFLAGS="${CFLAGS}" + CXX="$(tc-getCXX)" + CXXDEBUFLAGS="${CXXFLAGS}" + EXTRA_LDOPTIONS="${LDFLAGS}" + LD="$(tc-getLD)" + MAKE="${MAKE:-gmake}" + RANLIB="$(tc-getRANLIB)" + SHLIBGLOBALSFLAGS="${LDFLAGS}" + ) + + # dumb fix for parallel make issue wrt #446598, Imake sux + emake "${emakeopts[@]}" -C server/dia all || die + emake "${emakeopts[@]}" -C server/dda/voxware all || die + emake "${emakeopts[@]}" -C server/os all || die + + emake "${emakeopts[@]}" World || die } src_install() { - emake DESTDIR="${D}" install install.man || die + # ranlib is used at install phase too wrt #446600 + emake RANLIB="$(tc-getRANLIB)" DESTDIR="${D}" install install.man || die dodoc BUILDNOTES FAQ HISTORY README RELEASE TODO if use doc; then -- cgit v1.2.3-65-gdbad