notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details on branch 2026Q1
m4 GNU M4
1.4.20,1 devel on this many watch lists=662 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 1.4.20,1Version of this port present on the latest quarterly branch.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: unknown
Last Update: 2025-11-05 10:23:37
Commit Hash: a3dcefb
People watching this port, also watch:: gmake, libiconv, expat, gettext, png
License: GPLv3
WWW:
https://www.gnu.org/software/m4/m4.html
Description:
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
pkg-plist: as obtained via: make generate-plist
Expand this list (79 items)
Collapse this list.
  1. /usr/local/share/licenses/m4-1.4.20,1/catalog.mk
  2. /usr/local/share/licenses/m4-1.4.20,1/LICENSE
  3. /usr/local/share/licenses/m4-1.4.20,1/GPLv3
  4. bin/gm4
  5. share/examples/gm4/capitalize.m4
  6. share/examples/gm4/capitalize2.m4
  7. share/examples/gm4/comments.m4
  8. share/examples/gm4/curry.m4
  9. share/examples/gm4/ddivert.m4
  10. share/examples/gm4/debug.m4
  11. share/examples/gm4/esyscmd.m4
  12. share/examples/gm4/exp.m4
  13. share/examples/gm4/file.m4
  14. share/examples/gm4/foreach.m4
  15. share/examples/gm4/foreach2.m4
  16. share/examples/gm4/foreachq.m4
  17. share/examples/gm4/foreachq2.m4
  18. share/examples/gm4/foreachq3.m4
  19. share/examples/gm4/foreachq4.m4
  20. share/examples/gm4/forloop.m4
  21. share/examples/gm4/forloop2.m4
  22. share/examples/gm4/forloop3.m4
  23. share/examples/gm4/fstab.m4
  24. share/examples/gm4/hanoi.m4
  25. share/examples/gm4/incl-test.m4
  26. share/examples/gm4/incl.m4
  27. share/examples/gm4/include.m4
  28. share/examples/gm4/indir.m4
  29. share/examples/gm4/join.m4
  30. share/examples/gm4/loop.m4
  31. share/examples/gm4/misc.m4
  32. share/examples/gm4/multiquotes.m4
  33. share/examples/gm4/patsubst.m4
  34. share/examples/gm4/pushpop.m4
  35. share/examples/gm4/quote.m4
  36. share/examples/gm4/regexp.m4
  37. share/examples/gm4/reverse.m4
  38. share/examples/gm4/stack.m4
  39. share/examples/gm4/stack_sep.m4
  40. share/examples/gm4/sync-lines.m4
  41. share/examples/gm4/sysv-args.m4
  42. share/examples/gm4/trace.m4
  43. share/examples/gm4/translit.m4
  44. share/examples/gm4/undivert.m4
  45. share/examples/gm4/wrap.m4
  46. share/examples/gm4/wrapfifo.m4
  47. share/examples/gm4/wraplifo.m4
  48. share/examples/gm4/wraplifo2.m4
  49. share/locale/bg/LC_MESSAGES/m4.mo
  50. share/locale/cs/LC_MESSAGES/m4.mo
  51. share/locale/da/LC_MESSAGES/m4.mo
  52. share/locale/de/LC_MESSAGES/m4.mo
  53. share/locale/el/LC_MESSAGES/m4.mo
  54. share/locale/eo/LC_MESSAGES/m4.mo
  55. share/locale/es/LC_MESSAGES/m4.mo
  56. share/locale/fi/LC_MESSAGES/m4.mo
  57. share/locale/fr/LC_MESSAGES/m4.mo
  58. share/locale/ga/LC_MESSAGES/m4.mo
  59. share/locale/gl/LC_MESSAGES/m4.mo
  60. share/locale/hr/LC_MESSAGES/m4.mo
  61. share/locale/id/LC_MESSAGES/m4.mo
  62. share/locale/ja/LC_MESSAGES/m4.mo
  63. share/locale/ka/LC_MESSAGES/m4.mo
  64. share/locale/ko/LC_MESSAGES/m4.mo
  65. share/locale/nl/LC_MESSAGES/m4.mo
  66. share/locale/pl/LC_MESSAGES/m4.mo
  67. share/locale/pt_BR/LC_MESSAGES/m4.mo
  68. share/locale/ro/LC_MESSAGES/m4.mo
  69. share/locale/ru/LC_MESSAGES/m4.mo
  70. share/locale/sr/LC_MESSAGES/m4.mo
  71. share/locale/sv/LC_MESSAGES/m4.mo
  72. share/locale/uk/LC_MESSAGES/m4.mo
  73. share/locale/vi/LC_MESSAGES/m4.mo
  74. share/locale/zh_CN/LC_MESSAGES/m4.mo
  75. share/locale/zh_TW/LC_MESSAGES/m4.mo
  76. share/man/man1/gm4.1.gz
  77. @owner
  78. @group
  79. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • m4>0:devel/m4
To install the port:
cd /usr/ports/devel/m4/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/m4
  • pkg install m4
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: m4
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1747715286 SHA256 (m4-1.4.20.tar.xz) = e236ea3a1ccf5f6c270b1c4bb60726f371fa49459a8eaaebc90b216b328daf2b SIZE (m4-1.4.20.tar.xz) = 2044756

Packages (timestamps in pop-ups are UTC):
m4
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest1.4.20,11.4.20,11.4.18_1,11.4.19_1,11.4.20,1n/an/an/a
FreeBSD:13:quarterly1.4.20,11.4.20,11.4.19,11.4.19_1,11.4.20,1n/an/an/a
FreeBSD:14:latest1.4.20,11.4.20,11.4.19,11.4.19_1,11.4.20,11.4.19,1-1.4.19,1
FreeBSD:14:quarterly1.4.20,11.4.20,1-1.4.19_1,11.4.20,11.4.19,11.4.19,11.4.19,1
FreeBSD:15:latest1.4.20,11.4.20,1n/a1.4.19_1,1n/an/a1.4.19_1,11.4.19_1,1
FreeBSD:15:quarterly1.4.20,11.4.20,1n/a-n/an/a--
FreeBSD:16:latest1.4.20,11.4.20,1n/a-n/an/a--
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. makeinfo : print/texinfo
  2. gettext-runtime>=0.22_1 : devel/gettext-runtime
  3. msgfmt : devel/gettext-tools
Runtime dependencies:
  1. indexinfo : print/indexinfo
Library dependencies:
  1. libintl.so : devel/gettext-runtime
This port is required by:
for Build
  1. cad/pcb
  2. databases/mongodb70
  3. databases/mongodb80
  4. devel/autoconf
  5. devel/autoconf2.13
  6. devel/autoconf2.69
  7. devel/bison
Expand this list (39 items / 32 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. devel/ispc
  3. devel/libtool
  4. devel/ppl
  5. devel/rgxg
  6. dns/adns
  7. lang/spidermonkey115
  8. lang/spidermonkey128
  9. lang/spidermonkey140
  10. science/abinit
  11. science/afni
  12. x11-themes/fvwm-themes
  13. Collapse this list.

Deleted ports which required this port:

Expand this list of 21 deleted ports
  1. databases/libgdamm*
  2. devel/autoconf213*
  3. devel/gconfmm*
  4. devel/libbonobomm*
  5. devel/libglademm*
  6. devel/libsigcx*
  7. graphics/amide*
  8. graphics/libgnomecanvasmm*
  9. hungarian/ispell*
  10. java/jdk15*
  11. lang/rakudo*
  12. net/opensips*
  13. net/opensips31*
  14. print/libgnomeprintmm*
  15. security/krb5-111*
  16. security/krb5-maint*
  17. x11/libgnomemm*
  18. x11-toolkits/gtkmm12*
  19. x11-toolkits/libbonobouimm*
  20. x11-toolkits/libgnomeuimm*
  21. x11-toolkits/libpanelappletmm*
  22. Collapse this list of deleted ports.
for Run
  1. cad/pcb
  2. devel/autoconf
  3. devel/autoconf2.13
  4. devel/autoconf2.69
  5. devel/bison
  6. devel/libtool
  7. devel/z88dk
Expand this list (10 items / 3 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. x11-wm/fvwm2
  3. Collapse this list.

Deleted ports which required this port:

Expand this list of 2 deleted ports
  1. devel/autoconf213*
  2. x11-wm/fvwm2-i18n*
  3. Collapse this list of deleted ports.
* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

Configuration Options:
===> The following configuration options are available for m4-1.4.20,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
Options name:
devel_m4
USES:
cpe iconv tar:xz makeinfo gettext
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (10 items)
Collapse this list.
  1. ftp://ftp.fu-berlin.de/unix/gnu/m4/
  2. ftp://ftp.mirrorservice.org/sites/ftp.gnu.org/gnu/m4/
  3. ftp://mirrors.rit.edu/gnu/m4/
  4. http://ftp.halifax.rwth-aachen.de/gnu/m4/
  5. http://mirror.navercorp.com/gnu/m4/
  6. https://ftp.gnu.org/gnu/m4/
  7. https://ftpmirror.gnu.org/m4/
  8. https://mirror.netcologne.de/gnu/m4/
  9. https://mirrors.kernel.org/gnu/m4/
  10. https://www.nic.funet.fi/pub/gnu/gnu/m4/
Collapse this list.

There are no commits on branch 2026Q1 for this port