summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-03-09 03:48:22 +0000
committerMike Frysinger <vapier@gentoo.org>2012-03-09 03:48:22 +0000
commit261e3486d58d955008e04020596b35b5aa7ec0e6 (patch)
tree338d697eab76b599772ec1808f17a260c7c21690 /net-libs/libnatpmp/libnatpmp-20110808-r1.ebuild
parentcleanup. (diff)
downloadgentoo-2-261e3486d58d955008e04020596b35b5aa7ec0e6.tar.gz
gentoo-2-261e3486d58d955008e04020596b35b5aa7ec0e6.tar.bz2
gentoo-2-261e3486d58d955008e04020596b35b5aa7ec0e6.zip
Clean up patches a bit to respect LDFLAGS and not over use -fPIC.
(Portage version: 2.2.0_alpha86/cvs/Linux x86_64)
Diffstat (limited to 'net-libs/libnatpmp/libnatpmp-20110808-r1.ebuild')
-rw-r--r--net-libs/libnatpmp/libnatpmp-20110808-r1.ebuild11
1 files changed, 4 insertions, 7 deletions
diff --git a/net-libs/libnatpmp/libnatpmp-20110808-r1.ebuild b/net-libs/libnatpmp/libnatpmp-20110808-r1.ebuild
index b97dcf1fc360..be7d0bf30e0e 100644
--- a/net-libs/libnatpmp/libnatpmp-20110808-r1.ebuild
+++ b/net-libs/libnatpmp/libnatpmp-20110808-r1.ebuild
@@ -1,11 +1,11 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libnatpmp/libnatpmp-20110808-r1.ebuild,v 1.3 2012/03/03 15:41:53 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libnatpmp/libnatpmp-20110808-r1.ebuild,v 1.4 2012/03/09 03:48:22 vapier Exp $
EAPI=4
inherit eutils toolchain-funcs multilib
-DESCRIPTION="An alternative protocol to UPnP IGD specification."
+DESCRIPTION="An alternative protocol to UPnP IGD specification"
HOMEPAGE="http://miniupnp.free.fr/libnatpmp.html"
SRC_URI="http://miniupnp.free.fr/files/download.php?file=${P}.tar.gz -> ${P}.tar.gz"
@@ -17,11 +17,8 @@ IUSE="static-libs"
src_prepare() {
epatch "${FILESDIR}"/respect-FLAGS.patch
epatch "${FILESDIR}"/respect-libdir.patch
- use !static-libs && epatch "${FILESDIR}"/remove-static-lib.patch
-}
-
-src_compile() {
- emake CC="$(tc-getCC)"
+ use static-libs || epatch "${FILESDIR}"/remove-static-lib.patch
+ tc-export CC
}
src_install() {