summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2002-05-22 14:29:17 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2002-05-22 14:29:17 +0000
commit045d1253beb189b23ac0fd6dcfaa8d38ddfa1345 (patch)
tree0ba82c7db8337ba76f7ff4ff767749af6d4ccef7 /devel
parentupgrade to 1.2 (diff)
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
Notes
Notes: svn path=/head/; revision=59702
Diffstat (limited to 'devel')
-rw-r--r--devel/imake-4/Makefile1
-rw-r--r--devel/imake-4/files/patch-imake::imake.c14
2 files changed, 15 insertions, 0 deletions
diff --git a/devel/imake-4/Makefile b/devel/imake-4/Makefile
index 71d43c7f818d..760641627265 100644
--- a/devel/imake-4/Makefile
+++ b/devel/imake-4/Makefile
@@ -7,6 +7,7 @@
PORTNAME= imake
PORTVERSION= 4.2.0
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_XFREE} \
ftp://psych.psy.uq.oz.au/pub/X11R5/:wrap \
diff --git a/devel/imake-4/files/patch-imake::imake.c b/devel/imake-4/files/patch-imake::imake.c
new file mode 100644
index 000000000000..c44270e175c0
--- /dev/null
+++ b/devel/imake-4/files/patch-imake::imake.c
@@ -0,0 +1,14 @@
+
+$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",