diff options
author | Cy Schubert <cy@FreeBSD.org> | 2002-09-14 00:54:55 +0000 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2002-09-14 00:54:55 +0000 |
commit | eec7fd0b106c90ade2ae475dc9419dd2c6d66b60 (patch) | |
tree | c053e8d51f3e9a7cb26ea96036fe1ca602cc0193 /x11-wm | |
parent | ${PERL} -> ${REINPLACE_CMD} (diff) |
${PERL} -> ${REINPLACE_CMD}
Fully qualify the path to GNU M4 FvwmM4.
Notes
Notes:
svn path=/head/; revision=66286
Diffstat (limited to 'x11-wm')
-rw-r--r-- | x11-wm/fvwm2-devel/Makefile | 3 | ||||
-rw-r--r-- | x11-wm/fvwm2-devel/files/patch-FvwmM4.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/x11-wm/fvwm2-devel/Makefile b/x11-wm/fvwm2-devel/Makefile index 640a6707c49b..976080d00e1d 100644 --- a/x11-wm/fvwm2-devel/Makefile +++ b/x11-wm/fvwm2-devel/Makefile @@ -21,6 +21,7 @@ RUN_DEPENDS= gm4:${PORTSDIR}/devel/m4 LIB_DEPENDS+= stroke.0:${PORTSDIR}/devel/libstroke .endif +USE_REINPLACE= yes USE_GMAKE= yes USE_XPM= yes USE_X_PREFIX= yes @@ -75,7 +76,7 @@ post-extract: @${TAR} -xzf ${DISTDIR}/fvwm_icons.tgz -C ${WRKDIR}/icons post-patch: - @${PERL} -pi -e 's,%%LOCALBASE%%,${LOCALBASE},' \ + @${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},' \ ${WRKSRC}/modules/FvwmM4/FvwmM4.c post-install: diff --git a/x11-wm/fvwm2-devel/files/patch-FvwmM4.c b/x11-wm/fvwm2-devel/files/patch-FvwmM4.c index 9956b198e40d..27962df6845c 100644 --- a/x11-wm/fvwm2-devel/files/patch-FvwmM4.c +++ b/x11-wm/fvwm2-devel/files/patch-FvwmM4.c @@ -5,7 +5,7 @@ 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 = "gm4"; /* 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 */ |