summaryrefslogtreecommitdiff
path: root/news
diff options
context:
space:
mode:
authorJohan van Selst <johans@FreeBSD.org>2012-06-27 19:52:13 +0000
committerJohan van Selst <johans@FreeBSD.org>2012-06-27 19:52:13 +0000
commita61925225764f1ab64e31639eae169eb529c7758 (patch)
tree75a63eed7f902250d8003350b2b37ac8f92bb384 /news
parent- Mark BROKEN: does not package (diff)
Convert to new options framework
Notes
Notes: svn path=/head/; revision=300111
Diffstat (limited to 'news')
-rw-r--r--news/slrn/Makefile8
-rw-r--r--news/tin/Makefile2
2 files changed, 5 insertions, 5 deletions
diff --git a/news/slrn/Makefile b/news/slrn/Makefile
index 79d63230c272..024eaf76a56c 100644
--- a/news/slrn/Makefile
+++ b/news/slrn/Makefile
@@ -30,12 +30,12 @@ OPTIONS_DEFAULT=SSL
.include <bsd.port.options.mk>
-.if defined(WITHOUT_NLS)
-CONFIGURE_ARGS+= --disable-nls
-PLIST_SUB+= NLS="@comment "
-.else
+.if ${PORT_OPTIONS:MNLS}
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
+.else
+CONFIGURE_ARGS+= --disable-nls
+PLIST_SUB+= NLS="@comment "
.endif
GNU_CONFIGURE= yes
diff --git a/news/tin/Makefile b/news/tin/Makefile
index 6e54ab5374cc..47213bdab0ee 100644
--- a/news/tin/Makefile
+++ b/news/tin/Makefile
@@ -119,7 +119,7 @@ post-patch:
${WRKSRC}/tools/tinurl_handler.pl
post-build:
-.ifndef WITHOUT_NLS
+.if ${PORT_OPTIONS:MNLS}
cd ${WRKSRC}/po; ${GMAKE}
.endif