Commit graph

879 commits

Author SHA1 Message Date
Tijl Coosemans
e86cf40c8f Take maintainership from autotools@. That group is no longer active. 2017-12-23 13:58:40 +00:00
Dmitry Marakasov
273db182a9 Report (in q/a) and fix (in shebangfix) python[23] shebangs
Currently, only python shebangs (e.g. /bin/python, /usr/local/bin/python,
/usr/bin/env python etc.) are reported by stage Q/A and fixed by
USES=shebangfix. We need to do the same for python[23] as well.

Before the problem was not noticeable since many ports had e.g.
USES=python:2, which added a dependency on python2 metaport, however
that's going to switch to USES=python:2.7, and neither it, nor more
widely used USES=python adds a dependency on metaports, so there's
very high probability that python[23] links are not available.

Approved by:	portmgr (mat)
Differential Revision:	https://reviews.freebsd.org/D13571
2017-12-21 13:27:51 +00:00
Mathieu Arnold
bf406b4d24 Enhance USES=uniquefiles to be more generic.
This allows to have more complex renaming schemes.  Until now, it could
only add a prefix or a suffix, but this was not working at all for man
pages, because it would give man/man1/pyfoo.1.gz-2.7 or
man/man1/pyfoo-1-2.7.gz.  With this change, a man page will be correctly
renamed to man/man1/pyfoo-2.7.1.gz.

Unfix ports that were already handling man pages.

PR:		220214
Submitted by:	Fukang Chen (previous patch)
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D13444
2017-12-19 16:23:48 +00:00
Antoine Brodin
fa70aaaf98 Revert r456619:
- flang is only supported on amd64
- with default OPTIONS on amd64, R doesn't link against libflang
- in the case R is build with FLANG option, flang is already added as a
  runtime dependency by USES=fortran:flang

With hat:	portmgr
2017-12-18 18:30:42 +00:00
David Naylor
5791b2eb14 USES=cran: add lib dependency to flang
R now compiles addins by linking to libflang (and others).
2017-12-18 11:22:21 +00:00
Antoine Brodin
ca8acdfe49 Allow to use samba47 with USES=samba
PR:		224418
Submitted by:	timur@
With hat:	portmgr
2017-12-18 07:00:10 +00:00
Antoine Brodin
fe4b675693 Add back a line that shouldn't have been removed in r456375
Reported by:	pkg-fallout
2017-12-15 06:34:12 +00:00
Mathieu Arnold
5d0c42cb25 Remove forgotten old compat code.
Sponsored by:	Absolight
2017-12-14 22:29:33 +00:00
Tobias C. Berner
d7b037be20 Update KDE Frameworks to 5.41
PR:		224227
Exp-run by:	antoine
Reviewed by:	adridg, rakuco
Differential Revision:	https://reviews.freebsd.org/D13367
2017-12-14 20:15:52 +00:00
Mathieu Arnold
8113a6f477 Rework PY_FLAVOR to always work.
Before this, it could have been set to the current flavor of the port
that may not have been related to Python at all.

This of course never came up during development because at that time,
the only flavors were the Python flavors.

Reported by:	dbn
Sponsored by:	Absolight
2017-12-14 13:48:58 +00:00
Antoine Brodin
b30fa14a7a Make py3gobject3 and pygobject3 synonyms
The requested version of python can be set via USES=python:version
This change allows to build most ports depending on devel/py-gobject3
with DEFAULT_VERSIONS=python=3.x
In the future, one of py3gobject3 or pygobject3 could be deprecated.
2017-12-13 16:11:55 +00:00
Mathieu Arnold
986d88d505 Add a DEV_WARNING about some hypotetical case.
Sponsored by:	Absolight
2017-12-12 12:31:10 +00:00
Mathieu Arnold
477fb04a27 Limit matching Python flavors to two digits.
Sponsored by:	Absolight
2017-12-12 11:40:45 +00:00
Mathieu Arnold
4c26d3c024 Make USE_PYTHON=concurrent flavors friendly.
Before, it would only create the default symlink if the Python version
was the default Python version.  Change that to if the Python flavor is
the default flavor.

