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 | e1a55ae9677d6800c5c617187b04d41f210b6e6f (patch) | |
tree | c4573203dc1ac0c2e8e286806bfd607f4996954b /app-emulation/emul-linux-x86-glibc/emul-linux-x86-glibc-1.1.ebuild | |
parent | Added "virtual/gnustep-back" for GNUstep gui backend support packages. (diff) | |
download | historical-e1a55ae9677d6800c5c617187b04d41f210b6e6f.tar.gz historical-e1a55ae9677d6800c5c617187b04d41f210b6e6f.tar.bz2 historical-e1a55ae9677d6800c5c617187b04d41f210b6e6f.zip |
stable on amd64
Diffstat (limited to 'app-emulation/emul-linux-x86-glibc/emul-linux-x86-glibc-1.1.ebuild')
-rw-r--r-- | app-emulation/emul-linux-x86-glibc/emul-linux-x86-glibc-1.1.ebuild | 23 |
1 files changed, 21 insertions, 2 deletions
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 +} |