aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-06-28 15:01:57 +0800
committerbapt <bapt@FreeBSD.org>2013-06-28 15:01:57 +0800
commitfa2f77797955d43889c739f632497f10f835cac8 (patch)
tree1586ff14a75c10186a49212c572eb5fea2a47312 /devel
parent646a00d86d5c747f2f3d74a01c0d72a8efacca24 (diff)
downloadfreebsd-ports-gnome-fa2f77797955d43889c739f632497f10f835cac8.tar.gz
freebsd-ports-gnome-fa2f77797955d43889c739f632497f10f835cac8.tar.zst
freebsd-ports-gnome-fa2f77797955d43889c739f632497f10f835cac8.zip
the build system perfectly do support clang cpp as a preprocessor.
modify gccmakedep so that it respect CC bump port revision With hat: x11
Diffstat (limited to 'devel')
-rw-r--r--devel/gccmakedep/Makefile16
-rw-r--r--devel/gccmakedep/files/patch-gccmdep.cpp11
2 files changed, 14 insertions, 13 deletions
diff --git a/devel/gccmakedep/Makefile b/devel/gccmakedep/Makefile
index 07c3ef36a154..6f4916fbfb2c 100644
--- a/devel/gccmakedep/Makefile
+++ b/devel/gccmakedep/Makefile
@@ -1,8 +1,9 @@
-# Created by: Dave Grochowski
+# Created by: Dave Grochowski
# $FreeBSD$
PORTNAME= gccmakedep
PORTVERSION= 1.0.2
+PORTREVISION= 1
CATEGORIES= devel
MAINTAINER= x11@FreeBSD.org
@@ -14,15 +15,4 @@ MAN1= gccmakedep.1
PLIST_FILES= bin/gccmakedep
-.include <bsd.port.pre.mk>
-
-# Attempt to force use of GNU cpp, if it is installed as /usr/bin/gcpp.
-.if (${OSVERSION} >= 900506 && ${OSVERSION} < 1000000) || \
- ${OSVERSION} >= 1000010
-CONFIGURE_ENV+= ac_cv_path_RAWCPP="gcpp"
-.endif
-
-post-patch:
- @${REINPLACE_CMD} 's/test.*-traditional.*;/true;/' ${WRKSRC}/configure
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/devel/gccmakedep/files/patch-gccmdep.cpp b/devel/gccmakedep/files/patch-gccmdep.cpp
new file mode 100644
index 000000000000..a5d96fdc95a9
--- /dev/null
+++ b/devel/gccmakedep/files/patch-gccmdep.cpp
@@ -0,0 +1,11 @@
+--- ./gccmdep.cpp.orig 2013-06-28 08:58:38.395121863 +0200
++++ ./gccmdep.cpp 2013-06-28 08:57:53.213147106 +0200
+@@ -9,7 +9,7 @@
+ XCOMM
+
+ TMP=mdep$$.tmp
+-CC=CCCMD
++CC=${CC:-CCCMD}
+ RM=RMCMD
+ LN=LNCMD
+ MV=MVCMD