summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-11-29 03:53:41 +0000
committerMike Frysinger <vapier@gentoo.org>2005-11-29 03:53:41 +0000
commitfba308206a6768b74e5cfbb9ed98b1c2743a5d29 (patch)
tree90553208a9ad1f4d09bdaf7b833b592d67312693
parentAdded ~sparc keyword. (diff)
downloadgentoo-2-fba308206a6768b74e5cfbb9ed98b1c2743a5d29.tar.gz
gentoo-2-fba308206a6768b74e5cfbb9ed98b1c2743a5d29.tar.bz2
gentoo-2-fba308206a6768b74e5cfbb9ed98b1c2743a5d29.zip
touchup build so we dont install .a/.la files to /lib
(Portage version: 2.0.53_rc7)
-rw-r--r--sys-fs/reiser4progs/reiser4progs-1.0.5.ebuild19
-rw-r--r--sys-libs/libaal/libaal-1.0.5.ebuild26
2 files changed, 18 insertions, 27 deletions
diff --git a/sys-fs/reiser4progs/reiser4progs-1.0.5.ebuild b/sys-fs/reiser4progs/reiser4progs-1.0.5.ebuild
index 389489561d97..0de3cc9973b1 100644
--- a/sys-fs/reiser4progs/reiser4progs-1.0.5.ebuild
+++ b/sys-fs/reiser4progs/reiser4progs-1.0.5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/reiser4progs/reiser4progs-1.0.5.ebuild,v 1.3 2005/10/16 02:50:10 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/reiser4progs/reiser4progs-1.0.5.ebuild,v 1.4 2005/11/29 03:53:41 vapier Exp $
inherit eutils
@@ -25,8 +25,8 @@ src_unpack() {
# bundled libtool sucks, so rebuild autotools #74817
aclocal && libtoolize -c -f && autoconf && automake || die "autotools failed"
cat <<-EOF > run-ldconfig
- #!/bin/sh
- true
+ #!/bin/sh
+ true
EOF
}
@@ -43,7 +43,6 @@ src_compile() {
$(use_with readline) \
--enable-libminimal \
--sbindir=/sbin \
- --libdir=/$(get_libdir) \
|| die "configure failed"
emake || die "make failed"
}
@@ -54,12 +53,8 @@ src_install() {
#resizefs binary doesnt exist in this release
rm -f "${D}"/usr/share/man/man8/resizefs*
- # move stupid .a out of root
- dodir /usr/$(get_libdir)
- local l=""
- for l in libreiser4-minimal libreiser4 librepair ; do
- mv "${D}"/$(get_libdir)/${l}.{a,la} "${D}"/usr/$(get_libdir)/
- dosym ../usr/lib/${l}.a /lib/${l}.a
- gen_usr_ldscript ${l}.so
- done
+ # move shared libs to /
+ dodir /$(get_libdir)
+ mv "${D}"/usr/$(get_libdir)/lib*.so* "${D}"/$(get_libdir)/ || die
+ gen_usr_ldscript libreiser4-minimal.so libreiser4.so librepair.so
}
diff --git a/sys-libs/libaal/libaal-1.0.5.ebuild b/sys-libs/libaal/libaal-1.0.5.ebuild
index a73cf6eda25a..691d96a987cf 100644
--- a/sys-libs/libaal/libaal-1.0.5.ebuild
+++ b/sys-libs/libaal/libaal-1.0.5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libaal/libaal-1.0.5.ebuild,v 1.2 2005/10/16 02:49:21 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libaal/libaal-1.0.5.ebuild,v 1.3 2005/11/29 03:53:35 vapier Exp $
inherit eutils
@@ -23,30 +23,26 @@ src_unpack() {
-e "/GENERIC_CFLAGS/s:-O3::" \
-e "/^CFLAGS=/s:\"\":\"${CFLAGS}\":" \
configure || die "sed"
- cat << EOF > run-ldconfig
-#!/bin/sh
-true
-EOF
+ cat <<-EOF > run-ldconfig
+ #!/bin/sh
+ true
+ EOF
}
src_compile() {
econf \
--enable-libminimal \
--enable-memory-manager \
- --libdir=/$(get_libdir) || die "configure failed"
+ || die "configure failed"
emake || die "make failed"
}
src_install() {
- make DESTDIR=${D} install || die
+ make DESTDIR="${D}" install || die
dodoc AUTHORS BUGS CREDITS ChangeLog NEWS README THANKS TODO
- # move silly .a libs out of /
- dodir /usr/$(get_libdir)
- local l=""
- for l in libaal libaal-minimal ; do
- mv ${D}/$(get_libdir)/${l}.{a,la} ${D}/usr/$(get_libdir)/
- dosym /usr/$(get_libdir)/${l}.a /$(get_libdir)/${l}.a
- gen_usr_ldscript ${l}.so
- done
+ # move shared libs to /
+ dodir /$(get_libdir)
+ mv "${D}"/usr/$(get_libdir)/lib*.so* "${D}"/$(get_libdir)/ || die
+ gen_usr_ldscript libaal.so libaal-minimal.so
}