diff options
-rw-r--r-- | devel/gccmakedep/Makefile | 16 | ||||
-rw-r--r-- | devel/gccmakedep/files/patch-gccmdep.cpp | 11 |
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 |