Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 238365 Details for
Bug 244144
mail-filter/p3scan: CC variable not respected
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Replacement patch to p3scan-2.3.2 ebuild to address LDFLAGS issue, in addition to changes from comment #1
p3scan-2.3.2.ebuild.patch (text/plain), 1008 bytes, created by
Kevin Pyle
on 2010-07-11 23:15:02 UTC
(
hide
)
Description:
Replacement patch to p3scan-2.3.2 ebuild to address LDFLAGS issue, in addition to changes from comment #1
Filename:
MIME Type:
Creator:
Kevin Pyle
Created:
2010-07-11 23:15:02 UTC
Size:
1008 bytes
patch
obsolete
>diff -ru a/p3scan-2.3.2.ebuild b/p3scan-2.3.2.ebuild >--- a/p3scan-2.3.2.ebuild 2009-05-15 20:06:29.000000000 -0500 >+++ b/p3scan-2.3.2.ebuild 2010-07-11 18:10:53.474182218 -0500 >@@ -10,7 +10,10 @@ > SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" > HOMEPAGE="http://p3scan.sf.net/" > >-DEPEND="dev-libs/libpcre" >+# Older ripmime did not install a library >+DEPEND="dev-libs/libpcre >+ >=net-mail/ripmime-1.4.0.9 >+ " > RDEPEND="net-firewall/iptables" > > SLOT="0" >@@ -20,10 +23,22 @@ > > src_prepare() { > epatch "${FILESDIR}/p3scan-ocreat.patch" >+ >+ # respect CC (bug #244144), and CFLAGS (bug #240786) >+ sed -i \ >+ -e '/^CC=/d' \ >+ -e "s:^CFLAGS=-Wall -O2 :CFLAGS=-O2 ${CFLAGS} :" \ >+ -e '/^LDFLAGS=/d' \ >+ -e '/^ripmime\/libripmime/,+7d' \ >+ -e '/^\.c\.o:/,+3d' \ >+ -e '$ap3scan: LDLIBS:=-lripmime -lpcre -lssl -lcrypto\np3scan: $(OBJECTS)' \ >+ Makefile || die >+ # Be sure the system copy is used >+ rm -rf ripmime/ > } > > src_compile() { >- emake || die >+ emake CC="$(tc-getCC)" || die > } > > src_install () {
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 244144
:
215041
| 238365