diff options
author | martymac <martymac@FreeBSD.org> | 2015-03-04 16:13:31 +0800 |
---|---|---|
committer | martymac <martymac@FreeBSD.org> | 2015-03-04 16:13:31 +0800 |
commit | 1a66d588146199e0bced69ed5385e3f4c1f67a88 (patch) | |
tree | 931e8d1b57f1e8d13a20b3a83bf9958b0bc8db77 | |
parent | 06de6e13fe3a12c148141aa33abff325d28fe773 (diff) | |
download | freebsd-ports-graphics-1a66d588146199e0bced69ed5385e3f4c1f67a88.tar.gz freebsd-ports-graphics-1a66d588146199e0bced69ed5385e3f4c1f67a88.tar.zst freebsd-ports-graphics-1a66d588146199e0bced69ed5385e3f4c1f67a88.zip |
Fix build without NLS
PR: 198020
Submitted by: Kevin Zheng <kevinz5000@gmail.com>
-rw-r--r-- | net/grsync/Makefile | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/net/grsync/Makefile b/net/grsync/Makefile index 18dfbf1a0e1..a5a55301bd8 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> |