Commit graph

190 commits

Author SHA1 Message Date
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
Koop Mast
68f883edfc Convert code in bsd.port.mk for USE_GHOSTSCRIPT* to USES=ghostscript.
Add GHOSTSCRIPT_DEFAULT to bsd.default-versions.mk for easy version selection.
Arguments supported: <empty>, build, run, nox11 and agpl

PR:		201201 (exp-run)
Approved by:	portmgr (mat@)
Exp run by:	antione@ (previous patch)
Differential Revision:	https://reviews.freebsd.org/D2938
2015-07-16 20:53:28 +00:00
Antoine Brodin
aa166227b7 Fix build with texinfo 6.0
Reported by:	pkg-fallout
2015-07-04 12:28:09 +00:00
Antoine Brodin
6e5719ca80 Convert to USES=jpeg 2015-06-22 18:33:20 +00:00
Mathieu Arnold
60d1a83c2a MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
2015-05-14 10:15:04 +00:00
Baptiste Daroussin
468baa4718 R does not create proper libraries (with SONAME) pkg 1.5.2 is know skipping this
kind of libraries to avoid messing the solver with wrong provides.

Bump the port to enforce users to rebuild the package with 1.5.2 and having not
satifisfiable problem for the solver
2015-05-13 23:22:44 +00:00
Dmitry Marakasov
178592ab36 - Don't install static libraries with INSTALL_LIB (part 1/2)
Approved by:	portmgr blanket
MFH:		2015Q2
2015-05-08 14:04:50 +00:00
Baptiste Daroussin
25c34fd38f Update icu to 55.1 2015-04-23 21:26:09 +00:00
John Marino
f7fc243237 math category: Remove $PTHREAD_LIBS
Note that math/PDL did not pass stage-QA before, so it was fixed.

approved by:	PTHREAD blanket
2015-03-25 07:37:15 +00:00
Sean Bruno
438af398a5 Add powerpc/powerpc64 to the list of ARCH that get libmissing by default.
Reviewed by:	jhibbits
2015-02-13 21:41:22 +00:00
Sean Bruno
24d46ae772 Repair overflow condition where WCHAR_MAX != INT_MAX
182e1060dc

Add MISSING option to the default build on armv6.

PR:		194183
Submitted by:	mikael.urankar@gmail.com, Adreas Schwab
Approved by:	maintainer timeout (3 months without PR comment)
2015-02-10 22:24:01 +00:00
Antoine Brodin
7ae46e9b12 Change libpng15.so to libpng.so in LIB_DEPENDS to prepare the upgrade 2014-12-25 19:04:25 +00:00
Antoine Brodin
cff02893b4 Cleanup plist 2014-11-13 23:24:00 +00:00
Gerald Pfeifer
15945f8122 Update the default version of GCC in the Ports Collection from GCC 4.7.4
to GCC 4.8.3.

Part II, Bump PORTREVISIONs.

PR:		192025
Tested by:	antoine (-exp runs)
Approved by:	portmgr (implicit)
2014-09-10 20:50:31 +00:00
Antoine Brodin
228ab58873 Change INSTALL_DATA to install with mode 644
Remove patches and hacks that were used to work around the previous
situation
This allows to stage more ports as a regular user

Differential Revision:	https://reviews.freebsd.org/D703
Reviewed by and discussed with:	bapt
With hat:	portmgr
2014-09-04 19:26:24 +00:00
Antoine Brodin
2286d4b084 Fix build on head by adding missing USES=readline
(uncovered by removal of readline dep from pcre)
2014-08-01 07:49:12 +00:00
Adam Weinberger
0f88ed614d Repair instances, almost all courtesy of bf ;-), of spaces
and/or tabs before the =. This made doing regular expressions
on the ports tree really difficult.

Approved by:	portmgr (not really, but touches unstaged ports)
2014-07-29 20:55:27 +00:00
Adam Weinberger
18a7fd6042 Add DOCS to OPTIONS_DEFINE to ports that check for PORT_OPTIONS:MDOCS. 2014-07-15 16:23:08 +00:00
Antoine Brodin
af7cc6136e Allow to build with texinfo from ports
With hat:	portmgr
2014-06-26 13:51:14 +00:00
Baptiste Daroussin
4a4ec28d37 Convert all :U to :tu and :L to :tl
Since FreeBSD 8.4 and FreeBSD 9.1 make(1) do support :tu and :tl as a
replacement for :U and :L (which has been marked as deprecated)

