aboutsummaryrefslogtreecommitdiffstats
path: root/devel/m4
diff options
context:
space:
mode:
authorjkoshy <jkoshy@FreeBSD.org>2002-10-11 14:12:42 +0800
committerjkoshy <jkoshy@FreeBSD.org>2002-10-11 14:12:42 +0800
commitf12f23dd8ddad8f1c1c5f63c84cf9c9a750ce0eb (patch)
tree95d05f42eaed02e3ab74826f4873bdf3316426fa /devel/m4
parentb937d413fa81019e109e0e5892a3306afc571c7d (diff)
downloadfreebsd-ports-gnome-f12f23dd8ddad8f1c1c5f63c84cf9c9a750ce0eb.tar.gz
freebsd-ports-gnome-f12f23dd8ddad8f1c1c5f63c84cf9c9a750ce0eb.tar.zst
freebsd-ports-gnome-f12f23dd8ddad8f1c1c5f63c84cf9c9a750ce0eb.zip
Add a knob, `WITH_CHANGEWORD', that allows GNU m4 to be built with
support for the `changeword' extension.
Diffstat (limited to 'devel/m4')
-rw-r--r--devel/m4/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/devel/m4/Makefile b/devel/m4/Makefile
index 7cee4bc4ba78..231ff139f806 100644
--- a/devel/m4/Makefile
+++ b/devel/m4/Makefile
@@ -17,6 +17,10 @@ MAINTAINER= ports@FreeBSD.org
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --program-prefix=g
+.if defined(WITH_CHANGEWORD)
+CONFIGURE_ARGS+= --enable-changeword
+.endif
+
post-install:
@${MKDIR} ${PREFIX}/share/examples/gm4
${INSTALL_DATA} ${WRKSRC}/examples/*.m4 ${PREFIX}/share/examples/gm4