freebsd-ports/devel/imake-4/files/patch-imake::imake.c
Maxim Sobolev 045d1253be imake(1) thinks that the first place where to look for a compiler on FreeBSD
is /usr/local/bin/gcc, which simply is not true. Correct it. Bump
PORTREVISION for imake-4 port (XFree86-4-libraries isn't bumped because this
port doesn't install its own imake binary, but builds it for internal
consumption only).

No reply from:	MAINTAINERs
2002-05-22 14:29:17 +00:00

15 lines
414 B
C

$FreeBSD$
--- imake/imake.c 2002/05/10 23:41:31 1.1
+++ imake/imake.c 2002/05/10 23:42:02
@@ -1161,7 +1161,7 @@
get_gcc_incdir(FILE *inFile)
{
static char* gcc_path[] = {
-#if defined(linux) || defined(__OpenBSD__) || defined (__GNU__)
+#if defined(linux) || defined(__OpenBSD__) || defined (__GNU__) || defined(__FreeBSD__)
"/usr/bin/cc", /* for Linux PostIncDir */
#endif
"/usr/local/bin/gcc",