aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGanael LAPLANCHE <martymac@FreeBSD.org>2015-03-04 08:13:31 +0000
committerGanael LAPLANCHE <martymac@FreeBSD.org>2015-03-04 08:13:31 +0000
commitf1e65da1b9fe2a239c67b18c364b82572766a2da (patch)
tree931e8d1b57f1e8d13a20b3a83bf9958b0bc8db77
parent22eeef3293b75949dfed96ecb3a0e86b74995630 (diff)
downloadports-f1e65da1b9fe2a239c67b18c364b82572766a2da.tar.gz
ports-f1e65da1b9fe2a239c67b18c364b82572766a2da.zip
Notes
-rw-r--r--net/grsync/Makefile14
1 files changed, 3 insertions, 11 deletions
diff --git a/net/grsync/Makefile b/net/grsync/Makefile
index 18dfbf1a0e1b..a5a55301bd8a 100644
--- a/net/grsync/Makefile
+++ b/net/grsync/Makefile
@@ -16,7 +16,8 @@ RUN_DEPENDS= rsync:${PORTSDIR}/net/rsync \
bash:${PORTSDIR}/shells/bash
USE_GNOME= gtk20
-USES= desktop-file-utils gmake shared-mime-info pkgconfig shebangfix
+USES= desktop-file-utils gettext gmake \
+ shared-mime-info pkgconfig shebangfix
SHEBANG_FILES= src/grsync-batch
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --disable-unity
@@ -27,16 +28,7 @@ CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
OPTIONS_DEFINE= NLS
-OPTIONS_DEFAULT= NLS
OPTIONS_SUB= yes
-NLS_USES= gettext
-
-.include <bsd.port.options.mk>
-
-post-patch:
-.if empty(PORT_OPTIONS:MNLS)
- @${REINPLACE_CMD} 's/^ALL_LINGUAS=.*/ALL_LINGUAS=""/' \
- ${WRKSRC}/configure
-.endif
+NLS_CONFIGURE_ENABLE= nls
.include <bsd.port.mk>