diff options
author | 2003-10-13 06:10:59 +0000 | |
---|---|---|
committer | 2003-10-13 06:10:59 +0000 | |
commit | ff50a707200f90a0ea45da6360fb5dcfa29c3f5c (patch) | |
tree | 8d836c84fe99aef5488547822bececc9534a878f /dev-lisp/sbcl | |
parent | version bump (diff) | |
download | gentoo-2-ff50a707200f90a0ea45da6360fb5dcfa29c3f5c.tar.gz gentoo-2-ff50a707200f90a0ea45da6360fb5dcfa29c3f5c.tar.bz2 gentoo-2-ff50a707200f90a0ea45da6360fb5dcfa29c3f5c.zip |
timestamp fixes and workarounds
Diffstat (limited to 'dev-lisp/sbcl')
-rw-r--r-- | dev-lisp/sbcl/ChangeLog | 5 | ||||
-rw-r--r-- | dev-lisp/sbcl/Manifest | 4 | ||||
-rw-r--r-- | dev-lisp/sbcl/sbcl-0.8.4-r2.ebuild | 38 |
3 files changed, 27 insertions, 20 deletions
diff --git a/dev-lisp/sbcl/ChangeLog b/dev-lisp/sbcl/ChangeLog index f7986f714141..13761a29fe8b 100644 --- a/dev-lisp/sbcl/ChangeLog +++ b/dev-lisp/sbcl/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-lisp/sbcl # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lisp/sbcl/ChangeLog,v 1.18 2003/10/12 04:53:53 mkennedy Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/sbcl/ChangeLog,v 1.19 2003/10/13 06:10:56 mkennedy Exp $ + + 13 Oct 2003; Matthew Kennedy <mkennedy@gentoo.org> sbcl-0.8.4-r2.ebuild: + this commit fixes more timestamp problems 11 Oct 2003; Matthew Kennedy <mkennedy@gentoo.org> sbcl-0.8.4-r2.ebuild: move cleanup code to postrm diff --git a/dev-lisp/sbcl/Manifest b/dev-lisp/sbcl/Manifest index 1af1833ae58d..6c33bbff5bca 100644 --- a/dev-lisp/sbcl/Manifest +++ b/dev-lisp/sbcl/Manifest @@ -1,4 +1,4 @@ -MD5 da4a4f151579c43ba04b68eef60ba6cd ChangeLog 3573 +MD5 9da0844174b6ce46da3ddaff3191af92 ChangeLog 3693 MD5 f67859fbfee204bba3ee73ee8abe994a sbcl-0.6.12.ebuild 1053 MD5 a6e113337aada357e7aa8b93dce9c82a sbcl-0.7.5.ebuild 1372 MD5 215c765767ee81f9cbae0696e4fc0c53 sbcl-0.7.6-r1.ebuild 1482 @@ -7,7 +7,7 @@ MD5 6c9f9c96627678efaa377d40692ea969 sbcl-0.8.1.ebuild 1534 MD5 30af45636c7e7d046f5ad5a732473742 sbcl-0.8.3.68.ebuild 2545 MD5 d913694a716b741d4edb240f3d8049b3 sbcl-0.8.3.ebuild 2562 MD5 2842b64ad2353ca9b97ab1563ddb1e35 sbcl-0.8.4-r1.ebuild 3569 -MD5 9aec9bc099d5d62017830f0cf5fc4b6c sbcl-0.8.4-r2.ebuild 3929 +MD5 ff046bb54c6ac396ce7919759cc1aa9d sbcl-0.8.4-r2.ebuild 3892 MD5 c4fad0c97a08164fd44dea56a258a475 sbcl-0.8.4.ebuild 2560 MD5 36e1837606337c53dc21111b18146143 files/digest-sbcl-0.6.12 150 MD5 61c9382b669d5b190b434be62664253e files/digest-sbcl-0.7.5 219 diff --git a/dev-lisp/sbcl/sbcl-0.8.4-r2.ebuild b/dev-lisp/sbcl/sbcl-0.8.4-r2.ebuild index f0ed1160118b..27129047eb7a 100644 --- a/dev-lisp/sbcl/sbcl-0.8.4-r2.ebuild +++ b/dev-lisp/sbcl/sbcl-0.8.4-r2.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lisp/sbcl/sbcl-0.8.4-r2.ebuild,v 1.3 2003/10/12 04:53:53 mkennedy Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/sbcl/sbcl-0.8.4-r2.ebuild,v 1.4 2003/10/13 06:10:56 mkennedy Exp $ + +inherit common-lisp-common DESCRIPTION="Steel Bank Common Lisp (SBCL) is a Open Source development system for ANSI Common Lisp. It provides an interactive environment including an integrated native compiler, interpreter, and debugger. (And it, and its generated code, can also play nicely with Unix when running noninteractively.)" HOMEPAGE="http://sbcl.sourceforge.net/" @@ -70,6 +72,7 @@ src_install() { doexe ${FILESDIR}/sbcl.sh INSTALL_ROOT=${D}/usr sh install.sh + dosym /usr/lib/sbcl/asdf-install/asdf-install /usr/bin/sbcl-asdf-install mv ${D}/usr/lib/sbcl/sbcl.core ${D}/usr/lib/sbcl/sbcl-dist.core insinto /usr/lib/sbcl @@ -80,24 +83,25 @@ src_install() { doman debian/sbcl-asdf-install.1 use doc && dohtml doc/html/* - dodoc BUGS COPYING CREDITS INSTALL NEWS OPTIMIZATIONS PRINCIPLES README STYLE TLA TODO \ - debian/README.Debian debian/changelog debian/copyright + dodoc BUGS COPYING CREDITS INSTALL NEWS OPTIMIZATIONS PRINCIPLES README STYLE TLA TODO + + do-debian-credits + + find ${D} -type f -name .cvsignore -exec rm -f '{}' \; + find ${D} -type f -name \*.c -exec chmod 644 '{}' \; + + # Since the Portage emerge step kills file timestamp information, + # we need to compensate by ensuring all .fasl files are more recent + # than their .lisp source. - find ${D} -type f -name .cvsignore |xargs rm -f + dodir /usr/share/sbcl + tar cpvzf ${D}/usr/share/sbcl/portage-timestamp-compensate -C ${D}/usr/lib/sbcl . } pkg_postinst() { - einfo ">>> Fixing permissions for executables and directories..." - find /usr/share/common-lisp/source -type d -o \( -type f -perm +111 \) |xargs chmod 755 - einfo ">>> fix permissions for non-executable files..." - find /usr/share/common-lisp/source -type f ! -perm -111 |xargs chmod 644 - # force recompile - rm -rf /usr/lib/common-lisp/sbcl/ - # since the Portage emerge step kills file timestamp information, - # we need to compensate by ensuring all fasl files are more recent - # than their source. - sleep 5 && \ - find /usr/lib/sbcl -type f -name \*.fasl |xargs touch + tar xvpzf /usr/share/sbcl/portage-timestamp-compensate -C /usr/lib/sbcl + rm -rf /usr/lib/common-lisp/sbcl/* + /usr/bin/clc-autobuild-impl sbcl yes /usr/sbin/register-common-lisp-implementation sbcl } @@ -106,8 +110,8 @@ pkg_prerm() { } pkg_postrm() { - # since we modified the .fasl files in postinst, we must manually - # remove them here + # Since we keep our own time stamps we must manually remove them + # here. if [ ! -x /usr/bin/sbcl ]; then rm -rf /usr/lib/sbcl fi |