diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2011-04-04 16:47:00 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2011-04-04 16:47:00 +0000 |
commit | 1f360c67aac94590ef822b87730372e12d909263 (patch) | |
tree | 8e0edf2c5a90dcfa17da0b4c3e2a7becc5f8fc4c /sys-apps | |
parent | USE="static-libs" and punt useless libtool archive. (diff) | |
download | gentoo-2-1f360c67aac94590ef822b87730372e12d909263.tar.gz gentoo-2-1f360c67aac94590ef822b87730372e12d909263.tar.bz2 gentoo-2-1f360c67aac94590ef822b87730372e12d909263.zip |
USE="static-libs" and punt libtool archive if it's not set.
(Portage version: 2.2.0_alpha29/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/file/ChangeLog | 5 | ||||
-rw-r--r-- | sys-apps/file/file-5.05.ebuild | 7 |
2 files changed, 8 insertions, 4 deletions
diff --git a/sys-apps/file/ChangeLog b/sys-apps/file/ChangeLog index e50c226b5c39..7d9358bd9d07 100644 --- a/sys-apps/file/ChangeLog +++ b/sys-apps/file/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sys-apps/file # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/file/ChangeLog,v 1.193 2011/03/01 14:53:26 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/file/ChangeLog,v 1.194 2011/04/04 16:47:00 ssuominen Exp $ + + 04 Apr 2011; Samuli Suominen <ssuominen@gentoo.org> file-5.05.ebuild: + USE="static-libs" and punt libtool archive if it's not set. 01 Mar 2011; Jeroen Roovers <jer@gentoo.org> file-5.05.ebuild: Stable for HPPA (bug #355277). diff --git a/sys-apps/file/file-5.05.ebuild b/sys-apps/file/file-5.05.ebuild index 2df53eaee2f5..53916a9a57ab 100644 --- a/sys-apps/file/file-5.05.ebuild +++ b/sys-apps/file/file-5.05.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/file/file-5.05.ebuild,v 1.8 2011/03/01 14:53:26 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/file/file-5.05.ebuild,v 1.9 2011/04/04 16:47:00 ssuominen Exp $ PYTHON_DEPEND="python? *" SUPPORT_PYTHON_ABIS="1" @@ -16,7 +16,7 @@ SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz LICENSE="as-is" SLOT="0" KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd" -IUSE="python" +IUSE="python static-libs" PYTHON_MODNAME="magic.py" @@ -35,7 +35,7 @@ src_compile() { # file uses things like strndup() and wcwidth() append-flags -D_GNU_SOURCE - econf || die + econf $(use_enable static-libs static) emake || die use python && cd python && distutils_src_compile @@ -46,6 +46,7 @@ src_install() { dodoc ChangeLog MAINT README use python && cd python && distutils_src_install + use static-libs || rm -f "${D}"/usr/lib*/libmagic.la } pkg_postinst() { |