summaryrefslogtreecommitdiff
path: root/math/R
diff options
context:
space:
mode:
authorrumko <rumko@pkgsrc.org>2017-09-10 20:36:56 +0000
committerrumko <rumko@pkgsrc.org>2017-09-10 20:36:56 +0000
commit852b23dc872c0382a62ed6ab6a11118c99e68cda (patch)
treecd6a311819c029686aa57745099f4380ef3f42ca /math/R
parent0918cb0a43528680cb50986a6cf15e5d60efacd5 (diff)
downloadpkgsrc-852b23dc872c0382a62ed6ab6a11118c99e68cda.tar.gz
math/R: fix build on fbsd
cpow and clog are not implemented on FreeBSD and the configure checks only emit warnings instead of errors. Ok@ markd
Diffstat (limited to 'math/R')
-rw-r--r--math/R/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/math/R/Makefile b/math/R/Makefile
index 0c9e12e6d93..32002455ac0 100644
--- a/math/R/Makefile
+++ b/math/R/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.174 2017/08/24 20:03:28 adam Exp $
+# $NetBSD: Makefile,v 1.175 2017/09/10 20:36:56 rumko Exp $
DISTNAME= R-3.3.3
PKGREVISION= 2
@@ -46,6 +46,10 @@ CONFIGURE_ARGS+= --with-system-xz
CONFIGURE_ARGS+= --enable-long-double=no
.endif
+# cpow and clog are not implemented on FreeBSD
+CONFIGURE_ENV.FreeBSD+= ac_cv_have_decl_clog=no
+CONFIGURE_ENV.FreeBSD+= ac_cv_have_decl_cpow=no
+
.if ${OPSYS} != "Linux"
USE_GNU_ICONV= yes # latin1 support, iconvlist
.endif