Bug #273640 - Add --disable-dependency-tracking to econf arguments for
authorZac Medico <zmedico@gentoo.org>
Mon, 6 Jul 2009 20:38:13 +0000 (20:38 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 6 Jul 2009 20:38:13 +0000 (20:38 -0000)
EAPI 3. Thanks to Markus Meier <maekke@gentoo.org> for this patch.

svn path=/main/trunk/; revision=13800

bin/ebuild.sh

index 634b3ce4f9471a30c282ca50724d9e95abbd0191..f80312a832175d726c04f8c32e9f2a1c88de67cb 100755 (executable)
@@ -491,6 +491,11 @@ econf() {
                        done
                fi
 
+               # EAPI=3 adds --disable-dependency-tracking to econf
+               if ! hasq "$EAPI" 0 1 2 ; then
+                       set -- --disable-dependency-tracking "$@"
+               fi
+
                # if the profile defines a location to install libs to aside from default, pass it on.
                # if the ebuild passes in --libdir, they're responsible for the conf_libdir fun.
                local CONF_LIBDIR LIBDIR_VAR="LIBDIR_${ABI}"