Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 341574 Details for
Bug 461296
net-analyzer/netselect: please review prefix changes
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch against netselect-0.3-r2.ebuild
netselect-0.3-r2.ebuild.patch (text/plain), 1.55 KB, created by
Christoph Junghans (RETIRED)
on 2013-03-10 17:24:33 UTC
(
hide
)
Description:
patch against netselect-0.3-r2.ebuild
Filename:
MIME Type:
Creator:
Christoph Junghans (RETIRED)
Created:
2013-03-10 17:24:33 UTC
Size:
1.55 KB
patch
obsolete
>--- /usr/portage/net-analyzer/netselect/netselect-0.3-r2.ebuild 2012-10-14 16:01:22.000000000 -0600 >+++ netselect-0.3-r3.ebuild 2013-03-10 11:19:13.373672286 -0600 >@@ -2,6 +2,8 @@ > # Distributed under the terms of the GNU General Public License v2 > # $Header: /var/cvsroot/gentoo-x86/net-analyzer/netselect/netselect-0.3-r2.ebuild,v 1.11 2012/10/14 21:53:59 aballier Exp $ > >+EAPI=5 >+ > inherit eutils flag-o-matic toolchain-funcs > > DESCRIPTION="Ultrafast implementation of ping." >@@ -10,34 +12,33 @@ > > LICENSE="BSD" > SLOT="0" >-KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd" >+KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" > IUSE="" > > S=${WORKDIR}/${PN} > >-src_unpack() { >- unpack ${A} >- cd "${S}" >- >+src_prepare() { > epatch "${FILESDIR}/${P}-bsd.patch" >-} > >-src_compile() { > sed -i \ >- -e "s:PREFIX =.*:PREFIX = ${D}usr:" \ >+ -e "s:PREFIX =.*:PREFIX = ${ED}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" >+} > >- emake CC="$(tc-getCC)" || die "emake failed" >+src_compile() { >+ emake CC="$(tc-getCC)" > } > > src_install () { >- dobin netselect || die "dobin failed" >- fowners root:wheel /usr/bin/netselect >- fperms 4711 /usr/bin/netselect >+ dobin netselect >+ if ! use prefix ; then >+ fowners root:wheel /usr/bin/netselect >+ fperms 4711 /usr/bin/netselect >+ fi > dodoc ChangeLog HISTORY README* > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 461296
: 341574