1 diff -ruN openssl-0.9.7g-old/util/domd openssl-0.9.7g-new/util/domd
2 --- openssl-0.9.7g-old/util/domd 2004-05-11 14:46:18.000000000 +0200
3 +++ openssl-0.9.7g-new/util/domd 2005-05-30 20:20:04.000000000 +0200
5 cp Makefile Makefile.save
6 # fake the presence of Kerberos
8 -if [ "$MAKEDEPEND" = "gcc" ]; then
9 +D=${MAKEDEPEND/%*gcc/gcc}
10 +if [ "$D" = "gcc" ]; then
12 while [ $# -gt 0 ]; do
13 if [ "$1" != "--" ]; then args="$args $1"; fi
16 sed -e '/^# DO NOT DELETE.*/,$d' < Makefile > Makefile.tmp
17 echo '# DO NOT DELETE THIS LINE -- make depend depends on it.' >> Makefile.tmp
18 - gcc -D OPENSSL_DOING_MAKEDEPEND -M $args >> Makefile.tmp
19 + ${MAKEDEPEND} -D OPENSSL_DOING_MAKEDEPEND -M $args >> Makefile.tmp
20 ${PERL} $TOP/util/clean-depend.pl < Makefile.tmp > Makefile.new