aboutsummaryrefslogtreecommitdiffstats
path: root/devel/bison/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/bison/Makefile')
-rw-r--r--devel/bison/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/devel/bison/Makefile b/devel/bison/Makefile
index 7e4788391e47..ab140a0042eb 100644
--- a/devel/bison/Makefile
+++ b/devel/bison/Makefile
@@ -44,6 +44,9 @@ PLIST_SUB+= NLS=""
post-extract:
@${RM} -f ${WRKSRC}/doc/bison.info*
@${REINPLACE_CMD} 's/MANS = yacc.1/MANS =/' ${WRKSRC}/doc/Makefile.in
+.if defined(WITHOUT_NLS)
+ @${REINPLACE_CMD} 's/ install-exec-local//' ${WRKSRC}/lib/Makefile.in
+.endif
#
# Requires texinfo 4.8 or above