summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Tilley <lv@gentoo.org>2004-08-30 15:16:09 +0000
committerTravis Tilley <lv@gentoo.org>2004-08-30 15:16:09 +0000
commit6cd4701d0ac7bb1a48f2aa4a74f31375e8c591a6 (patch)
tree1a6aa481c4f3725e8076d5482a338bf8e1c3a26a /app-emulation/emul-linux-x86-glibc
parentInitial ebuild. Closes #57277. (diff)
downloadhistorical-6cd4701d0ac7bb1a48f2aa4a74f31375e8c591a6.tar.gz
historical-6cd4701d0ac7bb1a48f2aa4a74f31375e8c591a6.tar.bz2
historical-6cd4701d0ac7bb1a48f2aa4a74f31375e8c591a6.zip
fixed my "lib32 isnt a symlink" fix so that it actually works this time
Diffstat (limited to 'app-emulation/emul-linux-x86-glibc')
-rw-r--r--app-emulation/emul-linux-x86-glibc/ChangeLog5
-rw-r--r--app-emulation/emul-linux-x86-glibc/Manifest4
-rw-r--r--app-emulation/emul-linux-x86-glibc/emul-linux-x86-glibc-1.1.ebuild16
3 files changed, 21 insertions, 4 deletions
diff --git a/app-emulation/emul-linux-x86-glibc/ChangeLog b/app-emulation/emul-linux-x86-glibc/ChangeLog
index 904c7af17760..69e43f044ccd 100644
--- a/app-emulation/emul-linux-x86-glibc/ChangeLog
+++ b/app-emulation/emul-linux-x86-glibc/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for <CATEGORY>/<PACKAGE_NAME>
# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-glibc/ChangeLog,v 1.3 2004/08/29 03:45:50 lv Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-glibc/ChangeLog,v 1.4 2004/08/30 15:16:09 lv Exp $
+
+ 30 Aug 2004; Travis Tilley <lv@gentoo.org> emul-linux-x86-glibc-1.1.ebuild:
+ fixed my "lib32 isnt a symlink" fix so that it actually works this time
28 Aug 2004; Travis Tilley <lv@gentoo.org> emul-linux-x86-glibc-1.1.ebuild:
stable on amd64
diff --git a/app-emulation/emul-linux-x86-glibc/Manifest b/app-emulation/emul-linux-x86-glibc/Manifest
index b1db95194318..f2c49d2e819c 100644
--- a/app-emulation/emul-linux-x86-glibc/Manifest
+++ b/app-emulation/emul-linux-x86-glibc/Manifest
@@ -1,4 +1,4 @@
-MD5 c89c783e1448d48e11f70e42f392a361 emul-linux-x86-glibc-1.1.ebuild 1304
-MD5 76bcf870da22ccdf156d6f866a7e95a9 ChangeLog 944
+MD5 e714e90e6d6dee31c0889a93055dad90 emul-linux-x86-glibc-1.1.ebuild 1910
+MD5 11126b0df00f3d64c654af448eb7b373 ChangeLog 1097
MD5 3d107142a3ec13f947ea538fdfe0f517 metadata.xml 290
MD5 8dccc3aa6c05f10bd497c77ecae9f0f9 files/digest-emul-linux-x86-glibc-1.1 78
diff --git a/app-emulation/emul-linux-x86-glibc/emul-linux-x86-glibc-1.1.ebuild b/app-emulation/emul-linux-x86-glibc/emul-linux-x86-glibc-1.1.ebuild
index aae37dbc6a32..a0c4b84c1727 100644
--- a/app-emulation/emul-linux-x86-glibc/emul-linux-x86-glibc-1.1.ebuild
+++ b/app-emulation/emul-linux-x86-glibc/emul-linux-x86-glibc-1.1.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/app-emulation/emul-linux-x86-glibc/emul-linux-x86-glibc-1.1.ebuild,v 1.5 2004/08/30 15:01:28 lv Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-glibc/emul-linux-x86-glibc-1.1.ebuild,v 1.6 2004/08/30 15:16:09 lv Exp $
DESCRIPTION="GNU C Library for emulation of 32bit x86 on amd64"
HOMEPAGE="http://www.gentoo.org/"
@@ -46,3 +46,17 @@ run_verbose() {
$@ || die "unable to $@"
}
+pkg_postinst() {
+ # for some reason we have users with lib32 as a directory and not a symlink.
+ # my guess is a broken version of opengl-update somewhere... but since
+ # having lib32 as a directory is definately broken, lets fix that here.
+ if [ ! -L /usr/lib32 ] ; then
+ ewarn "/usr/lib32 is not a symlink... fixing"
+ run_verbose mv /usr/lib32 /usr/lib32-bork-bork-bork
+ run_verbose ln -sf /emul/linux/x86/usr/lib /usr/lib32
+ echo "moving /usr/lib32-bork-bork-bork/* to /usr/lib32/"
+ mv -v /usr/lib32-bork-bork-bork/* /usr/lib32/
+ run_verbose rm -rf /usr/lib32-bork-bork-bork
+ einfo "fixed!"
+ fi
+}