diff options
author | Tomas Chvatal <scarabeus@gentoo.org> | 2009-01-29 14:13:29 +0000 |
---|---|---|
committer | Tomas Chvatal <scarabeus@gentoo.org> | 2009-01-29 14:13:29 +0000 |
commit | 94672ac5153e63609562b1dd493e711e57c70c73 (patch) | |
tree | edf2a73ec356ba93b6654185ef23ac7e25f29b06 /media-libs/glpng | |
parent | Fix metadata.xml (diff) | |
download | gentoo-2-94672ac5153e63609562b1dd493e711e57c70c73.tar.gz gentoo-2-94672ac5153e63609562b1dd493e711e57c70c73.tar.bz2 gentoo-2-94672ac5153e63609562b1dd493e711e57c70c73.zip |
Fix libdir usage. Per bug #256791
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/glpng')
-rw-r--r-- | media-libs/glpng/ChangeLog | 7 | ||||
-rw-r--r-- | media-libs/glpng/glpng-1.45-r1.ebuild | 14 |
2 files changed, 16 insertions, 5 deletions
diff --git a/media-libs/glpng/ChangeLog b/media-libs/glpng/ChangeLog index 4f1fdc22364d..6e7a163c4899 100644 --- a/media-libs/glpng/ChangeLog +++ b/media-libs/glpng/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for media-libs/glpng -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/glpng/ChangeLog,v 1.3 2008/12/02 13:54:49 scarabeus Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/glpng/ChangeLog,v 1.4 2009/01/29 14:13:29 scarabeus Exp $ + + 29 Jan 2009; Tomas Chvatal <scarabeus@gentoo.org> glpng-1.45-r1.ebuild: + Fix libdir usage. Per bug #256791 *glpng-1.45-r1 (02 Dec 2008) diff --git a/media-libs/glpng/glpng-1.45-r1.ebuild b/media-libs/glpng/glpng-1.45-r1.ebuild index fc9851a3932f..7cdb95aa3827 100644 --- a/media-libs/glpng/glpng-1.45-r1.ebuild +++ b/media-libs/glpng/glpng-1.45-r1.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/glpng/glpng-1.45-r1.ebuild,v 1.2 2008/12/05 20:54:22 scarabeus Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/glpng/glpng-1.45-r1.ebuild,v 1.3 2009/01/29 14:13:29 scarabeus Exp $ -inherit cmake-utils +inherit cmake-utils multilib DESCRIPTION="An OpenGL png image library" HOMEPAGE="http://www.fifi.org/doc/libglpng-dev/glpng.html" @@ -18,3 +18,11 @@ RDEPEND="virtual/opengl sys-libs/zlib" DEPEND="${RDEPEND} >=dev-util/cmake-2.6.1" + +src_unpack() { + unpack ${A} + # fix libdir placement + sed -i \ + -e "s:CMAKE_INSTALL_LIBDIR lib:CMAKE_INSTALL_LIBDIR $(get_libdir):g"\ + "${S}"/CMakeLists.txt || die "sed failed" +} |