bmake which is the default on FreeBSD 10+ only support by default
:tu/:tl a hack has been added at the time to support :U and :L to ease
migration. This hack is now not necessary anymore

Note that this makes the ports tree incompatible with make(1) from
FreeBSD 8.3 or earlier

With hat:	portmgr
2014-05-05 09:45:36 +00:00
Antoine Brodin
e917242b6c Stage support
With hat:	portmgr
2014-04-05 10:30:21 +00:00
Baptiste Daroussin
0c51142506 Readd pre-configure-script to avoid warning about duplicated pre-configure 2014-04-04 19:39:06 +00:00
Baptiste Daroussin
093d539af2 Support stage
Strip libR.a
2014-04-04 14:44:45 +00:00
Gerald Pfeifer
1cd277bdce Update the default version of GCC used in the Ports Collection from
GCC 4.6.4 to GCC 4.7.3.  This entails updating the lang/gcc port as
well as changing the default in Mk/bsd.default-versions.mk.

Part II, Bump PORTREVISIONs.

PR:		182136
Supported by:	Christoph Moench-Tegeder <cmt@burggraben.net> (fixing many ports)
Tested by:	bdrewery (two -exp runs)
2014-03-10 20:55:20 +00:00
Tijl Coosemans
564a799c71 Convert all USE_FORTRAN=yes to "USES=fortran, USE_GCC=yes". In most cases
USE_GCC=yes has been omitted though.

Remove USE_FORTRAN handling from bsd.port.mk and bsd.gcc.mk.

Minor cleanups in some ports like USE_GMAKE, NOPORTDOCS,...

Exp-run:	bdrewery
Approved by:	portmgr (bdrewery)
2014-02-16 17:15:31 +00:00
Baptiste Daroussin
4650a910d0 Chase boost and icu bump
While here convert some LIB_DEPENDS
2014-02-07 11:44:08 +00:00
Brendan Fabeny
1b81841d48 Update math/R to 3.0.2 patched r64207 and math/R-cran-SuppDists to 1.1-9.1;
adjust dependent ports

Reviewed by:	pfg, thierry, tota
2013-11-13 08:19:34 +00:00
Gerald Pfeifer
3be3e90f93 Update to libmpc version 1.0.1 which brings the following fixes:
- Switched to automake 1.11.6, see CVE-2012-3386.
 - #14669: Fixed extraction of CC from gmp.h.
 - Fixed case of intermediate zero real or imaginary part in mpc_fma,
   found by hydra with GMP_CHECK_RANDOMIZE=1346362345.

This is on top of the following changes from version 1.0

 - Licence change towards LGPLv3+ for the code and GFDLv1.3+ (with no
   invariant sections) for the documentation.
 - 100% of all lines are covered by tests
 - Renamed functions
   . mpc_mul_2exp to mpc_mul_2ui
   . mpc_div_2exp to mpc_div_2ui
 - 0^0, which returned (NaN,NaN) previously, now returns (1,+0).
 - Removed compatibility with K&R compilers, which was untestable due
   to lack of such compilers.
 - New functions
   . mpc_log10
   . mpc_mul_2si, mpc_div_2si
 - Speed-ups
   . mpc_fma
 - Bug fixes
   . mpc_div and mpc_norm now return a value indicating the effective
     rounding direction, as the other functions.
   . mpc_mul, mpc_sqr and mpc_norm now return correct results even if
     there are over- or underflows during the computation.
   . mpc_asin, mpc_proj, mpc_sqr: Wrong result when input variable has
     infinite part and equals output variable is corrected.
   . mpc_fr_sub: Wrong return value for imaginary part is corrected.

Convert to the new LIB_DEPENDS standard and remove hard-coded
.so versions from a couple of dependent ports.

Bump PORTREVISIONS of all dependent ports.

PR:		183141
Approved by:	portmgr (bdrewery)
2013-10-26 00:52:33 +00:00
Baptiste Daroussin
ce5e457020 Add NO_STAGE all over the place in preparation for the staging support (cat: math) 2013-09-20 20:55:04 +00:00
Baptiste Daroussin
e4343d70fd Convert to new perl framework
Convert USE_GMAKE to USES
2013-09-16 16:32:07 +00:00