aide/aide-0.10-no-static.patch

33 lines
963 B
Diff
Raw Normal View History

diff -Nur aide-0.10-orig/configure aide-0.10/configure
--- aide-0.10-orig/configure 2003-11-28 16:14:08.000000000 +0100
+++ aide-0.10/configure 2006-03-02 12:30:37.000000000 +0100
@@ -1720,8 +1720,8 @@
esac
fi
-CFLAGS="$CFLAGS $LD_STATIC_FLAG"
-CPPFLAGS="$CPPFLAGS $LD_STATIC_FLAG"
+#CFLAGS="$CFLAGS $LD_STATIC_FLAG"
+#CPPFLAGS="$CPPFLAGS $LD_STATIC_FLAG"
@@ -3022,7 +3022,7 @@
done
save_LDFLAGS=$LDFLAGS
- LDFLAGS="$LDFLAGS $LD_STATIC_FLAG"
+ #LDFLAGS="$LDFLAGS $LD_STATIC_FLAG"
echo $ac_n "checking for gzdopen in -lz""... $ac_c" 1>&6
echo "configure:3028: checking for gzdopen in -lz" >&5
ac_lib_var=`echo z'_'gzdopen | sed 'y%./+-%__p_%'`
@@ -3798,7 +3798,7 @@
s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
s%@MAINT@%$MAINT%g
-s%@LD_STATIC_FLAG@%$LD_STATIC_FLAG%g
+s%@LD_STATIC_FLAG@%%g
s%@AIDE_USE_LOCALE@%$AIDE_USE_LOCALE%g
s%@ACLLIB@%$ACLLIB%g
s%@CRYPTLIB@%$CRYPTLIB%g