summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-02-27 20:54:27 +0000
committerMike Frysinger <vapier@gentoo.org>2012-02-27 20:54:27 +0000
commit370e42324968c9f02bb8145619a39b9b16a0a104 (patch)
tree241043cef25a4baa10e1597805ea9daf9c522177 /sys-fs/e2fsprogs/e2fsprogs-1.42.ebuild
parentFix thinko in USE=static-libs handling #406079 by Andrew John Hughes. (diff)
downloadgentoo-2-370e42324968c9f02bb8145619a39b9b16a0a104.tar.gz
gentoo-2-370e42324968c9f02bb8145619a39b9b16a0a104.tar.bz2
gentoo-2-370e42324968c9f02bb8145619a39b9b16a0a104.zip
Fix thinko in USE=static-libs handling #406079 by Andrew John Hughes.
(Portage version: 2.2.0_alpha86/cvs/Linux x86_64)
Diffstat (limited to 'sys-fs/e2fsprogs/e2fsprogs-1.42.ebuild')
-rw-r--r--sys-fs/e2fsprogs/e2fsprogs-1.42.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys-fs/e2fsprogs/e2fsprogs-1.42.ebuild b/sys-fs/e2fsprogs/e2fsprogs-1.42.ebuild
index 9b1e717f9d4d..c8f8af9fd509 100644
--- a/sys-fs/e2fsprogs/e2fsprogs-1.42.ebuild
+++ b/sys-fs/e2fsprogs/e2fsprogs-1.42.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/e2fsprogs/e2fsprogs-1.42.ebuild,v 1.5 2012/02/22 18:40:56 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/e2fsprogs/e2fsprogs-1.42.ebuild,v 1.6 2012/02/27 20:54:27 vapier Exp $
case ${PV} in
*_pre*) UP_PV="${PV%_pre*}-WIP-${PV#*_pre}" ;;
@@ -137,7 +137,7 @@ src_install() {
# /usr/lib/, and install linker scripts to /usr/lib/.
gen_usr_ldscript -a e2p ext2fs
# configure doesn't have an option to disable static libs :/
- find "${D}" -name '*.a' -delete
+ use static-libs || find "${D}" -name '*.a' -delete
if use elibc_FreeBSD ; then
# Install helpers for us