the current util/domd script defaults $MAKEDEPEND to `makedepend` and then
checks the value against "gcc". this doesnt work if $MAKEDEPEND is set to a
gcc compiler by another name (i686-pc-linux-gcc, cc, etc...). so invert the
script logic so that it runs the makedepend code when using makedepend and
uses the gcc-compatible syntax for everything else.
patch is against OpenSSL_0_9_8-stable
-mike
Index: util/domd
===================================================================
RCS file: /usr/local/src/openssl/CVSROOT/openssl/util/domd,v
retrieving revision 1.9.2.1
diff -u -p -r1.9.2.1 domd
--- util/domd 21 Jan 2009 21:44:52 -0000 1.9.2.1
+++ util/domd 26 Oct 2009 10:38:10 -0000
@@ -14,7 +14,7 @@ if [ "$MAKEDEPEND" = "" ]; then MAKEDEPE
cp Makefile Makefile.save
# fake the presence of Kerberos
touch $TOP/krb5.h
-if [ "$MAKEDEPEND" = "gcc" ]; then
+if [ "$MAKEDEPEND" != "makedepend" ]; then
args=""
while [ $# -gt 0 ]; do
if [ "$1" != "--" ]; then args="$args $1"; fi