svn commit: r481840 - head/graphics/libmypaint

Koop Mast kwm at FreeBSD.org
Thu Oct 11 17:10:45 UTC 2018


Author: kwm
Date: Thu Oct 11 17:10:44 2018
New Revision: 481840
URL: https://svnweb.freebsd.org/changeset/ports/481840

Log:
  Fix the build for when NLS is deselected.
  
  Disable both nls and i18n support. NLS only disabled gettext support, but
  intltool still needs gettext to work. Which resulted in the configure script
  failing. Move the intltool requirement to the NLS option as a result.
  
  PR:		232120
  Reported by:	Trond.Endrestol at ximalas.info

Modified:
  head/graphics/libmypaint/Makefile

Modified: head/graphics/libmypaint/Makefile
==============================================================================
--- head/graphics/libmypaint/Makefile	Thu Oct 11 16:58:32 2018	(r481839)
+++ head/graphics/libmypaint/Makefile	Thu Oct 11 17:10:44 2018	(r481840)
@@ -15,7 +15,7 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 LIB_DEPENDS=	libjson-c.so:devel/json-c
 
 USES=		compiler:c11 gmake gnome libtool localbase pkgconfig tar:xz
-USE_GNOME=	glib20 intltool introspection:build
+USE_GNOME=	glib20 introspection:build
 GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
 INSTALL_TARGET=	install-strip
@@ -26,6 +26,7 @@ OPTIONS_SUB=	yes
 OPTIONS_DEFINE=	NLS
 
 NLS_USES=	gettext
-NLS_CONFIGURE_ENABLE=	nls
+NLS_USE=	GNOME=intltool
+NLS_CONFIGURE_ENABLE=	nls i18n
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list