Commit graph

219 commits

Author SHA1 Message Date
Joseph Mingrone
9fa2ec2d74 math/R: Update to version 3.4.2
Also
 - Build Fortran code with flang by default on amd64.
 - Remove LTO option.  Upstream does not turn it on by default, it has
   caused problems with each GCC upgrade, and any benefit is unclear.
 - Do not specify USES=compiler:openmp since that just forces GCC.
2017-09-29 17:54:02 +00:00
Jan Beich
a382198617 devel/icu: update to 59.1
- Temporarily keep C++98 working in consumers for Clang's default -std=

Changes:	http://site.icu-project.org/download/59
PR:		218788
Submitted by:	takefu@airport.fm, dcarmich@dcarmichael.net (early version)
Exp-run by:	antoine
2017-09-25 00:02:36 +00:00
Gerald Pfeifer
e59c88cece Bump PORTREVISION for ports depending on the canonical version of GCC
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from
GCC 5.4 to GCC 6.4 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang,
   c++14-lang, c++0x, c11, or gcc-c++11-lib.

PR:		219275
2017-09-10 20:55:38 +00:00
Joseph Mingrone
7b2d61519b math/R: Do not specify minimum tk version
Specifying TCLTK_USES=tk:84+ was pulling in version 8.4 for package builds on
cluster, however the Tcl/Tk 8.4 ports are being deprecated.  Simply using
TCLTK_USES=tk pulls in the default version. [1]

While here, silence a portlint warning about the location of ONLY_FOR_ARCHS and
use DISTVESION instead of PORTVERSION.

Reported by:	gahr [1]
2017-09-05 13:14:52 +00:00
Antoine Brodin
47e64dbfdd Remove USES=objc:compiler, R doesn't use any objective c code and this breaks
R-Cran-* on FreeBSD 10

Reported by:	pkg-fallout
With hat:	portmgr
2017-08-23 13:03:01 +00:00
Joseph Mingrone
24cc76c584 math/R: Work around bug 221127.
PR:		221127
Reported by:	rs.os@t-online.de
2017-08-02 21:27:43 +00:00
Joseph Mingrone
75e07f1a2c math/R: Fix build issues when LIBR option is off and fix runtime issue by
permitting FLANG only with RBLAS

- Only apply SONAME patches when the relevant options are chosen. This
  prevents install errors when LIBR is off.
- Only permit the FLANG option when RBLAS is chosen, because FLANG causes
  some configure-time checks to fail and the shared RBLAS library is fallen
  back upon, but not properly packaged, which causes runtime issues.
- Bump PORTREVISION

Reported by:	rhurlin@gwdg.de
Differential Revision:	https://reviews.freebsd.org/D11726
2017-07-25 23:28:26 +00:00
Joseph Mingrone
755b8da41c math/R: set SONAME for libraries under lib/R/lib
PR:		219776
Submitted by:	pawel
Reviewed by:	pawel, mat
Differential Revision:	https://reviews.freebsd.org/D11615
2017-07-19 14:19:47 +00:00
Joseph Mingrone
3443cb22fd math/R: Fix typos in option descriptions
PR:		220480
Submitted by:	Trond.Endrestol@ximalas.info
2017-07-05 13:47:22 +00:00
Joseph Mingrone
299ba0db49 Setting OPTIONS_SINGLE_FORTRAN_armv6 was incorrect. It should be
OPTIONS_SINGLE_FORTRAN_aarch64.

Submitted by:	jbeich
2017-07-04 17:36:28 +00:00
Joseph Mingrone
1e124d39bd math/R: Update to version 3.4.1
Upstream changes:
https://cran.r-project.org/doc/manuals/r-release/NEWS.html

Port changes:
- Add aarch64 to ONLY_FOR_ARCHS [1]
- Add off-by-default option for experimental fortran support via flang [2]

Submitted by:	[1] andrew, [2] yuri@rawbw.com
2017-07-04 17:07:44 +00:00
Joseph Mingrone
8b8ef135a6 math/R: Build with gmake and add devel/gmake to RUN_DEPENDS because some
internal packages use GNU make.  While here, sort ONLY_FOR_ARCHS value to
silence portlint warning.

PR:		220341
Reported by:	yuri@rawbw.com
2017-06-28 19:11:32 +00:00
Sunpoet Po-Chuan Hsieh
cb037d3c98 Update devel/readline to 7.0 patch 3
- Bump PORTREVISION for shlib change

Changes:	https://cnswww.cns.cwru.edu/php/chet/readline/CHANGES
		https://lists.gnu.org/archive/html/bug-bash/2016-09/msg00107.html
		https://lists.gnu.org/archive/html/bug-readline/2017-01/msg00002.html
