diff options
author | Travis Tilley <lv@gentoo.org> | 2004-08-29 03:45:50 +0000 |
---|---|---|
committer | Travis Tilley <lv@gentoo.org> | 2004-08-29 03:45:50 +0000 |
commit | 49faaed57fbf41c6e90bba279b006f97b1f68a22 (patch) | |
tree | 338dc11604bab57709d841c059f141167f2f5fed /app-emulation/emul-linux-x86-glibc | |
parent | Added "virtual/gnustep-back" for GNUstep gui backend support packages. (diff) | |
download | gentoo-2-49faaed57fbf41c6e90bba279b006f97b1f68a22.tar.gz gentoo-2-49faaed57fbf41c6e90bba279b006f97b1f68a22.tar.bz2 gentoo-2-49faaed57fbf41c6e90bba279b006f97b1f68a22.zip |
stable on amd64
Diffstat (limited to 'app-emulation/emul-linux-x86-glibc')
-rw-r--r-- | app-emulation/emul-linux-x86-glibc/ChangeLog | 5 | ||||
-rw-r--r-- | app-emulation/emul-linux-x86-glibc/emul-linux-x86-glibc-1.1.ebuild | 23 |
2 files changed, 25 insertions, 3 deletions
diff --git a/app-emulation/emul-linux-x86-glibc/ChangeLog b/app-emulation/emul-linux-x86-glibc/ChangeLog index 124a81cc16d1..904c7af17760 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.2 2004/08/16 20:40:54 lv Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-glibc/ChangeLog,v 1.3 2004/08/29 03:45:50 lv Exp $ + + 28 Aug 2004; Travis Tilley <lv@gentoo.org> emul-linux-x86-glibc-1.1.ebuild: + stable on amd64 *emul-linux-x86-glibc-1.1 (16 Aug 2004) 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 29d3c3c4c181..f5e37affd56f 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.3 2004/08/22 20:41:42 lv Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-glibc/emul-linux-x86-glibc-1.1.ebuild,v 1.4 2004/08/29 03:45:50 lv Exp $ DESCRIPTION="GNU C Library for emulation of 32bit x86 on amd64" HOMEPAGE="http://www.gentoo.org/" @@ -8,7 +8,7 @@ SRC_URI="http://dev.gentoo.org/~lv/emul-linux-x86-glibc-${PV}.tar.bz2" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="amd64" IUSE="" DEPEND="virtual/libc @@ -40,3 +40,22 @@ LDPATH=/lib32:/usr/lib32:/emul/linux/x86/lib:/emul/linux/x86/usr/lib ENDOFENV chmod 644 ${D}/etc/env.d/40emul-linux-x86-glibc } + +run_verbose() { + echo "running $@" + $@ || 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 [ -d /usr/lib32 ] ; then + ewarn "/usr/lib32 is a directory and 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 + run_verbose mv -v /usr/lib32-bork-bork-bork/* /usr/lib32/ + run_verbose rm -rf /usr/lib32-bork-bork-bork + einfo "fixed!" + fi +} |