Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jun 2016 10:29:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 210343] [patch] Mk/Uses/cran.mk: add compilation keyword
Message-ID:  <bug-210343-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D210343

            Bug ID: 210343
           Summary: [patch] Mk/Uses/cran.mk: add compilation keyword
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Some People
          Priority: ---
         Component: Ports Framework
          Assignee: portmgr@FreeBSD.org
          Reporter: dbn@FreeBSD.org
                CC: freebsd-ports-bugs@FreeBSD.org
          Keywords: patch

Created attachment 171503
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D171503&action=
=3Dedit
Add "compiles" keyword to cran.mk, updates ports.

TLDR: add compiles keyword to USES=3Dcran for consistency.

While updating a R-cran port I got the following error:
Error: /usr/local/lib/R/library/tseries/libs/tseries.so is linked to
/usr/local/lib/gcc48/libgfortran.so.3 from lang/gcc but it is not declared =
as a
dependency
Error: /usr/local/lib/R/library/tseries/libs/tseries.so is linked to
/usr/local/lib/gcc48/libquadmath.so.0 from lang/gcc but it is not declared =
as a
dependency

To fix this I propose introducing a keyword to USES=3Dcran to register the
dependency on GCC.  In this patch I have also updated the two other ports t=
hat
have manually introduced a dependency on gcc.=20=20

The reason for this is to introduce consistency with the main R port.  Shou=
ld
the R port change what compiler it uses (for example, a specific version of
gcc, or even clang) then there are only two locations that need updating: R=
 and
cran.mk.  Currently, one needs to update 1 + n, where n is the number of
(unbounded) ports that need compilation.

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-210343-13>