pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/R math/R: fix build on fbsd



details:   https://anonhg.NetBSD.org/pkgsrc/rev/520a75045fff
branches:  trunk
changeset: 368113:520a75045fff
user:      rumko <rumko%pkgsrc.org@localhost>
date:      Sun Sep 10 20:36:56 2017 +0000

description:
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:

 math/R/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 1bd8dd9c45ee -r 520a75045fff math/R/Makefile
--- a/math/R/Makefile   Sun Sep 10 20:04:31 2017 +0000
+++ b/math/R/Makefile   Sun Sep 10 20:36:56 2017 +0000
@@ -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+=       --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



Home | Main Index | Thread Index | Old Index