Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 369104 Details for
Bug 385775
dev-libs/apr-util does not cross compile
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
apr-util cross compile hacks
apr-util-cross.patch (text/plain), 1.25 KB, created by
SpanKY
on 2014-01-30 06:49:12 UTC
(
hide
)
Description:
apr-util cross compile hacks
Filename:
MIME Type:
Creator:
SpanKY
Created:
2014-01-30 06:49:12 UTC
Size:
1.25 KB
patch
obsolete
>? apr-util-cross.patch >Index: apr-util-1.5.3.ebuild >=================================================================== >RCS file: /var/cvsroot/gentoo-x86/dev-libs/apr-util/apr-util-1.5.3.ebuild,v >retrieving revision 1.4 >diff -u -p -r1.4 apr-util-1.5.3.ebuild >--- apr-util-1.5.3.ebuild 30 Jan 2014 01:03:49 -0000 1.4 >+++ apr-util-1.5.3.ebuild 30 Jan 2014 06:47:08 -0000 >@@ -61,7 +61,7 @@ src_configure() { > > econf \ > --datadir="${EPREFIX}"/usr/share/apr-util-1 \ >- --with-apr="${EPREFIX}"/usr \ >+ --with-apr="${SYSROOT}${EPREFIX}"/usr \ > --with-expat="${EPREFIX}"/usr \ > --without-sqlite2 \ > $(use_with freetds) \ >@@ -74,14 +74,21 @@ src_configure() { > $(use_with postgres pgsql) \ > $(use_with sqlite sqlite3) \ > ${myconf} >+ sed -i -r \ >+ -e "/^(apr_builddir|apr_builders|top_builddir)=/s:=:=${SYSROOT}:" \ >+ -e "/^CC=/s:=.*:=$(tc-getCC):" \ >+ -e '/^(C|CPP|CXX|LD)FLAGS=/d' \ >+ -e '/^LTFLAGS/s:--silent::' \ >+ build/rules.mk || die >+ sed -i -r \ >+ -e "/^APRUTIL_(LDFLAGS|LIBS)/s:-[RL]/[^ ]*::g" \ >+ -e "/^INCLUDES/s:(-I)(/usr/include):\1${SYSROOT}\2:g" \ >+ Makefile || die > } > > src_compile() { >- emake CPPFLAGS="${CPPFLAGS}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" >- >- if use doc; then >- emake dox >- fi >+ emake >+ use doc && emake dox > } > > 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 385775
:
288899
|
288901
| 369104