aboutsummaryrefslogtreecommitdiff
path: root/comms/fldigi/Makefile
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-04-26 15:10:57 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-04-26 15:10:57 +0000
commit9dbc02d2c5d8b2c2c499e0e86015bc9505c69318 (patch)
treea82894e443e00d2d1e62c361da23f99b943f1351 /comms/fldigi/Makefile
parentab49cb5a84477145caac35e88ca5cfc76001c68f (diff)
downloadports-9dbc02d2c5d8b2c2c499e0e86015bc9505c69318.tar.gz
ports-9dbc02d2c5d8b2c2c499e0e86015bc9505c69318.zip
Notes
Diffstat (limited to 'comms/fldigi/Makefile')
-rw-r--r--comms/fldigi/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/comms/fldigi/Makefile b/comms/fldigi/Makefile
index c7ed7a0dda92..5b57f024247c 100644
--- a/comms/fldigi/Makefile
+++ b/comms/fldigi/Makefile
@@ -24,7 +24,7 @@ USE_GMAKE= yes
CONFIGURE_ENV= FLTK_CONFIG="${LOCALBASE}/bin/fltk-config"
MAN1= fldigi.1
-OPTIONS_DEFINE= NATIVE_OPT FLARQ XMLRPC OSS SNDFILE PORTAUDIO PULSEAUDIO HAMLIB
+OPTIONS_DEFINE= NATIVE_OPT FLARQ XMLRPC OSS SNDFILE PORTAUDIO PULSEAUDIO HAMLIB NLS
NATIVE_OPT_DESC= Enable Native Optimizations
FLARQ_DESC= Compile flarq
@@ -94,13 +94,13 @@ LIB_DEPENDS+= hamlib:${PORTSDIR}/comms/hamlib
.else
CONFIGURE_ARGS+=--without-hamlib
.endif
-.if defined(WITHOUT_NLS)
-CONFIGURE_ARGS+=--disable-nls
-PLIST_SUB+= NLS="@comment "
-.else
+.if ${PORT_OPTIONS:MNLS}
+USES+= gettext
CONFIGURE_ARGS+=--enable-nls
PLIST_SUB+= NLS=""
-USE_GETTEXT= yes
+.else
+CONFIGURE_ARGS+=--disable-nls
+PLIST_SUB+= NLS="@comment "
.endif
# Always need asciidoc for man pages
CONFIGURE_ARGS+=--with-asciidoc