this ebuild fixes the following build issue of gmp-4.1-r1 (and makes it pass lintool btw): # emerge gmp Calculating dependencies ...done! >>> emerge dev-libs/gmp-4.1-r1 to / >>> md5 ;-) gmp-4.1.tar.gz >>> Unpacking source... >>> Unpacking gmp-4.1.tar.gz patching file randraw.c >>> Source unpacked. configure: error: --target is not appropriate for GMP Use --build=CPU-VENDOR-OS if you need to specify your CPU and/or system explicitly. Use --host if cross-compiling (see "Installing GMP" in the manual for more on this). !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line -131, Exitcode 1 !!! configure failed !!! emerge aborting on /usr/portage/dev-libs/gmp/gmp-4.1-r1.ebuild . patch: --- gmp-4.1-r1.ebuild Fri Aug 2 05:50:11 2002 +++ gmp-4.1-r2.ebuild Fri Aug 2 23:55:16 2002 @@ -11,7 +11,7 @@ LICENSE="LGPL-2" DEPEND=">=sys-devel/m4-1.4p" - +RDEPEND=${DEPEND} src_unpack() { @@ -23,7 +23,6 @@ src_compile() { econf \ --build=${CHOST} \ - --target=${CHOST} \ --localstatedir=/var/state/gmp \ --enable-cxx \ --enable-mpbsd \
Created attachment 2762 [details] gmp-4.1-r2.ebuild
*** Bug 5895 has been marked as a duplicate of this bug. ***
Changed gmp-4.1-r1, no need to bump revision number for this fix.