diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-11-05 20:03:55 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2012-11-05 20:03:55 +0000 |
commit | 6994c0b841a736da992ac9f157f723c2e6aa5d2c (patch) | |
tree | a37e9933eaef60b583aa6b9027730101264d4e23 /dev-util/dialog | |
parent | stable ppc ppc64, bug #441490 (diff) | |
download | gentoo-2-6994c0b841a736da992ac9f157f723c2e6aa5d2c.tar.gz gentoo-2-6994c0b841a736da992ac9f157f723c2e6aa5d2c.tar.bz2 gentoo-2-6994c0b841a736da992ac9f157f723c2e6aa5d2c.zip |
Do not compile static objects when USE=static-libs #396193 by Agostino Sarubbo.
(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key FB7C4156)
Diffstat (limited to 'dev-util/dialog')
-rw-r--r-- | dev-util/dialog/ChangeLog | 6 | ||||
-rw-r--r-- | dev-util/dialog/dialog-1.1.20120706.ebuild | 14 |
2 files changed, 11 insertions, 9 deletions
diff --git a/dev-util/dialog/ChangeLog b/dev-util/dialog/ChangeLog index f3cc090e8b84..c3d1ae555157 100644 --- a/dev-util/dialog/ChangeLog +++ b/dev-util/dialog/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-util/dialog # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/dialog/ChangeLog,v 1.166 2012/11/05 19:39:41 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/dialog/ChangeLog,v 1.167 2012/11/05 20:03:55 vapier Exp $ + + 05 Nov 2012; Mike Frysinger <vapier@gentoo.org> dialog-1.1.20120706.ebuild: + Do not compile static objects when USE=static-libs #396193 by Agostino + Sarubbo. 05 Nov 2012; Mike Frysinger <vapier@gentoo.org> dialog-1.1.20120706.ebuild: Drop bash from RDEPEND since it does not require it. diff --git a/dev-util/dialog/dialog-1.1.20120706.ebuild b/dev-util/dialog/dialog-1.1.20120706.ebuild index fde0a5e50835..43d843f1ba85 100644 --- a/dev-util/dialog/dialog-1.1.20120706.ebuild +++ b/dev-util/dialog/dialog-1.1.20120706.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/dialog/dialog-1.1.20120706.ebuild,v 1.6 2012/11/05 19:39:41 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/dialog/dialog-1.1.20120706.ebuild,v 1.7 2012/11/05 20:03:55 vapier Exp $ EAPI="4" -inherit multilib +inherit multilib eutils MY_PV="${PV/1.1./1.1-}" S=${WORKDIR}/${PN}-${MY_PV} @@ -30,16 +30,16 @@ DEPEND=" src_prepare() { sed -i configure -e '/LIB_CREATE=/s:${CC}:& ${LDFLAGS}:g' || die + sed -i '/$(LIBTOOL_COMPILE)/s:$: $(LIBTOOL_OPTS):' makefile.in || die } src_configure() { - local ncursesw - use unicode && ncursesw="w" econf \ --disable-rpath-hack \ $(use_enable nls) \ $(use_with !minimal libtool) \ - --with-ncurses${ncursesw} + --with-libtool-opts=$(usex static-libs '' '-shared') \ + --with-ncurses$(usex unicode w '') } src_install() { @@ -61,8 +61,6 @@ src_install() { fi if ! use static-libs; then - rm -f \ - "${D}"usr/$(get_libdir)/libdialog.a \ - "${D}"usr/$(get_libdir)/libdialog.la + rm -f "${ED}"usr/$(get_libdir)/libdialog.{la,a} fi } |