diff options
author | petef <petef@FreeBSD.org> | 2001-11-22 06:52:31 +0800 |
---|---|---|
committer | petef <petef@FreeBSD.org> | 2001-11-22 06:52:31 +0800 |
commit | 2c333564fa58f20b429fd0b5a7a9be7dc5011f88 (patch) | |
tree | 339aa579655e4ba519aa2f7c3371f59119e273d3 /x11-wm/fvwm24 | |
parent | f1ef7bb8f11b89848200991c3a50ca66fa493549 (diff) | |
download | freebsd-ports-gnome-2c333564fa58f20b429fd0b5a7a9be7dc5011f88.tar.gz freebsd-ports-gnome-2c333564fa58f20b429fd0b5a7a9be7dc5011f88.tar.zst freebsd-ports-gnome-2c333564fa58f20b429fd0b5a7a9be7dc5011f88.zip |
The FvwmM4 module needs gm4 to function properly.
PR: 32176
Submitted by: Tony Finch <dot@dotat.at>
Diffstat (limited to 'x11-wm/fvwm24')
-rw-r--r-- | x11-wm/fvwm24/Makefile | 6 | ||||
-rw-r--r-- | x11-wm/fvwm24/files/patch-modules::FvwmM4::FvwmM4.c | 11 |
2 files changed, 17 insertions, 0 deletions
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 */ |