diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2009-05-13 07:51:43 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2009-05-13 07:51:43 +0000 |
commit | 632c9bb9e3935e57517e67cf90d7fb91d6d510ce (patch) | |
tree | b8187f0778410338165db6fa3335c1c3ff9250bc /net-misc/miniupnpd | |
parent | Stable on x86 (#269589). Fix LICENSE (diff) | |
download | gentoo-2-632c9bb9e3935e57517e67cf90d7fb91d6d510ce.tar.gz gentoo-2-632c9bb9e3935e57517e67cf90d7fb91d6d510ce.tar.bz2 gentoo-2-632c9bb9e3935e57517e67cf90d7fb91d6d510ce.zip |
Keyword ~amd64, stop prestripping and use correct CC target.
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/miniupnpd')
-rw-r--r-- | net-misc/miniupnpd/ChangeLog | 5 | ||||
-rw-r--r-- | net-misc/miniupnpd/miniupnpd-1.3.ebuild | 28 |
2 files changed, 19 insertions, 14 deletions
diff --git a/net-misc/miniupnpd/ChangeLog b/net-misc/miniupnpd/ChangeLog index 7f6da9dc5769..b390b132090f 100644 --- a/net-misc/miniupnpd/ChangeLog +++ b/net-misc/miniupnpd/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-misc/miniupnpd # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/miniupnpd/ChangeLog,v 1.7 2009/04/24 23:43:24 gurligebis Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/miniupnpd/ChangeLog,v 1.8 2009/05/13 07:51:43 ssuominen Exp $ + + 13 May 2009; Samuli Suominen <ssuominen@gentoo.org> miniupnpd-1.3.ebuild: + Keyword ~amd64, stop prestripping and use correct CC target. *miniupnpd-1.3 (24 Apr 2009) diff --git a/net-misc/miniupnpd/miniupnpd-1.3.ebuild b/net-misc/miniupnpd/miniupnpd-1.3.ebuild index a1943d4c596d..b18eed6fb751 100644 --- a/net-misc/miniupnpd/miniupnpd-1.3.ebuild +++ b/net-misc/miniupnpd/miniupnpd-1.3.ebuild @@ -1,38 +1,40 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/miniupnpd/miniupnpd-1.3.ebuild,v 1.1 2009/04/24 23:43:24 gurligebis Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/miniupnpd/miniupnpd-1.3.ebuild,v 1.2 2009/05/13 07:51:43 ssuominen Exp $ -EAPI="2" - -inherit eutils linux-info +EAPI=2 +inherit eutils linux-info toolchain-funcs DESCRIPTION="MiniUPnP IGD Daemon" SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz" HOMEPAGE="http://miniupnp.free.fr/" -LICENSE="miniupnpd" -KEYWORDS="~x86" +LICENSE="miniupnpd" SLOT="0" +KEYWORDS="~amd64 ~x86" IUSE="" -DEPEND=">=net-firewall/iptables-1.4.3 +RDEPEND=">=net-firewall/iptables-1.4.3 sys-apps/lsb-release" -RDEPEND="${DEPEND}" +DEPEND="${RDEPEND}" src_prepare() { mv Makefile.linux Makefile epatch "${FILESDIR}/${P}-iptables_path.diff" epatch "${FILESDIR}/${P}-Makefile_fix.diff" sed -i -e "s#^CFLAGS = #CFLAGS = -I${KV_OUT_DIR}/include #" Makefile - # we don't use netfilter/Makefile - gmake config.h + emake config.h +} + +src_compile() { + emake CC="$(tc-getCC)" || die "emake failed" } src_install () { - PREFIX="${D}" einstall || die + einstall PREFIX="${D}" STRIP="true" || die "einstall failed" - newinitd "${FILESDIR}/${P}-init.d" "${PN}" - newconfd "${FILESDIR}/${P}-conf.d" "${PN}" + newinitd "${FILESDIR}"/${P}-init.d ${PN} + newconfd "${FILESDIR}"/${P}-conf.d ${PN} } pkg_postinst() { |