summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Tilley <lv@gentoo.org>2004-08-11 00:57:28 +0000
committerTravis Tilley <lv@gentoo.org>2004-08-11 00:57:28 +0000
commit610ffa7e1c8a18dc36875ce58842ef3c5e936e33 (patch)
treee87e052fcff350608cc9e822893bdf4d221e96fa /sys-apps/attr
parentAdded 2.8.0-r3 to x86. Removed obsolete ebuild (2.8.0-r2). (Manifest recommit) (diff)
downloadgentoo-2-610ffa7e1c8a18dc36875ce58842ef3c5e936e33.tar.gz
gentoo-2-610ffa7e1c8a18dc36875ce58842ef3c5e936e33.tar.bz2
gentoo-2-610ffa7e1c8a18dc36875ce58842ef3c5e936e33.zip
made attr lib64 aware, yay
Diffstat (limited to 'sys-apps/attr')
-rw-r--r--sys-apps/attr/ChangeLog6
-rw-r--r--sys-apps/attr/attr-2.4.7-r1.ebuild16
-rw-r--r--sys-apps/attr/attr-2.4.8.ebuild16
3 files changed, 31 insertions, 7 deletions
diff --git a/sys-apps/attr/ChangeLog b/sys-apps/attr/ChangeLog
index 62eb7e95f17c..7721a76c66de 100644
--- a/sys-apps/attr/ChangeLog
+++ b/sys-apps/attr/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-apps/attr
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/attr/ChangeLog,v 1.36 2004/08/02 17:46:33 avenj Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/attr/ChangeLog,v 1.37 2004/08/11 00:57:28 lv Exp $
+
+ 10 Aug 2004; Travis Tilley <lv@gentoo.org> attr-2.4.7-r1.ebuild,
+ attr-2.4.8.ebuild:
+ made attr ebuild lib64 aware
02 Aug 2004; Jon Portnoy <avenj@gentoo.org> attr-2.4.7-r1.ebuild,
attr-2.4.8.ebuild :
diff --git a/sys-apps/attr/attr-2.4.7-r1.ebuild b/sys-apps/attr/attr-2.4.7-r1.ebuild
index b8823a1bc98f..7d6303f71b2b 100644
--- a/sys-apps/attr/attr-2.4.7-r1.ebuild
+++ b/sys-apps/attr/attr-2.4.7-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/attr/attr-2.4.7-r1.ebuild,v 1.25 2004/08/02 17:46:33 avenj Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/attr/attr-2.4.7-r1.ebuild,v 1.26 2004/08/11 00:57:28 lv Exp $
inherit eutils
@@ -62,6 +62,9 @@ src_compile() {
src_install() {
dodir /lib
dodir /usr/lib
+ use amd64 && (
+ dodir /lib64
+ dodir /usr/lib64 )
dodir /bin
dodir /usr/bin
@@ -73,7 +76,14 @@ src_install() {
prepalldocs
mv ${D}/usr/bin/* ${D}/bin
- mv ${D}/usr/lib/libattr.so* ${D}/lib
- dosym /lib/libattr.so /usr/lib/libattr.so
+ # this file might be in lib... with the amd64 lib64 migration it might be
+ # in lib64 too (maybe).
+ if [ -a ${D}/usr/lib64/libattr.so.? ] ; then
+ mv ${D}/usr/lib64/libattr.so* ${D}/lib64
+ dosym /lib64/libattr.so /usr/lib64/libattr.so
+ else
+ mv ${D}/usr/lib/libattr.so* ${D}/lib
+ dosym /lib/libattr.so /usr/lib/libattr.so
+ fi
}
diff --git a/sys-apps/attr/attr-2.4.8.ebuild b/sys-apps/attr/attr-2.4.8.ebuild
index 2a09f1e487d9..cca08d2b83d7 100644
--- a/sys-apps/attr/attr-2.4.8.ebuild
+++ b/sys-apps/attr/attr-2.4.8.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/attr/attr-2.4.8.ebuild,v 1.8 2004/08/02 17:46:33 avenj Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/attr/attr-2.4.8.ebuild,v 1.9 2004/08/11 00:57:28 lv Exp $
inherit eutils
@@ -57,6 +57,9 @@ src_compile() {
src_install() {
dodir /lib
dodir /usr/lib
+ use amd64 && (
+ dodir /lib64
+ dodir /usr/lib64 )
dodir /bin
dodir /usr/bin
@@ -68,7 +71,14 @@ src_install() {
prepalldocs
mv ${D}/usr/bin/* ${D}/bin
- mv ${D}/usr/lib/libattr.so* ${D}/lib
- dosym /lib/libattr.so /usr/lib/libattr.so
+ # this file might be in lib... with the amd64 lib64 migration it might be
+ # in lib64 too (maybe).
+ if [ -a ${D}/usr/lib64/libattr.so.? ] ; then
+ mv ${D}/usr/lib64/libattr.so* ${D}/lib64
+ dosym /lib64/libattr.so /usr/lib64/libattr.so
+ else
+ mv ${D}/usr/lib/libattr.so* ${D}/lib
+ dosym /lib/libattr.so /usr/lib/libattr.so
+ fi
}