diff options
author | Sven Wegener <swegener@gentoo.org> | 2005-07-30 18:23:19 +0000 |
---|---|---|
committer | Sven Wegener <swegener@gentoo.org> | 2005-07-30 18:23:19 +0000 |
commit | 0210df9a3827e000dceef52407e25944ca37a283 (patch) | |
tree | c5473977763de65687d1a03307884120b0aee26b /net-misc | |
parent | QA: No need to cd ${S} at start of src_compile. (diff) | |
download | historical-0210df9a3827e000dceef52407e25944ca37a283.tar.gz historical-0210df9a3827e000dceef52407e25944ca37a283.tar.bz2 historical-0210df9a3827e000dceef52407e25944ca37a283.zip |
QA: Use emake CFLAGS="..." instead of an sed-hack.
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/ptrtd/Manifest | 10 | ||||
-rw-r--r-- | net-misc/ptrtd/ptrtd-0.5.2.ebuild | 21 |
2 files changed, 16 insertions, 15 deletions
diff --git a/net-misc/ptrtd/Manifest b/net-misc/ptrtd/Manifest index e0e44d0036df..b0bc63a9441d 100644 --- a/net-misc/ptrtd/Manifest +++ b/net-misc/ptrtd/Manifest @@ -1,5 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + MD5 1f861ceda638a89c0e1b2d74ed150696 ChangeLog 480 MD5 2bf2484cf9bc9fb2d9d22e3a2079b4ba files/digest-ptrtd-0.5.2 62 MD5 9569d7878b02ed7917f13f2713dc0166 files/ptrtd.confd 383 MD5 8d040162995360c626e14c2acec32613 files/ptrtd.initd 755 MD5 40ceee5f15cf85ea235ae5556fc2e2f7 ptrtd-0.5.2.ebuild 934 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.1 (GNU/Linux) + +iD8DBQFC68WyI1lqEGTUzyQRAvyXAJwMuLflp2a0tvM4XzYj4vAo7vaT7QCdHhq1 +iZX+DIIJL8vpHi4GXizVYj8= +=5CG8 +-----END PGP SIGNATURE----- diff --git a/net-misc/ptrtd/ptrtd-0.5.2.ebuild b/net-misc/ptrtd/ptrtd-0.5.2.ebuild index 3153dbd354ed..e5cee66c56b1 100644 --- a/net-misc/ptrtd/ptrtd-0.5.2.ebuild +++ b/net-misc/ptrtd/ptrtd-0.5.2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/ptrtd/ptrtd-0.5.2.ebuild,v 1.5 2004/09/03 15:12:19 dholm Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/ptrtd/ptrtd-0.5.2.ebuild,v 1.6 2005/07/30 18:23:19 swegener Exp $ DESCRIPTION="Portable Transport Relay Translator Daemon for IPv6" HOMEPAGE="http://v6web.litech.org/ptrtd/" @@ -14,25 +14,16 @@ IUSE="" DEPEND="" RDEPEND="sys-apps/iproute2" -src_unpack() { - unpack ${A} - cd ${S} - mv -f Makefile.in ${T} - sed -e "s:-Wall -g:-Wall ${CFLAGS}:" \ - ${T}/Makefile.in > Makefile.in +src_compile() { + econf || die "econf failed" + emake CFLAGS="${CFLAGS}" || die "emake failed" } src_install() { einstall || die - dodir /etc/init.d - dodir /etc/conf.d - - exeinto /etc/init.d/ - newexe ${FILESDIR}/ptrtd.initd ptrtd - - insinto /etc/conf.d/ - newins ${FILESDIR}/ptrtd.confd ptrtd + newinitd ${FILESDIR}/ptrtd.initd ptrtd + newconfd ${FILESDIR}/ptrtd.confd ptrtd dodoc README } |