diff options
author | lme <lme@FreeBSD.org> | 2011-10-09 19:44:51 +0800 |
---|---|---|
committer | lme <lme@FreeBSD.org> | 2011-10-09 19:44:51 +0800 |
commit | 4c1492d012ad0437676815ca404f1d827a1e020e (patch) | |
tree | e503c94ff43450fb6e2e4b167a2e11f493fd2368 /devel | |
parent | 208b5036e78de08efc1b1d4b6466f81d2348fe84 (diff) | |
download | freebsd-ports-gnome-4c1492d012ad0437676815ca404f1d827a1e020e.tar.gz freebsd-ports-gnome-4c1492d012ad0437676815ca404f1d827a1e020e.tar.zst freebsd-ports-gnome-4c1492d012ad0437676815ca404f1d827a1e020e.zip |
Add USE_GCC=4.4+ to fix build in UTF-8 environments
PR: ports/161036
Reported by: Aldis Berjoza <graudeejs@gmail.com>
Patch by: Vaclav Zeman
Reviewed by: ed
Approved by: maintainer (me)
Diffstat (limited to 'devel')
-rw-r--r-- | devel/astyle/Makefile | 4 |
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) |