aboutsummaryrefslogtreecommitdiff
path: root/graphics/exif
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-04-29 22:27:05 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-04-29 22:27:05 +0000
commit9ff06b3cbf038359059e40e0db31ba0cbe996d0f (patch)
tree8583dfe71adaea6ce266633e1799cd602516b801 /graphics/exif
parent25c4307da135103ea810d65f96f2f1c21e0547b4 (diff)
Notes
Diffstat (limited to 'graphics/exif')
-rw-r--r--graphics/exif/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/graphics/exif/Makefile b/graphics/exif/Makefile
index 6cc1ef7d6b88..388302127f00 100644
--- a/graphics/exif/Makefile
+++ b/graphics/exif/Makefile
@@ -19,12 +19,14 @@ GNU_CONFIGURE= yes
MAKE_JOBS_SAFE= yes
CONFIGURE_ENV+= POPT_CFLAGS=-I${LOCALBASE}/include POPT_LIBS="-L${LOCALBASE}/lib -lpopt"
-.if defined(WITHOUT_NLS)
-CONFIGURE_ARGS+= --disable-nls --without-libiconv-prefix
-PLIST_SUB+= NLS="@comment "
-.else
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MNLS}
USES+= gettext iconv
PLIST_SUB+= NLS=""
+.else
+CONFIGURE_ARGS+= --disable-nls --without-libiconv-prefix
+PLIST_SUB+= NLS="@comment "
.endif
MAN1= exif.1