svn commit: r380421 - head/net/grsync
Ganael LAPLANCHE
martymac at FreeBSD.org
Wed Mar 4 08:13:32 UTC 2015
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 at 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>
More information about the svn-ports-all
mailing list