diff options
author | Stephanie J. Lockwood-Childs <wormo@gentoo.org> | 2008-07-26 20:26:13 +0000 |
---|---|---|
committer | Stephanie J. Lockwood-Childs <wormo@gentoo.org> | 2008-07-26 20:26:13 +0000 |
commit | c47985727fb8ab3b68b3f2e4c51c1788fbf8ec4c (patch) | |
tree | 2093c772ca0be9edc0720e1dfad79cda013b5310 /net-misc/knock/knock-0.5.ebuild | |
parent | Stable on amd64, bug #232054 (diff) | |
download | gentoo-2-c47985727fb8ab3b68b3f2e4c51c1788fbf8ec4c.tar.gz gentoo-2-c47985727fb8ab3b68b3f2e4c51c1788fbf8ec4c.tar.bz2 gentoo-2-c47985727fb8ab3b68b3f2e4c51c1788fbf8ec4c.zip |
gcc 4.3 compile fix from Christian Ruppert (bug #232966)
(Portage version: 2.1.4.4)
Diffstat (limited to 'net-misc/knock/knock-0.5.ebuild')
-rw-r--r-- | net-misc/knock/knock-0.5.ebuild | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/net-misc/knock/knock-0.5.ebuild b/net-misc/knock/knock-0.5.ebuild index 1afe6867b0b2..281c2aca40fd 100644 --- a/net-misc/knock/knock-0.5.ebuild +++ b/net-misc/knock/knock-0.5.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/knock/knock-0.5.ebuild,v 1.10 2007/12/27 12:23:07 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/knock/knock-0.5.ebuild,v 1.11 2008/07/26 20:26:13 wormo Exp $ inherit eutils @@ -20,14 +20,20 @@ DEPEND="net-libs/libpcap" RDEPEND="net-firewall/iptables ${DEPEND}" +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-gcc-4.3.patch +} + src_install() { - make DESTDIR=${D} install || die "make install failed" + make DESTDIR="${D}" install || die "make install failed" dodoc README dodoc ChangeLog dodoc TODO dosed "s:/usr/sbin/iptables:/sbin/iptables:g" /etc/knockd.conf - newinitd ${FILESDIR}/knockd.initd knock - newconfd ${FILESDIR}/knockd.confd knock + newinitd "${FILESDIR}"/knockd.initd knock + newconfd "${FILESDIR}"/knockd.confd knock } |