refresh patch
[openwrt.git] / package / openssl / patches / 120-makedepend.patch
1 --- a/util/domd
2 +++ b/util/domd
3 @@ -14,7 +14,8 @@ if [ "$MAKEDEPEND" = "" ]; then MAKEDEPE
4 cp Makefile Makefile.save
5 # fake the presence of Kerberos
6 touch $TOP/krb5.h
7 -if [ "$MAKEDEPEND" = "gcc" ]; then
8 +D=${MAKEDEPEND/%*gcc/gcc}
9 +if [ "$D" = "gcc" ]; then
10 args=""
11 while [ $# -gt 0 ]; do
12 if [ "$1" != "--" ]; then args="$args $1"; fi
13 @@ -22,7 +23,7 @@ if [ "$MAKEDEPEND" = "gcc" ]; then
14 done
15 sed -e '/^# DO NOT DELETE.*/,$d' < Makefile > Makefile.tmp
16 echo '# DO NOT DELETE THIS LINE -- make depend depends on it.' >> Makefile.tmp
17 - ${CC:-gcc} -D OPENSSL_DOING_MAKEDEPEND -M $args >> Makefile.tmp
18 + ${MAKEDEPEND} -D OPENSSL_DOING_MAKEDEPEND -M $args >> Makefile.tmp
19 ${PERL} $TOP/util/clean-depend.pl < Makefile.tmp > Makefile.new
20 rm -f Makefile.tmp
21 else
This page took 0.042542 seconds and 5 git commands to generate.