Ticket #53757: 0001-R-fix-build-on-OS-X-10.8-and-below.patch

File 0001-R-fix-build-on-OS-X-10.8-and-below.patch, 749 bytes (added by l2dy (Zero King), 8 years ago)
  • math/R/Portfile

    From bae590e222da53707df016285d23c5a9081910ff Mon Sep 17 00:00:00 2001
    From: Zero King <l2dy@macports.org>
    Date: Sun, 12 Mar 2017 10:13:22 +0000
    Subject: [PATCH] R: fix build on OS X 10.8 and below
    
    ---
     math/R/Portfile | 3 ++-
     1 file changed, 2 insertions(+), 1 deletion(-)
    
    diff --git a/math/R/Portfile b/math/R/Portfile
    index 35aedd85ac..feaffa495a 100644
    a b configure.args --enable-R-framework \ 
    8383                            --without-x \
    8484                            --with-included-gettext
    8585
    86 if {${os.major} < 13} {
     86if {${os.platform} eq "darwin" && ${os.major} < 13} {
     87    depends_lib-append    port:curl
    8788    configure.args-append --disable-openmp
    8889}
    8990