Differential Revision:	https://reviews.freebsd.org/D11172
PR:		219947
Exp-run by:	antoine
2017-06-27 13:46:53 +00:00
Joseph Mingrone
75e24ef1e9 math/R: Update to version 3.4.0
The configure script now detects the correct zlib version, so setting the
r_cv_header_zlib_h is no longer necessary.

Approved by:	swills (mentor, implicit)
2017-04-22 15:47:09 +00:00
Gerald Pfeifer
04d6f52202 Bump PORTREVISIONs for ports depending on the canonical version of GCC and
lang/gcc which have moved from GCC 4.9.4 to GCC 5.4 (at least under some
circumstances such as versions of FreeBSD or platforms).

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using using Mk/bsd.octave.mk which in turn has USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++14-lang,
   c++11-lang, c++0x, c11, or gcc-c++11-lib.

PR:		216707
2017-04-01 15:23:30 +00:00
Joseph Mingrone
3fe4e0c8ee math/R: Update to version 3.3.3.
Upstream changes: https://cran.r-project.org/doc/manuals/r-release/NEWS.html

Approved by:	swill (mentor, implicit)
2017-03-10 01:50:56 +00:00
Dmitry Marakasov
8244fe99bc - Remove always-true/false conditions after FreeBSD 9, 10.1, 10.2 EOL
Approved by:	portmgr blanket
2017-01-11 10:08:38 +00:00
Antoine Brodin
db50719156 Fix configure with zlib 1.2.10, configure script believes that version
1.2.10 is lower than 1.2.5

Reported by:	pkg-fallout
MFH:		2017Q1
2017-01-06 21:38:11 +00:00
Gerald Pfeifer
e4b7b9118a Bump PORTREVISIONS for ports depending on the canonical version of GCC and
lang/gcc which have moved from GCC 4.8.5 to GCC 4.9.4 (at least under some
circumstances such as versions of FreeBSD or platforms), part II.

The first part covered  ports with USE_GCC=yes, USE_GCC=any, or one of
gcc-c++11-lib, openmp, nestedfct, c++11-lib as well as c++14-lang,
c++11-lang, c++0x, c11 requested via USES=compiler.

This adds ports with USES=fortran and ports using Mk/bsd.octave.mk
which in turn has USES=fortran.

PR:		214965
Reported by:	thierry
2016-12-07 13:24:56 +00:00
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
Gerald Pfeifer
89f8b05214 Bump PORTREVISIONS for ports depending on the canonical version of GCC and
lang/gcc which have moved from GCC 4.8.5 to GCC 4.9.4 (at least under some
circumstances such as versions of FreeBSD or platforms).

In particular that is ports with USE_GCC=yes, USE_GCC=any, or one of
gcc-c++11-lib, openmp, nestedfct, c++11-lib as well as c++14-lang,
c++11-lang, c++0x, c11 requested via USES=compiler.
2016-11-20 09:38:08 +00:00
Jan Beich
23a96f4a5f devel/icu: update to 58.1
Changes:	http://site.icu-project.org/download/58
PR:		214384
Exp-run by:	antoine
Approved by:	office (bapt)
2016-11-19 18:21:20 +00:00
Joseph Mingrone
edb9d157d4 math/R: More docuementation changes.
The feedback has been clear. Installing the TeX-dependent documentation
files by default is bad for users, even if that means one documentation
knob does not control the installation of all documentation files.

Reported by:	mat marino
Reviewed by:	mat
Approved by:	swills (mentor)
Differential Revision:	https://reviews.freebsd.org/D8440
2016-11-04 16:24:39 +00:00
Joseph Mingrone
4ca247daff math/R: Revert documentation changes and bump PORTREVISION
In an attempt to simplify the handling of documentation for users, changes
were made in the last commit. When the documentation knob was off, (almost)
no HTML, PDF, etc. files or their sources were installed, and when the knob
was on, all these files were installed. Because some of these documentation
files depended on some very large TeX ports, despite the usual convention,
the knob was turned off by default. Unfortunately, this caused problems for
a few R-dependent ports, because they copy documentation files from math/R
when they are installed.

Reported by:	antoine
Reviewed by:	mat
Approved by:	swills (mentor)
Differential Revision:	https://reviews.freebsd.org/D8429
2016-11-03 13:55:58 +00:00
Joseph Mingrone
a6ec1a3207 math/R: Fix typo and bump PORTREVISION
Reported by:	rhurlin@gwdg.de
Approved by:	swills (mentor)
Differential Revision:	https://reviews.freebsd.org/D8420
2016-11-02 14:12:56 +00:00
Joseph Mingrone
218f85af31 math/R: Update to version 3.3.2 and other changes
- Changes in version 3.3.2:
  https://cran.r-project.org/doc/manuals/r-release/NEWS.html

