mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
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
This commit is contained in:
parent
8e56757b5f
commit
045d1253be
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=59702
@ -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 \
|
||||
|
14
devel/imake-4/files/patch-imake::imake.c
Normal file
14
devel/imake-4/files/patch-imake::imake.c
Normal file
@ -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",
|
@ -1,6 +1,18 @@
|
||||
--- config/imake/imake.c.ORIG Mon Dec 18 14:54:34 2000
|
||||
+++ config/imake/imake.c Mon Dec 18 14:55:25 2000
|
||||
@@ -1208,6 +1208,19 @@
|
||||
|
||||
$FreeBSD$
|
||||
|
||||
--- config/imake/imake.c.orig Fri Dec 14 21:53:18 2001
|
||||
+++ config/imake/imake.c Sat May 11 03:03:51 2002
|
||||
@@ -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",
|
||||
@@ -1207,6 +1207,19 @@
|
||||
if (uname(&name) < 0)
|
||||
LogFatal("Cannot invoke uname", "");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user