diff options
Diffstat (limited to 'graphics/exif')
-rw-r--r-- | graphics/exif/Makefile | 10 |
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 |