aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2014-09-24 21:38:28 +0800
committermarino <marino@FreeBSD.org>2014-09-24 21:38:28 +0800
commit13413445c3ac1c59a9601147a875e0a7be06e470 (patch)
treeb943c43bc0c49d3774a548339adeb9d827e72901
parent7e2f877736659c0ce620435d01438dcb3beca868 (diff)
downloadfreebsd-ports-gnome-13413445c3ac1c59a9601147a875e0a7be06e470.tar.gz
freebsd-ports-gnome-13413445c3ac1c59a9601147a875e0a7be06e470.tar.zst
freebsd-ports-gnome-13413445c3ac1c59a9601147a875e0a7be06e470.zip
astro/xtide: Add support for non-ports GCC
This port requires GCC, so it loads the lang/gcc. The ports GCC will look in /usr/local/include by default, but others (such as DF base compiler) will not. Specify -I${LOCALBASE}/include in CFLAGS explicitly as it is needed to locate the X11/Xaw/Box.h header. This is covered by "Just Fix It" blanket.
-rw-r--r--astro/xtide/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/astro/xtide/Makefile b/astro/xtide/Makefile
index 6479b5d43552..020461bad10e 100644
--- a/astro/xtide/Makefile
+++ b/astro/xtide/Makefile
@@ -49,6 +49,7 @@ PLIST_SUB+= X11="@comment "
.else
USE_XORG+= xpm xaw
PLIST_SUB+= X11=""
+CFLAGS+= -I${LOCALBASE}/include
.endif
post-extract: