mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-29 18:19:02 +00:00
b32d7ba705
SVN-Revision: 15106
23 lines
899 B
Diff
23 lines
899 B
Diff
diff -burN openssl-0.9.8k/util/domd openssl-0.9.8k.patched/util/domd
|
|
--- openssl-0.9.8k/util/domd 2009-01-21 22:44:52.000000000 +0100
|
|
+++ openssl-0.9.8k.patched/util/domd 2009-03-26 15:46:28.600347986 +0100
|
|
@@ -14,7 +14,8 @@
|
|
cp Makefile Makefile.save
|
|
# fake the presence of Kerberos
|
|
touch $TOP/krb5.h
|
|
-if [ "$MAKEDEPEND" = "gcc" ]; then
|
|
+D=${MAKEDEPEND/%*gcc/gcc}
|
|
+if [ "$D" = "gcc" ]; then
|
|
args=""
|
|
while [ $# -gt 0 ]; do
|
|
if [ "$1" != "--" ]; then args="$args $1"; fi
|
|
@@ -22,7 +23,7 @@
|
|
done
|
|
sed -e '/^# DO NOT DELETE.*/,$d' < Makefile > Makefile.tmp
|
|
echo '# DO NOT DELETE THIS LINE -- make depend depends on it.' >> Makefile.tmp
|
|
- ${CC:-gcc} -D OPENSSL_DOING_MAKEDEPEND -M $args >> Makefile.tmp
|
|
+ ${MAKEDEPEND} -D OPENSSL_DOING_MAKEDEPEND -M $args >> Makefile.tmp
|
|
${PERL} $TOP/util/clean-depend.pl < Makefile.tmp > Makefile.new
|
|
rm -f Makefile.tmp
|
|
else
|