X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=functions%2Fipkg;h=a3dc0e449b2869cca34c381326d6ae187868a886;hb=bd4976a460cc6af4da09164c6f1d1581480a9771;hp=177f52c8ac214ca3f8adb990eac003cc5df862e1;hpb=6be74141099e569e059115b9659f1a8c98306ac7;p=hvlinux.git diff --git a/functions/ipkg b/functions/ipkg index 177f52c..a3dc0e4 100644 --- a/functions/ipkg +++ b/functions/ipkg @@ -151,10 +151,10 @@ ipkg_script() --cache-file=${LFS_TMP}/${PACKAGE}-build/config.cache" fi - if [ "x${IPKG_MODE}" != "xnoac" ]; then + if [ -x ${LFS_TMP}/${PACKAGE}/configure ]; then # Add option --disable-dependency-tracking if supported if cat ${LFS_TMP}/${PACKAGE}/configure | \ - grep "disable-dependency-tracking" 1> /dev/null 2>&1; then + grep -q "disable-dependency-tracking"; then CONFIGURE_OPTS="\ ${CONFIGURE_OPTS} \ --disable-dependency-tracking"