X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=functions%2Fipkg;fp=functions%2Fipkg;h=b3cba7c2dcfd021fbf60745de4185875739aaa23;hb=d9702c4a5c6fbf2c738ffbf9c3563daf552c91d8;hp=22f18038928c7945a014cc25586d715a84639dfc;hpb=73d532193664c00931865fe893872e1a9f4affb4;p=hvlinux.git diff --git a/functions/ipkg b/functions/ipkg index 22f1803..b3cba7c 100644 --- a/functions/ipkg +++ b/functions/ipkg @@ -172,12 +172,14 @@ ipkg_script() fi if [ -x ${LFS_TMP}/${PACKAGE}/configure ]; then - # Add option --disable-dependency-tracking if supported - if cat ${LFS_TMP}/${PACKAGE}/configure | \ - grep -q "disable-dependency-tracking"; then - CONFIGURE_OPTS="\ + if [ "x${ENABLE_DEPENDENCY_TRACKING}" = "x0" ]; then + # Add option --disable-dependency-tracking if supported + if cat ${LFS_TMP}/${PACKAGE}/configure | \ + grep -q "disable-dependency-tracking"; then + CONFIGURE_OPTS="\ ${CONFIGURE_OPTS} \ - --disable-dependency-tracking" + --disable-dependency-tracking" + fi fi # Remove option --sysconfdir=... if not supported