Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 367812 Details for
Bug 498030
sys-devel/autogen - Cross-compile fix using HDEPEND
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
autogen-cross-compile.patch
autogen-cross-compile.patch (text/plain), 1.55 KB, created by
James Le Cuirot
on 2014-01-13 22:19:16 UTC
(
hide
)
Description:
autogen-cross-compile.patch
Filename:
MIME Type:
Creator:
James Le Cuirot
Created:
2014-01-13 22:19:16 UTC
Size:
1.55 KB
patch
obsolete
>--- autogen-5.18.1.ebuild.orig 2013-12-02 10:18:43.000000000 +0000 >+++ autogen-5.18.1.ebuild 2014-01-13 22:09:12.000000000 +0000 >@@ -2,7 +2,7 @@ > # Distributed under the terms of the GNU General Public License v2 > # $Header: /var/cvsroot/gentoo-x86/sys-devel/autogen/autogen-5.18.1.ebuild,v 1.1 2013/12/02 10:18:43 radhermit Exp $ > >-EAPI="4" >+EAPI="5-hdepend" > > inherit eutils > >@@ -13,21 +13,42 @@ > LICENSE="GPL-2" > SLOT="0" > KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos" >-IUSE="libopts static-libs" >+IUSE="libopts static-libs targetroot" > > RDEPEND=">=dev-scheme/guile-1.8 > dev-libs/libxml2" > DEPEND="${RDEPEND}" >+HDEPEND="targetroot? ( ${CATEGORY}/${PN} )" > > src_configure() { > # suppress possibly incorrect -R flag > export ag_cv_test_ldflags= > > econf $(use_enable static-libs static) >+ >+ if use targetroot; then >+ # Cross-compile with host autogen. >+ sed -i "s:PROG=\./:PROG=:" autoopts/tpl/agtexi-cmd.tpl || die >+ fi >+} >+ >+src_compile() { >+ if use targetroot; then >+ # Cross-compile with host autogen. Absolute paths required. >+ emake AGexe="$(which autogen)" CLexe="$(which columns)" GDexe="$(which getdefs)" >+ else >+ default >+ fi > } > > src_install() { >- default >+ if use targetroot; then >+ # Cross-compile with host autogen. Absolute paths required. >+ emake AGexe="$(which autogen)" CLexe="$(which columns)" GDexe="$(which getdefs)" DESTDIR="${D}" install >+ else >+ default >+ fi >+ > prune_libtool_files > > if ! use libopts ; then
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 498030
: 367812