ports/cad/jspice3/files/patch-conf_util_configure
John Marino 643f83a81d Stage cad/jspice3 and unbreak on FreeBSD 10+
It would have been easy just to set this to "USE_GCC=any" to fix it,
but the code had plenty of undefined returns when a type was expected.
Using clang exposed those problems.  Hopefully I defined the missing
return values correctly.
2014-08-18 08:32:20 +00:00

15 lines
304 B
Text

--- conf/util/configure.orig 2002-01-15 19:21:25.000000000 +0000
+++ conf/util/configure
@@ -805,11 +805,7 @@ else
fi
-if test "$GCC" = yes; then
- DEPEND_PROG="gcc -MM"
-else
- DEPEND_PROG="cc -M"
-fi
+DEPEND_PROG="cc -MM"
if test -x /usr/ucb/install; then
INSTALL="/usr/ucb/install"