diff options
author | Kurt Jaeger <pi@FreeBSD.org> | 2015-02-16 19:16:36 +0000 |
---|---|---|
committer | Kurt Jaeger <pi@FreeBSD.org> | 2015-02-16 19:16:36 +0000 |
commit | 83ebb024b4d3f95fcd2a019baf36a0d3a9b7dd02 (patch) | |
tree | 5e914f150819e0d0fa90d97e4bff9734fe28f9a8 | |
parent | Update to 3.3.0. (diff) |
math/libqalculate: fix build in poudriere if NLS is not selected
PR: 195908, 195857
Submitted by: Kevin Zheng <kevinz5000@gmail.com>
Approved by: jhale (maintainer timeout)
Notes
Notes:
svn path=/head/; revision=379103
-rw-r--r-- | math/libqalculate/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/math/libqalculate/Makefile b/math/libqalculate/Makefile index 1ac19f9481f4..9a32d3fa36e5 100644 --- a/math/libqalculate/Makefile +++ b/math/libqalculate/Makefile @@ -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 |