aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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