Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Mar 2015 08:13:32 +0000 (UTC)
From:      Ganael LAPLANCHE <martymac@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r380421 - head/net/grsync
Message-ID:  <201503040813.t248DWdM014773@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: martymac
Date: Wed Mar  4 08:13:31 2015
New Revision: 380421
URL: https://svnweb.freebsd.org/changeset/ports/380421
QAT: https://qat.redports.org/buildarchive/r380421/

Log:
  Fix build without NLS
  
  PR:		198020
  Submitted by:	Kevin Zheng <kevinz5000@gmail.com>

Modified:
  head/net/grsync/Makefile

Modified: head/net/grsync/Makefile
==============================================================================
--- head/net/grsync/Makefile	Wed Mar  4 07:53:00 2015	(r380420)
+++ head/net/grsync/Makefile	Wed Mar  4 08:13:31 2015	(r380421)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201503040813.t248DWdM014773>