Commit graph

203 commits

Author SHA1 Message Date
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
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