aboutsummaryrefslogtreecommitdiff
path: root/devel/astyle
diff options
context:
space:
mode:
authorLars Engels <lme@FreeBSD.org>2011-10-09 11:44:51 +0000
committerLars Engels <lme@FreeBSD.org>2011-10-09 11:44:51 +0000
commit18b9ec876eabdc9e602a50fb5dfbaef0d3666abb (patch)
treea215af81e232513d44b52ef3b2e77e27781ae31b /devel/astyle
parentd546fb950d889a09a16982ee4ace9f72d82db46c (diff)
downloadports-18b9ec876eabdc9e602a50fb5dfbaef0d3666abb.tar.gz
ports-18b9ec876eabdc9e602a50fb5dfbaef0d3666abb.zip
Notes
Diffstat (limited to 'devel/astyle')
-rw-r--r--devel/astyle/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/astyle/Makefile b/devel/astyle/Makefile
index 99486f327071..99ae3aa0a2d7 100644
--- a/devel/astyle/Makefile
+++ b/devel/astyle/Makefile
@@ -19,12 +19,12 @@ CFLAGS+= -W -Wall -fno-rtti -fno-exceptions
LDFLAGS+= -s
MAKE_ARGS+= CFLAGS="${CFLAGS}"
USE_GMAKE= yes
+USE_GCC= 4.4+
WRKSRC= ${WRKDIR}/astyle/build/gcc
pre-patch:
- ${REINPLACE_CMD} -e 's,^CFLAGS,#CFLAGS,; s,g++,${CXX},;' ${WRKSRC}/Makefile
- ${REINPLACE_CMD} -e 's,^.../\*,/*,' ${WRKDIR}/astyle/src/ASLocalizer.cpp
+ @${REINPLACE_CMD} -e 's,^CFLAGS,#CFLAGS,; s,g++,${CXX},;' ${WRKSRC}/Makefile
PLIST_FILES= bin/astyle
.if !defined(NOPORTDOCS)