- Port Changes
    - Definitively set PORTNAME after removal of slave ports
    - Set MASTERS_SITES to CRAN
    - Make documentation installation simpler for users
        - make the DOCS option the only option for extra documentation
          (remove PDF option)
        - turn this option off by default since it pulls in over 1 GB of
          build dependencies (TeX and friends)
    - Do not make INFO option imply DOCS option
    - Cosmetic changes

Reviewed by:	mat
Approved by:	swills (mentor)
Differential Revision:	https://reviews.freebsd.org/D8330
2016-11-01 20:36:42 +00:00
Mathieu Arnold
a0bcd2cf68 Use USES=pathfix where applicable.
PR:		213195
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D8093
2016-10-21 15:21:13 +00:00
Tijl Coosemans
48f4591035 - Update devel/icu to 57.1.
- Clean up the Makefile.
- Follow some upstream recommendations (--with-data-packaging=archive,
  --disable-renaming, -DICU_NO_USER_DATA_OVERRIDE).
- Patch makefiles to install static libraries with INSTALL_DATA so they
  aren't stripped.
- Patch config/mh-bsd-gcc to sync with config/mh-linux-gcc.
- Fix endianness detection in ICU.  The code wanted to use BYTE_ORDER
  defined in machine/endian.h, but this isn't visible because ICU is
  compiled with _XOPEN_SOURCE.  Patch the code to use _BYTE_ORDER instead.
- Compile ICU with C++11 compiler to enable move constructors.
- Patch ICU to fix a problem with atomics in the case of a C++11 compiler
  without C++11 header <atomic> (like Clang on FreeBSD 9).
- Bump all ports that depend on it due to library version change.
- Add USES=compiler:c++0x to some ports that pick up -std=c++0x from ICU
  pkgconfig files.
- Add USES=compiler:c++11-lib to graphics/libcdr01 because it also needs
  a C++11 runtime library now.  Add this to all ports that depend on it
  so their executables load the right libstdc++.so on FreeBSD 9.

PR:		205120
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2016-09-24 11:06:57 +00:00
Joseph Mingrone
1cbd3576d5 Update email address to jrm@FreeBSD.org for ports that I maintain
Reviewed by:	mat, swills (mentor)
Approved by:	swills (mentor)
Differential Revision:	https://reviews.freebsd.org/D7995
2016-09-23 21:42:02 +00:00
John Marino
b95421020d math/R: maintainer rework
See PR for signficant changes to math/R port including options,
build defaults, and patch updates.

PR:		211393
Submitted by:	Joseph Mingrone (maintainer)
2016-08-05 02:30:18 +00:00
John Marino
7cf9d118c6 math/R: Tweak previous ${OSVERSION} without ${OPSYS} commit
I made a mistake; some of the post-patch target does apply to DragonFly
as well as the pre-configure target.  Tighten up which code is designated
as FreeBSD only.  (again, a No-Op for FreeBSD)

Approved by:	OSVERSION/OPSYS blanket
2016-08-04 03:00:26 +00:00
John Marino
380a75a521 math/R: Fix usage of ${OSVERSION} without ${OPSYS}
There are several OSVERSION checks but everything is specific to FreeBSD
so the entire block is wrapped with a single OPSYS check to minimize
changes to the makefile.

Approved by:	OSVERSION/OPSYS blanket
2016-08-03 15:15:02 +00:00
Thomas Zander
3fe7ca4b4a Fix dependencies, Makefile cleanups
Detailed maintainer log:
- Explicitly rely on required perl for the build
- math/R cannot be built in poudriere when math/atlas is chosen for the
  BLAS implementation.  It's not the default, so handle gracefully with
  an IGNORE (could also have set MANUAL_PACKAGE_BUILD with
  ATLAS_VARS= MANUAL_PACKAGE_BUILD=...)
- fix a type: DOC_BUILD_DEPEND -> DOCS_BUILD_DEPEND

PR:		210983
Submitted by:	jrm@ftfl.ca (maintainer)
2016-07-16 15:48:17 +00:00
Antoine Brodin
d74df830eb Prevent PKGNAME collision with math/libR 2016-07-09 20:02:02 +00:00
Thomas Zander
03be2d040f Modernize and simplify port
PR:		210866
Submitted by:	jrm@ftfl.ca (maintainer)
Reviewed by:	rhurlin@gwdg.de, bapt, riggs
2016-07-09 19:28:21 +00:00
Mathieu Arnold
7acca7e902 Bump PORTREVISION for the icu revert.
This time not bumping lang/php70, but devel/php70-intl which is the one
really depending on icu.

