The FvwmM4 module needs gm4 to function properly.

PR:		32176
Submitted by:	Tony Finch <dot@dotat.at>
This commit is contained in:
Pete Fritchman 2001-11-21 22:52:31 +00:00
parent bf996c4f26
commit 6e512d5377
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=50344
4 changed files with 34 additions and 0 deletions

View file

@ -15,6 +15,8 @@ EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= petef@FreeBSD.org
RUN_DEPENDS= gm4:${PORTSDIR}/devel/m4
USE_GMAKE= yes
USE_GTK= yes
USE_IMLIB= yes
@ -49,6 +51,10 @@ post-extract:
@${MKDIR} ${WRKDIR}/icons
@${TAR} -xzf ${DISTDIR}/fvwm_icons.tgz -C ${WRKDIR}/icons
post-patch:
@${PERL} -pi -e 's,%%LOCALBASE%%,${LOCALBASE},' \
${WRKSRC}/modules/FvwmM4/FvwmM4.c
post-install:
@${INSTALL_DATA} ${WRKSRC}/sample.fvwmrc/system.fvwm2rc \
${PREFIX}/etc/system.fvwm2rc.dist

View file

@ -0,0 +1,11 @@
--- modules/FvwmM4/FvwmM4.c.orig Wed Nov 21 17:46:27 2001
+++ modules/FvwmM4/FvwmM4.c Wed Nov 21 17:47:06 2001
@@ -71,7 +71,7 @@
int m4_prefix_defines; /* Add "m4_" to the names of the defines */
char m4_options[BUFSIZ]; /* Command line options to m4 */
char m4_outfile[BUFSIZ] = ""; /* The output filename for m4 */
-char *m4_prog = "m4"; /* Name of the m4 program */
+char *m4_prog = "%%LOCALBASE%%/bin/gm4"; /* Name of the m4 program */
int m4_default_quotes; /* Use default m4 quotes */
char *m4_startquote = "`"; /* Left quote characters for m4 */
char *m4_endquote = "'"; /* Right quote characters for m4 */

View file

@ -15,6 +15,8 @@ EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= petef@FreeBSD.org
RUN_DEPENDS= gm4:${PORTSDIR}/devel/m4
USE_GMAKE= yes
USE_GTK= yes
USE_IMLIB= yes
@ -49,6 +51,10 @@ post-extract:
@${MKDIR} ${WRKDIR}/icons
@${TAR} -xzf ${DISTDIR}/fvwm_icons.tgz -C ${WRKDIR}/icons
post-patch:
@${PERL} -pi -e 's,%%LOCALBASE%%,${LOCALBASE},' \
${WRKSRC}/modules/FvwmM4/FvwmM4.c
post-install:
@${INSTALL_DATA} ${WRKSRC}/sample.fvwmrc/system.fvwm2rc \
${PREFIX}/etc/system.fvwm2rc.dist

View file

@ -0,0 +1,11 @@
--- modules/FvwmM4/FvwmM4.c.orig Wed Nov 21 17:46:27 2001
+++ modules/FvwmM4/FvwmM4.c Wed Nov 21 17:47:06 2001
@@ -71,7 +71,7 @@
int m4_prefix_defines; /* Add "m4_" to the names of the defines */
char m4_options[BUFSIZ]; /* Command line options to m4 */
char m4_outfile[BUFSIZ] = ""; /* The output filename for m4 */
-char *m4_prog = "m4"; /* Name of the m4 program */
+char *m4_prog = "%%LOCALBASE%%/bin/gm4"; /* Name of the m4 program */
int m4_default_quotes; /* Use default m4 quotes */
char *m4_startquote = "`"; /* Left quote characters for m4 */
char *m4_endquote = "'"; /* Right quote characters for m4 */