PR:		224242
Sponsored by:	Absolight
2017-12-11 12:41:56 +00:00
Torsten Zuehlsdorff
04538b6c99 Uses/php.mk: add missing sodium dependency
The issue becomes apparent when trying to build lang/php72-extensions
with sodium checked.

PR:           223811
Submitted by: Daniel Ylitalo <daniel@blodan.se>
Approved by:  ale
2017-12-07 16:40:20 +00:00
Mathieu Arnold
2cd9e57d75 Remove extra .endif.
Reported by:	antoine
Sponsored by:	Absolight
2017-12-04 15:43:36 +00:00
Mathieu Arnold
6063af74e8 Add a USES=python:env, that will not add a dependency on Python.
It has the same effect than setting PYTHON_NO_DEPENDS, but in a more
compact way.

Sponsored by:	Absolight
2017-12-04 15:27:29 +00:00
Mathieu Arnold
e7c64ad660 Add a note about USE_PYTHON=optsuffix being a kludge.
Sponsored by:	Absolight
2017-12-04 11:26:47 +00:00
Mathieu Arnold
c3feeef2c1 Depend on pkgnames and not files, always better.
Sponsored by:	Absolight
2017-12-04 11:17:23 +00:00
Mathieu Arnold
9b3f71316a Deprecate USES=python:2 and USES=python:3
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D13291
2017-12-04 11:07:10 +00:00
Mathieu Arnold
c891fd5d24 Correctly fix the Python 3 being the default but in fact not problem.
Sponsored by:	Absolight
2017-12-04 11:07:07 +00:00
Mathieu Arnold
ae164d1dfd Add a WARNING for people trying to do clever but bad things with Python
versions.

Sponsored by:	Absolight
2017-12-04 11:07:04 +00:00
Dmitry Marakasov
9a7c47672e Fix default python flavor wrt python version
There's a flaw in FLAVOR selection logic which makes python FLAVOR
default to py27 even with DEFAULT_VERSIONS=python=3.6. Fix this and
generate FLAVOR based on PYTHON_DEFAULT, PYTHON2_DEFAULT, PYTHON3_DEFAULT
(in that order) similar to how it's done in other parts of python.mk.
This does not affect FLAVOR in default setup (py27 remains), but
if python default version is modified, it will now properly affect FLAVOR.

Approved by:	portmgr (antoine)
Differential Revision:	D13326
2017-12-03 20:03:09 +00:00
Mathieu Arnold
551be3c723 Convert Python ports to FLAVORS.
Ports using USE_PYTHON=distutils are now flavored.  They will
  automatically get flavors (py27, py34, py35, py36) depending on what
  versions they support.

  There is also a USE_PYTHON=flavors for ports that do not use distutils
  but need FLAVORS to be set.  A USE_PYTHON=noflavors can be set if
  using distutils but flavors are not wanted.

  A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
  added to cope with Python ports that did not have the Python
  PKGNAMEPREFIX but are flavored.

  USES=python now also exports a PY_FLAVOR variable that contains the
  current python flavor.  It can be used in dependency lines when the
  port itself is not python flavored.  For example, deskutils/calibre.

  By default, all the flavors are generated.  To only generate flavors
  for the versions in PYTHON2_DEFAULT and PYTHON3_DEFAULT, define
  BUILD_DEFAULT_PYTHON_FLAVORS in your make.conf.

  In all the ports with Python dependencies, the *_DEPENDS entries MUST
  end with the flavor so that the framework knows which to build/use.
  This is done by appending '@${PY_FLAVOR}' after the origin (or
  @${FLAVOR} if in a Python module with Python flavors, as the content
  will be the same).  For example:

    RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}

PR:		223071
Reviewed by:	portmgr, python
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D12464
2017-11-30 15:50:30 +00:00
Tobias Kortkamp
96dff11bed Mk/Uses/cargo.mk: Respect CPUTYPE
C and C++ code can be built targeting newer CPUs if user defined
CPUTYPE in make.conf.  Let's opt-in for Rust as well.

