aboutsummaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2001-11-21 22:52:31 +0000
committerPete Fritchman <petef@FreeBSD.org>2001-11-21 22:52:31 +0000
commit6e512d537750f94edf4ca1d4337d6bf2d9d7c2f9 (patch)
treea4b2084f35c8dc08a8bc0ceca4268c8b2d3eaffa /x11-wm
parentbf996c4f268db28ca8e13a4a2c62a9bcc46b4995 (diff)
downloadports-6e512d537750f94edf4ca1d4337d6bf2d9d7c2f9.tar.gz
ports-6e512d537750f94edf4ca1d4337d6bf2d9d7c2f9.zip
Notes
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/fvwm2/Makefile6
-rw-r--r--x11-wm/fvwm2/files/patch-modules::FvwmM4::FvwmM4.c11
-rw-r--r--x11-wm/fvwm24/Makefile6
-rw-r--r--x11-wm/fvwm24/files/patch-modules::FvwmM4::FvwmM4.c11
4 files changed, 34 insertions, 0 deletions
diff --git a/x11-wm/fvwm2/Makefile b/x11-wm/fvwm2/Makefile
index a7a728a0ff28..6ec731bf428b 100644
--- a/x11-wm/fvwm2/Makefile
+++ b/x11-wm/fvwm2/Makefile
@@ -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
diff --git a/x11-wm/fvwm2/files/patch-modules::FvwmM4::FvwmM4.c b/x11-wm/fvwm2/files/patch-modules::FvwmM4::FvwmM4.c
new file mode 100644
index 000000000000..9a104c20023f
--- /dev/null
+++ b/x11-wm/fvwm2/files/patch-modules::FvwmM4::FvwmM4.c
@@ -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 */
diff --git a/x11-wm/fvwm24/Makefile b/x11-wm/fvwm24/Makefile
index a7a728a0ff28..6ec731bf428b 100644
--- a/x11-wm/fvwm24/Makefile
+++ b/x11-wm/fvwm24/Makefile
@@ -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
diff --git a/x11-wm/fvwm24/files/patch-modules::FvwmM4::FvwmM4.c b/x11-wm/fvwm24/files/patch-modules::FvwmM4::FvwmM4.c
new file mode 100644
index 000000000000..9a104c20023f
--- /dev/null
+++ b/x11-wm/fvwm24/files/patch-modules::FvwmM4::FvwmM4.c
@@ -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 */