aboutsummaryrefslogtreecommitdiff
path: root/mail/claws-mail-rssyl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/claws-mail-rssyl/Makefile')
-rw-r--r--mail/claws-mail-rssyl/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/mail/claws-mail-rssyl/Makefile b/mail/claws-mail-rssyl/Makefile
index 718e808bdc2f..64e714eb620e 100644
--- a/mail/claws-mail-rssyl/Makefile
+++ b/mail/claws-mail-rssyl/Makefile
@@ -32,12 +32,14 @@ LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --with-libiconv-prefix=${LOCALBASE} \
--with-libintl-prefix=${LOCALBASE}
-.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
.include <bsd.port.mk>