PR:		223939
Submitted by:	jbeich
2017-11-29 11:06:11 +00:00
Pietro Cerutti
d99ac01858 Remove references to Tcl/Tk 8.4 2017-11-23 12:11:41 +00:00
Tijl Coosemans
2858adcf38 - Allow users to change the default Fortran compiler via DEFAULT_VERSIONS.
- Rename USES=fortran:gcc to the more appropriate USES=fortran:gfortran.
- Change the options in math/R and math/libRmath so the choice becomes
  flang or default instead of flang or gfortran.  Use default Fortran
  compiler again on amd64.
2017-11-18 13:09:56 +00:00
Tijl Coosemans
8ba225a23c Only link to libflang and libexecinfo as needed. 2017-11-18 11:26:21 +00:00
Torsten Zuehlsdorff
687591dd75 Add PHP 7.2 RC6
Notable changes:
- mcrypt module was removed
- sodium module was added
- sybase_ct artifacts removed

Also many PECL ports will not work with this version
since some files got renamed.

Reviewed by:           mat, ale, Rainer Duffner <rainer@ultra-secure.de>
Differential Revision: https://reviews.freebsd.org/D12980
2017-11-16 10:48:48 +00:00
Tobias C. Berner
d0d2791306 Update KDE Frameworks to 5.40.0
* update to 5.40.0
* unreleated cleanups:
  - unify use of DISTVERSION
  - remove created by line

PR:		223602
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D12966
2017-11-16 05:59:35 +00:00
Jan Beich
eb864e519d www/firefox: update to 57.0 (marketed as "Firefox Quantum")
Not a MFH candidate due to POLA violation per redesigned UI, broken
legacy addons and auto-reviewed new addons.

Changes:	https://www.mozilla.org/firefox/57.0/releasenotes/
PR:		222693
Tested by:	pi, tobik, TrueOS
2017-11-14 19:04:44 +00:00
Mathieu Arnold
f1f2ed2d14 Remove the php extensions pkg-message, it is more annoying than not.
Approved by:	bapt, adamw
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D13001
2017-11-09 18:05:11 +00:00
Tijl Coosemans
418faa5daf Merge Linux ncurses-base into linux_base. It's needed by ncurses-libs. 2017-11-01 13:21:11 +00:00
Antoine Brodin
7a201481ce - py-qt5-*: Fix build when using non default version of python, in this case
sip is installed as sip-${PYTHON_VER}

- py-qt*-demo: Fix packaging with python3, those ports have a python2 pkg-plist
  so USE_PYTHON=py3kplist must be used to convert it

PR:		219641
2017-11-01 07:32:34 +00:00
Steve Wills
52f487fa98 Update MASTER_SITE_LXQT
PR:		223209
Submitted by:	Olivier Duchateau <duchateau.olivier@gmail.com>
2017-10-27 15:30:18 +00:00
Tijl Coosemans
b7fad8b86f Update Linux CentOS 7 ports to 7.4.1708. 2017-10-26 19:23:18 +00:00
Stefan Eßer
b53bb52ac6 Add support for libfuse3 (sysutils/fusefs-libs3).
USES=fuse:3 does add a dependency on version 3 of libfuse, which is not
compatible with version 2 (which remains default version for now). Both
versions can co-exist at build and run time.

Reviewed by:	mat
Approved by:	mat (portmgr)
Differential Revision:	https://reviews.freebsd.org/D12694
2017-10-26 15:37:02 +00:00
Joseph Mingrone
f1d9274286 Mk/Uses/fortran.mk: Add flang as a non-default USES=fortran argument. Note,
flang is currently only available for amd64.

PR:		220313
Submitted by:	yuri@rawbw.com
Reviewed by:	db, jmd, mat, swills
Approved by:	portmgr
Differential Revision:	https://reviews.freebsd.org/D12529
2017-10-24 19:13:01 +00:00
Alex Kozlov
62a17a809f - Remove USES=fmake. It was created to help migration from
old FreeBSD make (pmake) and there are no more users of it left in
  the ports tree.

