aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/progsreiserfs
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-05-06 17:07:58 +0800
committerbapt <bapt@FreeBSD.org>2013-05-06 17:07:58 +0800
commitfbe03cf94ebb9782d85b83b7ad3bb6cb50c4b38b (patch)
tree20ce818981a1c16901fb0154cfeb10e7887519be /sysutils/progsreiserfs
parent642291efe4ac5378374377236de08db97df7f1ed (diff)
downloadfreebsd-ports-gnome-fbe03cf94ebb9782d85b83b7ad3bb6cb50c4b38b.tar.gz
freebsd-ports-gnome-fbe03cf94ebb9782d85b83b7ad3bb6cb50c4b38b.tar.zst
freebsd-ports-gnome-fbe03cf94ebb9782d85b83b7ad3bb6cb50c4b38b.zip
Finish converting sysutils from WITHOUT_NLS to PORT_OPTIONS:MNLS
While here convert bacula-server from USE_GETTEXT to USES=gettext
Diffstat (limited to 'sysutils/progsreiserfs')
-rw-r--r--sysutils/progsreiserfs/Makefile14
1 files changed, 6 insertions, 8 deletions
diff --git a/sysutils/progsreiserfs/Makefile b/sysutils/progsreiserfs/Makefile
index ee7b793925c3..f5808bf1e55e 100644
--- a/sysutils/progsreiserfs/Makefile
+++ b/sysutils/progsreiserfs/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: progsreiserfs
-# Date created: May 13 2004
-# Whom: Florent Thoumie <flz@xbsd.org>
-#
+# Created by: Florent Thoumie <flz@xbsd.org>
# $FreeBSD$
-#
PORTNAME= progsreiserfs
PORTVERSION= 0.3.1.r8
@@ -22,12 +18,14 @@ CFLAGS+= -Dgetopt_long_only=getopt_long
EXTRA_PATCHES= ${FILESDIR}/extrapatch-progsreiserfs::libmisc::Makefile.in
-.if defined(WITHOUT_NLS)
-CONFIGURE_ARGS+=--disable-nls
-.else
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MNLS}
USES+= gettext
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
+.else
+CONFIGURE_ARGS+=--disable-nls
.endif
MAN8= cpfs.reiserfs.8 mkfs.reiserfs.8 reiserfs.8 \