aboutsummaryrefslogtreecommitdiffstats
path: root/comms/efax-gtk/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'comms/efax-gtk/Makefile')
-rw-r--r--comms/efax-gtk/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/comms/efax-gtk/Makefile b/comms/efax-gtk/Makefile
index 543d80d800e1..35921ca97a34 100644
--- a/comms/efax-gtk/Makefile
+++ b/comms/efax-gtk/Makefile
@@ -38,12 +38,14 @@ LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} -lintl
CONFIGURE_ARGS+=--with-gtk-version=gtk2
-.if defined(WITHOUT_NLS)
-CONFIGURE_ARGS+=--disable-nls
-PLIST_SUB+= NLS="@comment "
-.else
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MNLS}
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
+.else
+CONFIGURE_ARGS+=--disable-nls
+PLIST_SUB+= NLS="@comment "
.endif
post-install: