Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 357738 Details for
Bug 476000
net-proxy/oops : does not respect LDFLAGS
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
ebuild patch
oops-1.5.24_pre20050503-r4.ebuild.patch (text/plain), 1.77 KB, created by
Yixun Lan
on 2013-09-03 08:22:08 UTC
(
hide
)
Description:
ebuild patch
Filename:
MIME Type:
Creator:
Yixun Lan
Created:
2013-09-03 08:22:08 UTC
Size:
1.77 KB
patch
obsolete
>--- a/oops-1.5.24_pre20050503-r4.ebuild 2011-01-10 18:48:34.000000000 +0800 >+++ b/oops-1.5.24_pre20050503-r4.ebuild 2013-09-03 08:12:29.423000000 +0800 >@@ -2,7 +2,7 @@ > # Distributed under the terms of the GNU General Public License v2 > # $Header: /var/cvsroot/gentoo-x86/net-proxy/oops/oops-1.5.24_pre20050503-r4.ebuild,v 1.5 2011/01/10 10:48:34 flameeyes Exp $ > >-EAPI="2" >+EAPI="5" > > inherit eutils flag-o-matic toolchain-funcs autotools > >@@ -39,6 +39,7 @@ > epatch "${FILESDIR}/libpcreposix.patch" > epatch "${FILESDIR}/rotate-logs.patch" > epatch "${FILESDIR}/${P}+db-5.0.patch" >+ epatch "${FILESDIR}/${P/_*}-respect-flags.patch" > sed -i -e 's:y\.tab\.h:y.tab.c:' src/Makefile.in > eautoreconf > } >@@ -54,19 +55,32 @@ > --localstatedir=/var/run/oops \ > --enable-large-files \ > --with-zlib=-lz \ >- || die "configure problem" >+ AR="$(tc-getAR)" \ >+ CC="$(tc-getCC)" \ >+ CXX="$(tc-getCXX)" \ >+ LD="$(tc-getCC)" > >- sed -i -e '/STRERROR_R/d' src/config.h.in >+ sed -i -e '/STRERROR_R/d' src/config.h.in || die > sed -i \ > -e "s|OOPS_LIBDIR = /usr/$(get_libdir)/oops|OOPS_LIBDIR = ${D}/usr/$(get_libdir)/oops|" \ > -e "s|OOPS_SBINDIR = /usr/sbin|OOPS_SBINDIR = ${D}/usr/sbin|" \ > -e "s|OOPS_SYSCONFDIR = /etc/oops|OOPS_SYSCONFDIR = ${D}/etc/oops|" \ > -e "s|OOPS_LOCALSTATEDIR = /var/run/oops|OOPS_LOCALSTATEDIR = ${D}/var/run/oops|" \ > -e "s|OOPSPATH=/usr/oops|OOPSPATH=${D}/usr/oops|" \ >- src/Makefile >+ src/Makefile || die > sed -i \ > -e "s|^\(LDFLAGS *= *\)${LDFLAGS}|\1$(raw-ldflags)|" \ >- src/modules/Makefile #modules makefile use ld directly >+ src/modules/Makefile || die #modules makefile use ld directly >+} >+ >+src_compile() { >+ emake \ >+ AR="$(tc-getAR)" \ >+ CC="$(tc-getCC)" \ >+ CXX="$(tc-getCXX)" \ >+ LD="$(tc-getCC)" \ >+ RANLIB=":" \ >+ STRIP=":" > } > > 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 476000
:
357736
| 357738