mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-26 09:46:09 +00:00
629fa6a914
PR: ports/110743 Submitted by: Matthew D. Fuller <fullermd@over-yonder.net> (maintainer)
30 lines
817 B
Plaintext
30 lines
817 B
Plaintext
$FreeBSD$
|
|
|
|
--- Imakefile.orig Thu May 5 08:22:40 2005
|
|
+++ Imakefile Mon May 9 19:30:45 2005
|
|
@@ -67,10 +67,12 @@
|
|
#endif
|
|
|
|
#if defined USE_M4 || defined USEM4
|
|
+ M4PROGNAME = gm4
|
|
+ M4PROG = $(LOCALBASE)/bin/$(M4PROGNAME)
|
|
M4LIBDIR =
|
|
M4INCDIR =
|
|
|
|
- M4DEFINES = -DUSEM4
|
|
+ M4DEFINES = -DUSEM4 -DM4PROG=\"$(M4PROG)\" -DM4PROGNAME=\"$(M4PROGNAME)\"
|
|
M4LIB = $(M4LIBDIR)
|
|
#else
|
|
M4LIBDIR =
|
|
--- parse.c.orig Fri Feb 16 03:24:27 2007
|
|
+++ parse.c Sun Mar 4 18:36:18 2007
|
|
@@ -2128,7 +2128,7 @@
|
|
dup2(fids[1], 1); /* stdout = pipe to parent */
|
|
/* get_defs("m4", dpy, display_name) */
|
|
tmp_file = m4_defs(dpy, display_name);
|
|
- execlp("m4", "m4",
|
|
+ execlp(M4PROG, M4PROGNAME,
|
|
#if !defined(__NetBSD__)
|
|
"-s",
|
|
#endif
|