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