GNU M4 is an implementation of the traditional Unix macro processor. It is
mostly SVR4 compatible although it has some extensions (for example, handling
more than 9 positional parameters to macros). GNU M4 also has built-in functions
for including files, running shell commands, doing arithmetic, etc.
GNU M4 is a macro processor in the sense that it copies its input to the output
expanding macros as it goes. Macros are either builtin or user-defined and can
take any number of arguments. Besides just doing macro expansion, m4 has builtin
functions for including named files, running UNIX commands, doing integer
arithmetic, manipulating text in various ways, recursion etc... m4 can be used
either as a front-end to a compiler or as a macro processor in its own right.
One of the biggest users of GNU M4 is the GNU Autoconf project.
===> The following configuration options are available for m4-1.4.21,1:
EXAMPLES=on: Build and/or install examples
INFO=on: Build and/or install GNU info pages
LIBSIGSEGV=off: Use alternative page fault handler (GNU libsigsegv)
NLS=on: Native Language Support
===> Use 'make config' to modify these settings
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
Drop workaround for qemu-user-static hang after r517350
GSlice as used by qemu-user still aborts due to low RLIMIT_VMEM in an
emulated application but no longer hangs. While the behavior differs
from real hardware it matches the one from before r456518 that was
hardcoded as gl_cv_func_printf_enomem=no workaround.
PR: 224740
Install texinfo files (GNU info) into ${PREFIX}/share/info
After a discussion on the mailing list on moving manpages to
${PREFIX}/share/man for consistency with base where it is
installed in usr/share/man, it appeared the same should happen
to GNU info files which were installed under share in base and
not in ports.
Now texinfo is not in base on any of the supported version of FreeBSD
it is possible to proceed to this move and it is easier to do than
the manpage change.
Other benefit than consistency are less patching: all build tools but
cmake are expecting info files to be under share/info and cmake (patched here)
was having an exception for BSD so the patch makes FreeBSD case less
specific for them
Bump revision of all impacted ports
PR: 232907
exp-run by: antoine
Differential Revision: https://reviews.freebsd.org/D17816
- Bump PORTREVISION due to changed dependencies in previous commit.
This causes problems in tinderbox and possibly in other environments as well.
Reported by: wen
- Partially revert previous commit that unintentionally switched the
default of the LIBSIGSEGV option. Now turned off again.
Reported by: Niclas Zeising <zeising@daemonic.se>
Update to 1.4.14 (bugfix release mostly)
Remove patch that's now included in upstream release;
add gnulib patch for posix_spawn check (will be in next release)
PR: ports/144314
Tested by: exp-run by pav (twice)
- Update to 1.4.12
- Add optional libsigsegv support
- Take over maintainership from ade
Thanks to pav for an exp-run on pointyhat
PR: ports/131618
Approved by: portmgr (marcus, pav)
- Set --mandir and --infodir in CONFIGURE_ARGS if the configure script
supports them. This is determined by running ``configure --help'' in
do-configure target and set the shell variable _LATE_CONFIGURE_ARGS
which is then passed to CONFIGURE_ARGS.
- Remove --mandir and --infodir in ports' Makefile where applicable
Few ports use REINPLACE_CMD to achieve the same effect, remove them too.
- Correct some manual pages location from PREFIX/man to MANPREFIX/man
- Define INFO_PATH where necessary
- Document that .info files are installed in a subdirectory relative to
PREFIX/INFO_PATH and slightly change add-plist-info to use INFO_PATH and
subdirectory detection.
PR: ports/111470
Approved by: portmgr
Discussed with: stas (Mk/*), gerald (info related stuffs)
Tested by: pointyhat exp run
Update to 1.4.1:
- maketemp now creates an empty file with the given name, instead of merely
returning the name of a nonexistent file. This closes a security hole.
- minor fixes, port passes all checks
- use INFO-macro
- strip cruft from pkg-descr; add WWW:
- pet portlint
Fix a format string vulnerability. Note that others might still be lurking
inside the m4 code, this is just a quick fix for the one reported on BugTraq.