1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00
freebsd-ports/math/R
Joseph Mingrone 44e6e56af5 Fix build issue when the LTO option is enabled, do not register
${PREFIX}/lib/R/lib with ldconfig, and fix typo.

GCC 4.9 now generates slim object files which only contain intermediate
language representation for LTO. This means, either -ffat-lto-objects must
be used to create files which also contain object code or gcc-ar/gcc-ranlib
must be used to create static libraries suitable for LTO processing. This
patch sets AR/RANLIB to gcc-ar/gcc-ranlib.

The libraries under ${PREFIX}/lib/R/lib are not intended (by upstream) to
be registered with ldconfig, but are opened by dlopen(3). This means pkg
will not register shared library dependencies, so we will have to adjust
and bump ports as necessary. When necessary, unfortunately, is unclear
based on how things work upstream.

Fix typo: OPENMP_USE=compiler:openmp should have been
OPENMP_USES=compiler:openmp.

Bump PORTREVISION.

PR:	214785
        214666
Reported by:	taozhenext@gmail.com (214785), dbn (214666)
Approved by:	swills (mentor)
Differential Revision:	https://reviews.freebsd.org/D8650
2016-11-29 21:32:13 +00:00
..
files math/R: maintainer rework 2016-08-05 02:30:18 +00:00
compiler.mk math/R: maintainer rework 2016-08-05 02:30:18 +00:00
distinfo math/R: Update to version 3.3.2 and other changes 2016-11-01 20:36:42 +00:00
Makefile Fix build issue when the LTO option is enabled, do not register 2016-11-29 21:32:13 +00:00
pkg-descr
pkg-plist Fix build issue when the LTO option is enabled, do not register 2016-11-29 21:32:13 +00:00