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 | 3b982dc4b9a9d5d7491fb397bbba1fd94cb76ef3 (patch) | |
tree | ff8b43309a15b9e16dd93f0900e095b86f22e9ff /media-libs/glpng/glpng-1.45-r1.ebuild | |
parent | Fix metadata.xml (diff) | |
download | historical-3b982dc4b9a9d5d7491fb397bbba1fd94cb76ef3.tar.gz historical-3b982dc4b9a9d5d7491fb397bbba1fd94cb76ef3.tar.bz2 historical-3b982dc4b9a9d5d7491fb397bbba1fd94cb76ef3.zip |
Fix libdir usage. Per bug #256791
Package-Manager: portage-2.2_rc23/cvs/Linux x86_64
Diffstat (limited to 'media-libs/glpng/glpng-1.45-r1.ebuild')
-rw-r--r-- | media-libs/glpng/glpng-1.45-r1.ebuild | 14 |
1 files changed, 11 insertions, 3 deletions
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" +} |