diff options
author | Travis Tilley <lv@gentoo.org> | 2004-09-01 13:56:07 +0000 |
---|---|---|
committer | Travis Tilley <lv@gentoo.org> | 2004-09-01 13:56:07 +0000 |
commit | 0d2b339e462fbb7d62f9a79d5167c8d3eae7f446 (patch) | |
tree | 5c1597fabc1a49287572311cc8eacbcd9cce8798 /sys-libs | |
parent | Keyworded ~sparc (Manifest recommit) (diff) | |
download | gentoo-2-0d2b339e462fbb7d62f9a79d5167c8d3eae7f446.tar.gz gentoo-2-0d2b339e462fbb7d62f9a79d5167c8d3eae7f446.tar.bz2 gentoo-2-0d2b339e462fbb7d62f9a79d5167c8d3eae7f446.zip |
made slang use $(get_libdir) for cleanly installing to lib64/lib32
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/slang/ChangeLog | 6 | ||||
-rw-r--r-- | sys-libs/slang/slang-1.4.9-r1.ebuild | 8 | ||||
-rw-r--r-- | sys-libs/slang/slang-1.4.9.ebuild | 4 |
3 files changed, 11 insertions, 7 deletions
diff --git a/sys-libs/slang/ChangeLog b/sys-libs/slang/ChangeLog index 69b89b061c40..451700538e3f 100644 --- a/sys-libs/slang/ChangeLog +++ b/sys-libs/slang/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-libs/slang # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/slang/ChangeLog,v 1.27 2004/07/23 11:22:20 usata Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/slang/ChangeLog,v 1.28 2004/09/01 13:56:07 lv Exp $ + + 01 Sep 2004; Travis Tilley <lv@gentoo.org> slang-1.4.9-r1.ebuild, + slang-1.4.9.ebuild: + made slang use $(get_libdir) for cleanly installing to lib64/lib32 23 Jul 2004; Mamoru KOMACHI <usata@gentoo.org> slang-1.4.9.ebuild: Added to macos. diff --git a/sys-libs/slang/slang-1.4.9-r1.ebuild b/sys-libs/slang/slang-1.4.9-r1.ebuild index 7e9f1ee30a5a..9acefd2c27db 100644 --- a/sys-libs/slang/slang-1.4.9-r1.ebuild +++ b/sys-libs/slang/slang-1.4.9-r1.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/sys-libs/slang/slang-1.4.9-r1.ebuild,v 1.2 2004/06/24 23:09:42 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/slang/slang-1.4.9-r1.ebuild,v 1.3 2004/09/01 13:56:07 lv Exp $ inherit gcc eutils @@ -45,14 +45,14 @@ src_compile() { src_install() { make install install-elf DESTDIR=${D} || die "make install failed" - fperms 755 /usr/lib/libslang.so.* + fperms 755 /usr/$(get_libdir)/libslang.so.* if use unicode ; then - for i in ${D}/usr/lib/libslang-utf8* ; do + for i in ${D}/usr/$(get_libdir)/libslang-utf8* ; do local libslang=${i/${D}/} dosym ${libslang} ${libslang/-utf8/} done - dosym /usr/lib/libslang{-utf8,}.a + dosym /usr/$(get_libdir)/libslang{-utf8,}.a fi # remove the documentation... we want to install it ourselves diff --git a/sys-libs/slang/slang-1.4.9.ebuild b/sys-libs/slang/slang-1.4.9.ebuild index edf1c27cf144..bd2775f460f1 100644 --- a/sys-libs/slang/slang-1.4.9.ebuild +++ b/sys-libs/slang/slang-1.4.9.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/sys-libs/slang/slang-1.4.9.ebuild,v 1.20 2004/07/23 11:22:20 usata Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/slang/slang-1.4.9.ebuild,v 1.21 2004/09/01 13:56:07 lv Exp $ DESCRIPTION="Console display library used by most text viewer" HOMEPAGE="http://space.mit.edu/~davis/slang/" @@ -28,7 +28,7 @@ src_compile() { src_install() { make install install-elf DESTDIR=${D} || die "make install failed" - ( cd ${D}/usr/lib ; chmod 755 libslang.so.* ) + ( cd ${D}/usr/$(get_libdir) ; chmod 755 libslang.so.* ) # remove the documentation... we want to install it ourselves rm -rf ${D}/usr/doc dodoc NEWS README *.txt |