aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/flex
diff options
context:
space:
mode:
authorjohans <johans@FreeBSD.org>2012-06-28 03:52:13 +0800
committerjohans <johans@FreeBSD.org>2012-06-28 03:52:13 +0800
commit65aec6f1482cdbbcff15593ddd76dbc8010a8525 (patch)
tree00379e637907602d3fa097ccab787fbd98953ef4 /textproc/flex
parent07eda3852bc78d11f86e85e0ee88cefbc606f615 (diff)
downloadfreebsd-ports-gnome-65aec6f1482cdbbcff15593ddd76dbc8010a8525.tar.gz
freebsd-ports-gnome-65aec6f1482cdbbcff15593ddd76dbc8010a8525.tar.zst
freebsd-ports-gnome-65aec6f1482cdbbcff15593ddd76dbc8010a8525.zip
Convert to new options framework
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=""