aboutsummaryrefslogtreecommitdiff
path: root/textproc/flex
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/flex')
-rw-r--r--textproc/flex/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/textproc/flex/Makefile b/textproc/flex/Makefile
index 90cdc8157a19..5a62260f9ab8 100644
--- a/textproc/flex/Makefile
+++ b/textproc/flex/Makefile
@@ -26,7 +26,9 @@ USE_GMAKE= yes
MAN1= flex.1
INFO= flex
-.if !defined(WITHOUT_NLS)
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MNLS}
USE_ICONV= yes
USE_GETTEXT= yes
PLIST_SUB+= NLS=""