Remove hardcoded gcc

PR:		ports/182033
Approved by:	swills (mentor, implicit)
This commit is contained in:
Mark Felder 2013-11-03 00:46:39 +00:00
parent f8096961c8
commit 330c7a4e7f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=332568

View File

@ -9,14 +9,14 @@ MASTER_SITES= SF
MAINTAINER= vmagerya@gmail.com
COMMENT= A simple Unicode-aware console-based word processor
LICENSE= MIT
RUN_DEPENDS= ${LUA_MODLIBDIR}/lfs.so:${PORTSDIR}/devel/luafilesystem
USE_LUA= 5.1+
USE_BZIP2= yes
LICENSE= MIT
MAN1= wordgrinder.1
PLIST_DIRS= share/doc/wordgrinder
@ -34,6 +34,8 @@ post-patch:
${WRKSRC}/pmfile
${REINPLACE_CMD} 's,^LUACOMPILER =.*$$,LUACOMPILER = "${LUAC_CMD}",' \
${WRKSRC}/tools/lua.pm
${REINPLACE_CMD} "/CCOMPILER = /s,gcc,cc ," ${WRKSRC}/tools/c.pm
${REINPLACE_CMD} "/CC=/s,gcc,cc ," ${WRKSRC}/pm
do-build:
(cd ${WRKSRC}; ./pm)