diff options
author | Eldad Zack <eldad@gentoo.org> | 2004-11-22 16:26:37 +0000 |
---|---|---|
committer | Eldad Zack <eldad@gentoo.org> | 2004-11-22 16:26:37 +0000 |
commit | 079aa32642409f90c86aefd3d621924c723994ca (patch) | |
tree | cf16b8981e32e90b8f1f7373a6ddf8e8b657e869 /net-analyzer/netselect/netselect-0.3-r1.ebuild | |
parent | x86. (Manifest recommit) (diff) | |
download | gentoo-2-079aa32642409f90c86aefd3d621924c723994ca.tar.gz gentoo-2-079aa32642409f90c86aefd3d621924c723994ca.tar.bz2 gentoo-2-079aa32642409f90c86aefd3d621924c723994ca.zip |
Fix to use bind-now for suid binaries. Using dobin instead of make install.
Diffstat (limited to 'net-analyzer/netselect/netselect-0.3-r1.ebuild')
-rw-r--r-- | net-analyzer/netselect/netselect-0.3-r1.ebuild | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/net-analyzer/netselect/netselect-0.3-r1.ebuild b/net-analyzer/netselect/netselect-0.3-r1.ebuild index e5811d4150cf..a1d02c1ad329 100644 --- a/net-analyzer/netselect/netselect-0.3-r1.ebuild +++ b/net-analyzer/netselect/netselect-0.3-r1.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/netselect/netselect-0.3-r1.ebuild,v 1.7 2004/10/19 10:40:35 absinthe Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/netselect/netselect-0.3-r1.ebuild,v 1.8 2004/11/22 16:26:37 eldad Exp $ + +inherit flag-o-matic DESCRIPTION="Ultrafast implementation of ping." HOMEPAGE="http://www.worldvisions.ca/~apenwarr/netselect/" @@ -13,24 +15,23 @@ IUSE="" S="${WORKDIR}/${PN}" -src_unpack() { - unpack ${A} - cd "${S}" +src_compile() { + append-ldflags "-Wl,-z,now" + sed -i \ -e "s:PREFIX =.*:PREFIX = ${D}usr:" \ -e "s:CFLAGS =.*:CFLAGS = -Wall -I. -g ${CFLAGS}:" \ + -e "s:LDFLAGS =.*:LDFLAGS = -g ${LDFLAGS}:" \ -e '23,27d' \ -e '34d' \ Makefile \ || die "sed Makefile failed" -} -src_compile() { emake || die "emake failed" } src_install () { - make install || die "make install failed" + dobin netselect || die "dobin failed" fowners root:wheel /usr/bin/netselect fperms 4710 /usr/bin/netselect dodoc ChangeLog HISTORY README* |