mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
The FvwmM4 module needs gm4 to function properly.
PR: 32176 Submitted by: Tony Finch <dot@dotat.at>
This commit is contained in:
parent
bf996c4f26
commit
6e512d5377
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=50344
@ -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
|
||||
|
11
x11-wm/fvwm2/files/patch-modules::FvwmM4::FvwmM4.c
Normal file
11
x11-wm/fvwm2/files/patch-modules::FvwmM4::FvwmM4.c
Normal 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 */
|
@ -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
|
||||
|
11
x11-wm/fvwm24/files/patch-modules::FvwmM4::FvwmM4.c
Normal file
11
x11-wm/fvwm24/files/patch-modules::FvwmM4::FvwmM4.c
Normal 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 */
|
Loading…
Reference in New Issue
Block a user