summaryrefslogtreecommitdiffstats
path: root/editors/ssed/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'editors/ssed/Makefile')
-rw-r--r--editors/ssed/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/editors/ssed/Makefile b/editors/ssed/Makefile
index e1ec6be1..808194c 100644
--- a/editors/ssed/Makefile
+++ b/editors/ssed/Makefile
@@ -17,10 +17,17 @@ COMMENT= Super-sed is a heavily enhanced version of sed
LIB_DEPENDS= iconv:${PORTSDIR}/converters/libiconv
-USE_GETTEXT= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-libiconv-prefix=${LOCALBASE} --program-prefix=s
MAN1= ssed.1
+.if !defined(WITHOUT_NLS)
+USE_GETTEXT= yes
+PLIST_SUB+= NLS=""
+.else
+CONFIGURE_ARGS+=--disable-nls
+PLIST_SUB+= NLS="@comment "
+.endif
+
.include <bsd.port.mk>
OpenPOWER on IntegriCloud