X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/c9bf3cc1380ca0ef5cb1cf3b08732f9276a36e78..4bb6d1d93a2b1556711b8aa675fa4ddff67c2a62:/package/openssl/patches/120-makedepend.patch diff --git a/package/openssl/patches/120-makedepend.patch b/package/openssl/patches/120-makedepend.patch index 5501f85f1..228e11290 100644 --- a/package/openssl/patches/120-makedepend.patch +++ b/package/openssl/patches/120-makedepend.patch @@ -1,7 +1,6 @@ -diff -ruN openssl-0.9.7g-old/util/domd openssl-0.9.7g-new/util/domd ---- openssl-0.9.7g-old/util/domd 2004-05-11 14:46:18.000000000 +0200 -+++ openssl-0.9.7g-new/util/domd 2005-05-30 20:20:04.000000000 +0200 -@@ -14,7 +14,8 @@ +--- a/util/domd ++++ b/util/domd +@@ -14,7 +14,8 @@ if [ "$MAKEDEPEND" = "" ]; then MAKEDEPE cp Makefile Makefile.save # fake the presence of Kerberos touch $TOP/krb5.h @@ -11,11 +10,11 @@ diff -ruN openssl-0.9.7g-old/util/domd openssl-0.9.7g-new/util/domd args="" while [ $# -gt 0 ]; do if [ "$1" != "--" ]; then args="$args $1"; fi -@@ -22,7 +23,7 @@ +@@ -22,7 +23,7 @@ if [ "$MAKEDEPEND" = "gcc" ]; then 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 +- ${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