diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-04-01 22:04:23 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2012-04-01 22:04:23 +0000 |
commit | 4029cb8221c6cdddab2c84843a2883f9f320b2ff (patch) | |
tree | 5f9c227503949d1527945b6a66ea2b41f7605f34 /dev-libs/libcec | |
parent | Add support for ASFLAGS and add abi-specific flags argument to AS (diff) | |
download | gentoo-2-4029cb8221c6cdddab2c84843a2883f9f320b2ff.tar.gz gentoo-2-4029cb8221c6cdddab2c84843a2883f9f320b2ff.tar.bz2 gentoo-2-4029cb8221c6cdddab2c84843a2883f9f320b2ff.zip |
Add IUSE=static-libs, fix linux config checking to not die, drop incorrect depends, add missing pkg-config depend, and drop -fPIC hardcode.
(Portage version: 2.2.0_alpha95/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/libcec')
-rw-r--r-- | dev-libs/libcec/ChangeLog | 6 | ||||
-rw-r--r-- | dev-libs/libcec/libcec-1.5.2.ebuild | 34 |
2 files changed, 21 insertions, 19 deletions
diff --git a/dev-libs/libcec/ChangeLog b/dev-libs/libcec/ChangeLog index 033a5268d964..2731ff76c2ec 100644 --- a/dev-libs/libcec/ChangeLog +++ b/dev-libs/libcec/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-libs/libcec # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libcec/ChangeLog,v 1.1 2012/04/01 20:01:45 thev00d00 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libcec/ChangeLog,v 1.2 2012/04/01 22:04:23 vapier Exp $ + + 01 Apr 2012; Mike Frysinger <vapier@gentoo.org> libcec-1.5.2.ebuild: + Add IUSE=static-libs, fix linux config checking to not die, drop incorrect + depends, add missing pkg-config depend, and drop -fPIC hardcode. *libcec-1.5.2 (01 Apr 2012) diff --git a/dev-libs/libcec/libcec-1.5.2.ebuild b/dev-libs/libcec/libcec-1.5.2.ebuild index 09b0d6a8302d..ddb664c30da9 100644 --- a/dev-libs/libcec/libcec-1.5.2.ebuild +++ b/dev-libs/libcec/libcec-1.5.2.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libcec/libcec-1.5.2.ebuild,v 1.1 2012/04/01 20:01:45 thev00d00 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libcec/libcec-1.5.2.ebuild,v 1.2 2012/04/01 22:04:23 vapier Exp $ -EAPI=4 +EAPI="4" inherit autotools linux-info vcs-snapshot @@ -13,26 +13,24 @@ SRC_URI="http://github.com/Pulse-Eight/${PN}/tarball/${P} -> ${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="" +IUSE="static-libs" -DEPEND=">=sys-devel/autoconf-2.13 - >=sys-devel/automake-1.11 - sys-devel/libtool - " RDEPEND=">=sys-fs/udev-151" +DEPEND="${RDEPEND} + dev-util/pkgconfig" -pkg_setup() { - if linux_config_exists; then - if ! linux_chkconfig_present USB_ACM; then - ewarn "You should enable the USB_ACM support in your kernel." - ewarn "Check the 'USB Modem (CDC ACM) support' under the" - ewarn "'Device Drivers' and 'USB support' option. It is" - ewarn "marked as CONFIG_USB_ACM in the config" - die 'missing CONFIG_USB_ACM' - fi - fi -} +CONFIG_CHECK="~USB_ACM" src_prepare() { + sed -i '/^CXXFLAGS/s:-fPIC::' configure.ac || die eautoreconf } + +src_configure() { + econf $(use_enable static-libs static) +} + +src_install() { + default + use static-libs || find "${ED}" -name '*.la' -delete +} |