PR:		205120
With hat:	portmgr
Sponsored by:	Absolight
2016-07-06 22:10:14 +00:00
Pietro Cerutti
fb8d8ab5f9 devel/icu: bump PORTREVISION on dependent ports 2016-07-06 07:34:12 +00:00
Thomas Zander
d0972aad36 Joseph Mingrone <jrm@ftfl.ca> has volunteered to maintain R in bf@'s absence
PR:		210754
Submitted by:	jrm@ftfl.ca
2016-07-02 15:32:43 +00:00
Wen Heping
1a9e7e176d - Update to 3.3.1
- Remove PCRE_PORT option
- Really strip the .so file
- Minor cleanup

PR:		210513
Submitted by:	wen@(myself)
2016-07-01 08:29:31 +00:00
Rene Ladan
a01b22a052 Reset ports maintained by bf@ until he has time again to work on them.
PR:		210474
Submitted by:	jbeich
With hat:	portmgr-secretary
2016-06-27 21:30:34 +00:00
Kurt Jaeger
a8ac945d14 math/R: add LIBR to OPTIONS_DEFAULT to allow math/rkward-kde4 to build
PR:		207425
Reported by:	thierry
2016-06-26 14:03:09 +00:00
Kurt Jaeger
cb6bb06ee6 math/R: Add optimization related options to Makefile
There are a couple of enhancements that can be made to math/R
regarding optimization: one would be to enable LTO and OpenMP
whenever the compiler supports it, another one would be to allow
linking to OpenBLAS besides ATLAS or R's internal BLAS implementation.
The patch was inspired by math/octave's handling of BLAS.

PR:		207425
Submitted by:	elferdo@gmail.com
Approved by:	bf (maintainer timeout)
2016-06-25 19:10:19 +00:00
David Naylor
771b79cf8a math/R: unbreak index.
Reported by:	cperciva@ (Portsnap buildbox)
2016-06-18 18:08:07 +00:00
David Naylor
cbc090bfe3 Mk/Uses/cran: add "compiles" argument.
[1] Add "compiles" argument to cran to allow R-cran ports need to compile
code to bring in the correct compiler dependencies.  Also, ensure
consistency between the compiler selected by the R port and the R-cran ports.

[2] Migrate R-cran ports that manually specify the compiler to
USES=cran,compiles.

PR:		210343
Approved by:	wen (1), portmgr (2, blanket)
2016-06-18 17:46:30 +00:00
Kurt Jaeger
f80d0cfcb1 math/R: 3.2.2 -> 3.3.0
Changes: https://stat.ethz.ch/pipermail/r-announce/2016/000602.html

PR:		209315
Submitted by:	wen
Approved by:	bf (maintainer, by mail)
2016-05-22 18:07:03 +00:00
Mathieu Arnold
8d6597e0bb Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:16:16 +00:00
Tijl Coosemans
77760fcb63 Make print/ghostscript9-agpl-base the default Ghostscript port. Upstream
changed the license to the AGPL 3 in version 9.07 so print/ghostscript9-base
is stuck at 9.06 which is almost 4 years old now.

Fix the logic in Uses/ghostscript.mk so "agpl" is treated as a real version
on its own instead of as a variant of other versions.

Fix print/ghostscript9-agpl-base to install eps2write.

Update math/asymptote to 2.37 to support newer Ghostscript.

PR:		208159
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2016-03-24 15:47:50 +00:00
Wen Heping
f7139079e1 - Update to 3.2.2
PR:		203418
Submitted by:	wen@(myself)
Reviewed by:	tota@
Approved by:	maintainer(timeout, > 25 days)
Thanks to:	freebsd-bugs@mackler.org harrison.grundy@astrodoggroup.com
2015-10-27 08:21:25 +00:00
Mark Linimon
539967edf4 Use trick from arm/powerpc to fix build on sparc64.
Approved by:	portmgr (sparc64 blanket)
2015-09-25 21:00:28 +00:00
Hiroki Sato
27470e1676 - Split ghostscript into X11-independent and -dependent parts:
* print/ghostscript{7,8,9,9-agpl}-base

   Installs Ghostscript binary, libgs, and related files.
   These ports do not depend on X11 libraries (i.e. x11* devices
   are not available).  USES=ghostscript will set dependency on
   one of them depending on GHOSTSCRIPT_DEFAULT.

   The default device is set to "display" or "bbox".

 * print/ghostscript{7,8,9,9-agpl}-x11

   Installs a shared library which provides X11 support to
   the installed Ghostscript binaries.  x11* devices will be
   enabled when the library is available.

   This depends on *-base (RUN_DEPENDS).  USES=ghostscript:x11
   will set dependency on one of them.

- Fix integer overflow reported as CVE-2015-3228.

- Update Uses/ghostscript.mk:

 * Add x11 keyword.  nox11 keyword is now obsolete.

 * Use packagename in *_DEPENDS line to prevent relationship between
   -base and -x11 packages from being broken.

- Fix x11/nox11 keyword and bump PORTREVISION in ports using
  USES=ghostscript to update dependency of pre-compiled packages.
2015-08-22 17:48:35 +00:00