diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2010-09-20 17:53:09 +0000 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2010-09-20 17:53:09 +0000 |
commit | 3b4fb2e5dd970e2231d2337254b30d6653e5feda (patch) | |
tree | 1e50f54be5d43f205e7b51b2be08fca878e2f462 /media-gfx | |
parent | arm/ia64/sh/sparc stable (diff) | |
download | gentoo-2-3b4fb2e5dd970e2231d2337254b30d6653e5feda.tar.gz gentoo-2-3b4fb2e5dd970e2231d2337254b30d6653e5feda.tar.bz2 gentoo-2-3b4fb2e5dd970e2231d2337254b30d6653e5feda.zip |
Fixed the build system to honour the MAKEOPTS job number, fixed forced --as-needed issue (bug 338155).
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/argyllcms/ChangeLog | 7 | ||||
-rw-r--r-- | media-gfx/argyllcms/argyllcms-1.3.0.ebuild | 10 |
2 files changed, 13 insertions, 4 deletions
diff --git a/media-gfx/argyllcms/ChangeLog b/media-gfx/argyllcms/ChangeLog index df8dbcf7145b..c55a03f47b19 100644 --- a/media-gfx/argyllcms/ChangeLog +++ b/media-gfx/argyllcms/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-gfx/argyllcms # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/argyllcms/ChangeLog,v 1.1 2010/09/17 22:06:06 dilfridge Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/argyllcms/ChangeLog,v 1.2 2010/09/20 17:53:09 dilfridge Exp $ + + 20 Sep 2010; Andreas K. Huettel <dilfridge@gentoo.org> + argyllcms-1.3.0.ebuild: + Fixed the build system to honour the MAKEOPTS job number, fixed forced + --as-needed issue (bug 338155). 17 Sep 2010; Andreas K. Huettel <dilfridge@gentoo.org> Imported from sunrise overlay, fixes bug 125774. diff --git a/media-gfx/argyllcms/argyllcms-1.3.0.ebuild b/media-gfx/argyllcms/argyllcms-1.3.0.ebuild index fa8319784e8d..cf1ba3a1ce5b 100644 --- a/media-gfx/argyllcms/argyllcms-1.3.0.ebuild +++ b/media-gfx/argyllcms/argyllcms-1.3.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/argyllcms/argyllcms-1.3.0.ebuild,v 1.1 2010/09/17 22:06:06 dilfridge Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/argyllcms/argyllcms-1.3.0.ebuild,v 1.2 2010/09/20 17:53:09 dilfridge Exp $ MY_P="Argyll_V${PV}" DESCRIPTION="Open source, ICC compatible color management system" @@ -31,11 +31,15 @@ S="${WORKDIR}/${MY_P}" src_compile() { echo "LINKFLAGS += ${LDFLAGS} ;" >> Jamtop - emake || die "emake failed" + + local jobnumber=$(echo "${MAKEOPTS}" | sed -ne "/-j/ { s/.*\(-j[[:space:]]*[0-9]\+\).*/\1/; p }") + [ ${jobnumber} ] || jobnumber=-j1 + + jam -q -fJambase ${jobnumber} || die } src_install() { - emake install || die + jam -q -fJambase install || die rm bin/License.txt || die dobin bin/* || die |