ports/182033: [maintainer] make devel/wordgrinder build when gcc is missing
Vitaly Magerya
vmagerya at gmail.com
Thu Sep 26 15:50:02 UTC 2013
The following reply was made to PR ports/182033; it has been noted by GNATS.
From: Vitaly Magerya <vmagerya at gmail.com>
To: bug-followup at FreeBSD.org
Cc:
Subject: Re: ports/182033: [maintainer] make devel/wordgrinder build when
gcc is missing
Date: Thu, 26 Sep 2013 18:46:58 +0300
This is a multi-part message in MIME format.
--------------040209030807070001090701
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Here's an updated patch with new MASTER_SITE_SUBDIR; it must have
changed at some point.
BTW, it's 'editors/wordgrinder', not 'devel/wordgrinder'.
You can find redports logs at [1]. Unfortunately, 10-CURRENT machines
seem to be down at the moment, so no logs for that.
Also, may I note that pkg-fallout@ messages about this port are getting
boring, considering that a fix is already submitted?
[1] https://redports.org/buildarchive/20130926120300-53781/
--------------040209030807070001090701
Content-Type: text/plain; charset=UTF-8;
name="wordgrinder.diff.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="wordgrinder.diff.txt"
diff -ruN wordgrinder.orig/Makefile wordgrinder/Makefile
--- wordgrinder.orig/Makefile 2013-09-20 19:36:23.000000000 +0300
+++ wordgrinder/Makefile 2013-09-26 15:01:12.000000000 +0300
@@ -5,18 +5,19 @@
PORTVERSION= 0.3.3
CATEGORIES= editors
MASTER_SITES= SF
+MASTER_SITE_SUBDIR=${PORTNAME}/${PORTNAME}
MAINTAINER= vmagerya at 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 +35,8 @@
${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)
--------------040209030807070001090701--
More information about the freebsd-ports-bugs
mailing list