aboutsummaryrefslogtreecommitdiff
path: root/sysutils/progsreiserfs
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-05-06 09:07:58 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-05-06 09:07:58 +0000
commit86d16f2675fd705fa78870828e0e4c66cd5972d3 (patch)
tree20ce818981a1c16901fb0154cfeb10e7887519be /sysutils/progsreiserfs
parent3657d5cb0d39e774a6a7f4d15f055031c01ff483 (diff)
downloadports-86d16f2675fd705fa78870828e0e4c66cd5972d3.tar.gz
ports-86d16f2675fd705fa78870828e0e4c66cd5972d3.zip
Notes
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 \