aboutsummaryrefslogtreecommitdiff
path: root/misc/pinfo/Makefile
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2004-03-25 12:07:44 +0000
committerKris Kennaway <kris@FreeBSD.org>2004-03-25 12:07:44 +0000
commit5e5eacdbfbf0ecf459ee3b3a7bd18734daf71e2f (patch)
treeb7dc0804f5479507332ec4729aae47e5be1440cc /misc/pinfo/Makefile
parent563748f353961ea2175665d74ee026e99a49489e (diff)
Notes
Diffstat (limited to 'misc/pinfo/Makefile')
-rw-r--r--misc/pinfo/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/misc/pinfo/Makefile b/misc/pinfo/Makefile
index b16381194efb..9e2644ba2054 100644
--- a/misc/pinfo/Makefile
+++ b/misc/pinfo/Makefile
@@ -19,7 +19,14 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --with-readline \
--with-localedir=${PREFIX}/share/locale
+
+.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
+PLIST_SUB+= NLS=""
+.else
+CONFIGURE_ARGS+=--disable-nls
+PLIST_SUB+= NLS="@comment "
+.endif
MAN1= pinfo.1
INFO= pinfo