mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 06:08:08 +00:00
51c200b9bf
SVN-Revision: 11786
24 lines
920 B
Diff
24 lines
920 B
Diff
Index: openssl-0.9.8e/util/domd
|
|
===================================================================
|
|
--- openssl-0.9.8e.orig/util/domd 2007-06-04 13:23:32.130849264 +0200
|
|
+++ openssl-0.9.8e/util/domd 2007-06-04 13:23:32.408807008 +0200
|
|
@@ -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
|
|
- 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
|