Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 223301 Details for
Bug 309153
net-dns/host-20070128 does not respect LDFLAGS
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
host-20070128.ebuild.patch
host-20070128.ebuild.patch (text/plain), 1.48 KB, created by
Doktor Notor
on 2010-03-12 18:09:47 UTC
(
hide
)
Description:
host-20070128.ebuild.patch
Filename:
MIME Type:
Creator:
Doktor Notor
Created:
2010-03-12 18:09:47 UTC
Size:
1.48 KB
patch
obsolete
>--- net-dns/host/host-20070128.ebuild 2009-09-23 20:36:33.000000000 +0200 >+++ net-dns/host/host-20070128.ebuild 2010-03-12 19:03:41.874673548 +0100 >@@ -2,6 +2,7 @@ > # Distributed under the terms of the GNU General Public License v2 > # $Header: /var/cvsroot/gentoo-x86/net-dns/host/host-20070128.ebuild,v 1.7 2009/09/23 18:29:05 patrick Exp $ > >+EAPI="2" > inherit eutils toolchain-funcs multilib > > DESCRIPTION="A powerful command-line DNS query and test tool implementing many additional protocols" >@@ -13,35 +14,22 @@ > KEYWORDS="~alpha ~amd64 hppa ~ppc ~sparc ~x86" > IUSE="debug" > >+# Bug 91515 > RESTRICT="test" > > RDEPEND="" > DEPEND="${RDEPEND} > >=sys-apps/sed-4" > >-src_unpack() { >- unpack ${A} >- cd "${S}" >- >- if ! use debug; then >- sed -i -e "/^CDEBUG/d" \ >- -e "/^DEBUGDEFS/d" \ >- Makefile || die "src_unpack failed" >- fi >- >- sed -i -e "/id-clash-30/d" \ >- -e "/^COPT/d" \ >- -e "s:^\(LDFLAGS = \)\(-static \)\(.*\):\1\3:" \ >- -e "s:^#\(RES_LIB = \)-lresolv:\1/usr/$(get_libdir)/libresolv.a:" \ >- -e "s:staff:root:" \ >- Makefile || die "src_unpack failed" >- >+src_prepare() { >+ epatch "${FILESDIR}/${P}-Makefile.patch" > sed -i -e "s:^\(# if defined(__alpha).*\):\1 || defined(__x86_64__):" \ >- port.h || die "src_unpack failed" >+ port.h || die "sed failed" > } > > src_compile() { >- emake CC="$(tc-getCC)" COPTS="${CFLAGS}" || die "emake failed" >+ use debug && export DEBUGDEFS="-DDEBUG" >+ emake CC="$(tc-getCC)" RES_LIB=/usr/$(get_libdir)/libresolv.a || die "emake failed" > } > > 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 309153
:
223297
| 223301