summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2009-01-29 14:13:29 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2009-01-29 14:13:29 +0000
commit3b982dc4b9a9d5d7491fb397bbba1fd94cb76ef3 (patch)
treeff8b43309a15b9e16dd93f0900e095b86f22e9ff /media-libs/glpng
parentFix metadata.xml (diff)
downloadhistorical-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')
-rw-r--r--media-libs/glpng/ChangeLog7
-rw-r--r--media-libs/glpng/Manifest4
-rw-r--r--media-libs/glpng/glpng-1.45-r1.ebuild14
3 files changed, 18 insertions, 7 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/Manifest b/media-libs/glpng/Manifest
index bb18227da131..d9b06cbe1635 100644
--- a/media-libs/glpng/Manifest
+++ b/media-libs/glpng/Manifest
@@ -1,4 +1,4 @@
DIST glpng-1.45.tar.bz2 64426 RMD160 994ffa788e3a7ebc314c56160c36496e39a12958 SHA1 7644769957d597032480e2d70d39f44b26c2b512 SHA256 a002aa60f460b0f363267d10c79c730b9dba4c834d0ee43eac15460c2e05f2e8
-EBUILD glpng-1.45-r1.ebuild 579 RMD160 2928fab5345f53ac6c282c76f4febe6382201c79 SHA1 2f24abd5d2c90dffe8c2d6eba4e39e6e2ef1c8a1 SHA256 69906ba6f722180727fbc87178ec89cd9bd97fbcbb4d32328b4369e93011a530
-MISC ChangeLog 915 RMD160 2cc0b3c56c18af4357ac88201b288a19b5842e66 SHA1 b5e8b3c675eb7ed6ad209a8d1af7e7d2912d7bac SHA256 f69e79f6d9ef83f61a1fd87cc788a699ba194cd867707eeba36c67ff283c26e1
+EBUILD glpng-1.45-r1.ebuild 769 RMD160 63f98e145dfed70d4c65acee666af9b0ff3b8bf6 SHA1 dcd9e3d97e398d4395653ff0e670a375fae994ab SHA256 af1a457917865378f734abd486c1993fa13de355d6eef7c73f06dadbe7cde47e
+MISC ChangeLog 1026 RMD160 e0e6a2ea59760c2e520bd1f3610690ba51a42f67 SHA1 23dd09947b9dcb4fe2cb747582702d8c7e93717f SHA256 cc47879ad50e69db16512655721b315ce8328d8a82fbb213d8e93df935e0f96d
MISC metadata.xml 250 RMD160 174bcaa9210d4faefadfb58326df11c787a891ae SHA1 60322be503647adecc133838c3dfef2d1ee169da SHA256 1e21cdb93854b93981b9e2baff7d029e35c4be1a21dc351085d9f51a877fdc9d
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"
+}