aboutsummaryrefslogtreecommitdiff
path: root/devel/m4
diff options
context:
space:
mode:
authorJoseph Koshy <jkoshy@FreeBSD.org>2002-10-11 06:12:42 +0000
committerJoseph Koshy <jkoshy@FreeBSD.org>2002-10-11 06:12:42 +0000
commit17b8b732554d1de83a2f4fd01c30057711b4c300 (patch)
treed68df57d82eb4a99c3f8e138fb8f5b1f3dfb1e76 /devel/m4
parentd12d383e44a85485814286dc4d04326579710baa (diff)
downloadports-17b8b732554d1de83a2f4fd01c30057711b4c300.tar.gz
ports-17b8b732554d1de83a2f4fd01c30057711b4c300.zip
Add a knob, `WITH_CHANGEWORD', that allows GNU m4 to be built with
support for the `changeword' extension.
Notes
Notes: svn path=/head/; revision=67798
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