diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2010-09-20 20:01:35 +0000 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2010-09-20 20:01:35 +0000 |
commit | 8f26bfab8d788ba347cde048fa2ea7f64f8d3ea0 (patch) | |
tree | c090a69545e20670c4e96692b83ab7969ef992fa | |
parent | Version bump. Set SUPPORT_PYTHON_ABIS. (diff) | |
download | gentoo-2-8f26bfab8d788ba347cde048fa2ea7f64f8d3ea0.tar.gz gentoo-2-8f26bfab8d788ba347cde048fa2ea7f64f8d3ea0.tar.bz2 gentoo-2-8f26bfab8d788ba347cde048fa2ea7f64f8d3ea0.zip |
Added hack to get --as-needed really working.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
-rw-r--r-- | media-gfx/argyllcms/ChangeLog | 8 | ||||
-rw-r--r-- | media-gfx/argyllcms/argyllcms-1.3.0.ebuild | 7 |
2 files changed, 13 insertions, 2 deletions
diff --git a/media-gfx/argyllcms/ChangeLog b/media-gfx/argyllcms/ChangeLog index c55a03f47b19..dcf3924713d4 100644 --- a/media-gfx/argyllcms/ChangeLog +++ b/media-gfx/argyllcms/ChangeLog @@ -1,6 +1,12 @@ # 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.2 2010/09/20 17:53:09 dilfridge Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/argyllcms/ChangeLog,v 1.3 2010/09/20 20:01:35 dilfridge Exp $ + + 20 Sep 2010; Andreas K. Huettel <dilfridge@gentoo.org> + argyllcms-1.3.0.ebuild: + Now really fixed --as-needed. The build system unfortunately lists all the + shared libraries by default on the command line _before_ the object to be + built... 20 Sep 2010; Andreas K. Huettel <dilfridge@gentoo.org> argyllcms-1.3.0.ebuild: diff --git a/media-gfx/argyllcms/argyllcms-1.3.0.ebuild b/media-gfx/argyllcms/argyllcms-1.3.0.ebuild index cf1ba3a1ce5b..fd98788bb557 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.2 2010/09/20 17:53:09 dilfridge Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/argyllcms/argyllcms-1.3.0.ebuild,v 1.3 2010/09/20 20:01:35 dilfridge Exp $ MY_P="Argyll_V${PV}" DESCRIPTION="Open source, ICC compatible color management system" @@ -30,8 +30,13 @@ DEPEND="${RDEPEND} S="${WORKDIR}/${MY_P}" src_compile() { + # Make it respect LDFLAGS echo "LINKFLAGS += ${LDFLAGS} ;" >> Jamtop + # Evil hack to get --as-needed working. The build system unfortunately lists all + # the shared libraries by default on the command line _before_ the object to be built... + echo "STDLIBS += -ldl -lrt -lX11 -lXext -lXxf86vm -lXinerama -lXrandr -lXau -lXdmcp -lXss -ltiff ;" >> Jamtop + local jobnumber=$(echo "${MAKEOPTS}" | sed -ne "/-j/ { s/.*\(-j[[:space:]]*[0-9]\+\).*/\1/; p }") [ ${jobnumber} ] || jobnumber=-j1 |