1 diff -burN openssl-0.9.8k/util/domd openssl-0.9.8k.patched/util/domd
2 --- openssl-0.9.8k/util/domd 2009-01-21 22:44:52.000000000 +0100
3 +++ openssl-0.9.8k.patched/util/domd 2009-03-26 15:46:28.600347986 +0100
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 - ${CC:-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