diff options
author | Martin Schlemmer <azarah@gentoo.org> | 2002-12-16 18:43:48 +0000 |
---|---|---|
committer | Martin Schlemmer <azarah@gentoo.org> | 2002-12-16 18:43:48 +0000 |
commit | 3fa104b9c1bd68d52c697eb44bfef876b2cf0cdc (patch) | |
tree | 0abc82d1058deba739ad396d79c7d19f69c0ab28 /sys-apps/baselayout | |
parent | symlink changes (diff) | |
download | gentoo-2-3fa104b9c1bd68d52c697eb44bfef876b2cf0cdc.tar.gz gentoo-2-3fa104b9c1bd68d52c697eb44bfef876b2cf0cdc.tar.bz2 gentoo-2-3fa104b9c1bd68d52c697eb44bfef876b2cf0cdc.zip |
fix /usr/lib/X11 symlink
Diffstat (limited to 'sys-apps/baselayout')
-rw-r--r-- | sys-apps/baselayout/ChangeLog | 7 | ||||
-rw-r--r-- | sys-apps/baselayout/baselayout-1.8.5.5.ebuild | 16 |
2 files changed, 17 insertions, 6 deletions
diff --git a/sys-apps/baselayout/ChangeLog b/sys-apps/baselayout/ChangeLog index 4388ddde30c2..052a702d6764 100644 --- a/sys-apps/baselayout/ChangeLog +++ b/sys-apps/baselayout/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-apps/baselayout # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout/ChangeLog,v 1.48 2002/12/10 20:10:24 seemant Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout/ChangeLog,v 1.49 2002/12/16 18:43:48 azarah Exp $ + + 16 Dec 2002; Martin Schlemmer <azarah@gentoo.org> baselayout-1.8.5.5.ebuild : + + Fix /usr/lib/X11 symlink. Change gawk module to compile if + /usr/include/awk/awk.h exists. *baselayout-1.8.5.5 (09 Dec 2002) diff --git a/sys-apps/baselayout/baselayout-1.8.5.5.ebuild b/sys-apps/baselayout/baselayout-1.8.5.5.ebuild index 42b9114fc519..02d5873344f2 100644 --- a/sys-apps/baselayout/baselayout-1.8.5.5.ebuild +++ b/sys-apps/baselayout/baselayout-1.8.5.5.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout/baselayout-1.8.5.5.ebuild,v 1.2 2002/12/10 20:10:24 seemant Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout/baselayout-1.8.5.5.ebuild,v 1.3 2002/12/16 18:43:48 azarah Exp $ IUSE="bootstrap build" @@ -110,7 +110,7 @@ src_compile() { einfo "Building sysvinit..." emake LDFLAGS="" || die "problem compiling sysvinit" - if [ -z "`use bootstrap`" ] + if [ -f /usr/include/awk/awk.h ] then # Build gawk module cd ${S}/src @@ -167,11 +167,11 @@ src_install() { keepdir /home keepdir /usr/include /usr/src /usr/portage - keepdir /usr/X11R6/include/{X11,GL} /usr/X11R6/lib/X11 + keepdir /usr/X11R6/include/{X11,GL} /usr/X11R6/lib dosym ../X11R6/include/X11 /usr/include/X11 dosym ../X11R6/include/GL /usr/include/GL - dosym ../X11R6/lib/X11 /usr/lib/X11 + dosym ../X11R6/lib /usr/lib/X11 #dosym ../src/linux/include/linux /usr/include/linux #dosym ../src/linux/include/asm-i386 /usr/include/asm @@ -404,6 +404,12 @@ pkg_preinst() { then rm -f ${ROOT}/etc/init.d/rc-help.sh fi + + # This one was borked, so make sure fixed one gets installed. + if [ -L ${ROOT}/usr/lib/X11 ] + then + rm -f ${ROOT}/usr/lib/X11 + fi } pkg_postinst() { @@ -537,6 +543,6 @@ pkg_postrm() { # Fix problematic links ln -snf ../X11R6/include/X11 ${ROOT}/usr/include/X11 ln -snf ../X11R6/include/GL ${ROOT}/usr/include/GL - ln -snf ../X11R6/lib/X11 ${ROOT}/usr/lib/X11 + ln -snf ../X11R6/lib ${ROOT}/usr/lib/X11 } |