Differential Revision:	https://reviews.freebsd.org/D12634
Approved by:	portmgr (bapt)
2017-10-20 17:23:47 +00:00
Pietro Cerutti
a980085e7b Revert 452511, I missed some ports
I missed some ports that depend on lang/tcl84 or x11-toolkits/tk84 by
explicitly mentioning the port origin instead of using USES.
2017-10-20 11:12:56 +00:00
Pietro Cerutti
1feab97485 lang/tcl84, x11-toolkits/tk84: remove expired ports
Fix supported versions in USES=t[cl|k], remove last consumer (lang/fpc-tcl) and
bump PORTREVISION on two other ports that have had their dependencies or
default options changed (lang/smalltalk and x11-toolkits/ocaml-labltk)
2017-10-20 10:38:57 +00:00
Tobias C. Berner
bc52221c12 Update KDE Frameworks to 5.39
PR:		223003
Reviewed by:	rakuco, adridg
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D12620
2017-10-17 17:39:15 +00:00
Baptiste Daroussin
fff24ce393 Fix typo
PR:		223037
Submitted by:	brooks
MFH:		2017Q4
2017-10-16 08:01:33 +00:00
Guido Falsi
b1fac01e5e Retire WITHOUT_DEBUG flag.
The flag has partial support across the tree, and the same effect
can be obtained by using ".undef WITH_DEBUG".

Reviewed by:		mat, rene
Approved by:		portmgr (rene)
Differential Revision:	https://reviews.freebsd.org/D12548
2017-10-15 14:05:04 +00:00
Mathieu Arnold
4da13b8f8e Remove WANT_GNOME and HAVE_GNOME.
Approved by:	bapt kwm
Sponsored by:	Absolight
Differential Revision:	  https://reviews.freebsd.org/D12643
2017-10-12 15:57:51 +00:00
Tobias Kortkamp
3bd9ad9532 Mk/Uses/cargo.mk: Fix crate name and version split
cargo.mk is a little too eager in splitting a crate's name and version
in two when the version contains a dash (e.g. csv-1.0.0-beta.4) and
the wrong URL ends up being used in MASTER_SITES e.g.

.../csv-1.0.0/beta.4/download/...

instead of the correct one

.../csv/1.0.0-beta.4/download/...

Reviewed by:	dumbbell
Differential Revision:	https://reviews.freebsd.org/D12628
2017-10-12 10:51:00 +00:00
Tobias Kortkamp
33c2d3281c Enable depending on Ghostscript in the test phase
PR:		219982
Reviewed by:	mat
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D11114
2017-10-06 11:13:05 +00:00
Jan Beich
7f32d22f9a www/seamonkey: update to 2.49.1
- linux- version cannot be updated due to lack of gtk3 package
- mirror -i18n distfiles locally until the langpacks are renamed

Changes:	http://www.seamonkey-project.org/news
PR:		222464
Security:	5e0a038a-ca30-416d-a2f5-38cbf5e7df33
Security:	6cec1b0a-da15-467d-8691-1dea392d4c8d
Security:	555b244e-6b20-4546-851f-d8eb7d6c1ffa
Security:	1098a15b-b0f6-42b7-b5c7-8a8646e8be07
MFH:		2017Q4 (piling up until release)
2017-10-05 09:39:08 +00:00
Sunpoet Po-Chuan Hsieh
cd8d0d2888 Remove outdated USES=twisted 2017-09-30 10:15:03 +00:00
Jan Beich
d77b258ef8 www/firefox: update to 56.0 (rust required)
This is slightly early but due to recent PORTREVISION bump there's no
point doing QA for 55.0.* anymore.

Changes:	https://www.mozilla.org/firefox/56.0/releasenotes/
PR:		221335
Security:	1098a15b-b0f6-42b7-b5c7-8a8646e8be07
MFH:		2017Q3 not possible: requires r447450 and r450556
2017-09-27 04:12:34 +00:00