svn commit: r379103 - head/math/libqalculate

Kurt Jaeger pi at FreeBSD.org
Mon Feb 16 19:16:37 UTC 2015


Author: pi
Date: Mon Feb 16 19:16:36 2015
New Revision: 379103
URL: https://svnweb.freebsd.org/changeset/ports/379103
QAT: https://qat.redports.org/buildarchive/r379103/

Log:
  math/libqalculate: fix build in poudriere if NLS is not selected
  
  PR:		195908, 195857
  Submitted by:	Kevin Zheng <kevinz5000 at gmail.com>
  Approved by:	jhale (maintainer timeout)

Modified:
  head/math/libqalculate/Makefile

Modified: head/math/libqalculate/Makefile
==============================================================================
--- head/math/libqalculate/Makefile	Mon Feb 16 18:52:41 2015	(r379102)
+++ head/math/libqalculate/Makefile	Mon Feb 16 19:16:36 2015	(r379103)
@@ -23,10 +23,12 @@ INSTALL_TARGET=	install-strip
 OPTIONS_DEFINE=	NLS
 OPTIONS_SUB=	yes
 
-NLS_USES=	gettext
-
 .include <bsd.port.options.mk>
 
+.if !${PORT_OPTIONS:MNLS}
+USES+=		gettext
+.endif
+
 post-patch:
 .if !${PORT_OPTIONS:MNLS}
 	@${REINPLACE_CMD} -e '/^SUBDIRS =/s|po ||g' ${WRKSRC}/Makefile.in


More information about the svn-ports-all mailing list