Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 243957 Details for
Bug 333811
net-misc/ipsorcery does not respect LDFLAGS
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to ipsorcery-2.0.9.ebuild to address various QA issues
ipsorcery-2.0.9.ebuild.patch (text/plain), 1.15 KB, created by
Kevin Pyle
on 2010-08-21 20:43:59 UTC
(
hide
)
Description:
Patch to ipsorcery-2.0.9.ebuild to address various QA issues
Filename:
MIME Type:
Creator:
Kevin Pyle
Created:
2010-08-21 20:43:59 UTC
Size:
1.15 KB
patch
obsolete
>diff -ru a/ipsorcery-2.0.9.ebuild b/ipsorcery-2.0.9.ebuild >--- a/ipsorcery-2.0.9.ebuild 2007-07-12 03:05:58.000000000 +0000 >+++ b/ipsorcery-2.0.9.ebuild 2010-08-21 20:36:34.813096876 +0000 >@@ -2,6 +2,10 @@ > # Distributed under the terms of the GNU General Public License v2 > # $Header: /var/cvsroot/gentoo-x86/net-misc/ipsorcery/ipsorcery-2.0.9.ebuild,v 1.3 2007/07/12 02:52:16 mr_bones_ Exp $ > >+EAPI="2" >+ >+inherit toolchain-funcs >+ > DESCRIPTION="Ipsorcery allows you to generate IP, TCP, UDP, ICMP, and IGMP packets." > SRC_URI="http://www.legions.org/~phric/ipsorc-${PV}.tar.gz" > HOMEPAGE="http://www.legions.org/~phric/ipsorcery.html" >@@ -13,23 +17,26 @@ > RDEPEND="${DEPEND}" > S=${WORKDIR}/ipsorc-${PV} > >-src_unpack() { >- unpack ${A} >- sed -i -e "s:-O2:$CFLAGS:g" ${S}/Makefile >+src_prepare() { >+ sed -i \ >+ -e '/^CC =/d' \ >+ -e "s:-O2:$CPPFLAGS $CFLAGS $LDFLAGS:g" \ >+ ${S}/Makefile || die > } > > src_compile () { >+ tc-export CC > if use gtk; then > emake all || die > else >- make con || die >+ emake con || die > fi > } > > src_install () { > if use gtk; then >- dosbin magic >+ dosbin magic || die > fi >- dosbin ipmagic >+ dosbin ipmagic || die > dodoc README HOWTO > }
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 333811
:
243877
| 243957