1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-31 10:46:16 +00:00
Commit Graph

6278 Commits

Author SHA1 Message Date
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
Bryan Drewery
15714bc164 Fix 'make -j'.
- Pass MAKEFLAGS down into do-depends properly.
- Remove redundant dependencies, run-depends and lib-depends, from
  targets that already depend on earlier targets that depend on
  the needed targets.

Reported by:	emaste
With hat:	portmgr
2017-12-07 01:51:00 +00:00
Mathieu Arnold
e5eb98236d Add a warning to try and prevent people from mis-using USE_GITHUB.
Sponsored by:	Absolight
2017-12-06 11:55:15 +00:00
Sunpoet Po-Chuan Hsieh
e68441c157 Update BROTLI description
Suggested by:	adamw
2017-12-04 21:30:00 +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
Sunpoet Po-Chuan Hsieh
4af76adde3 Add shared BROTLI description 2017-12-03 20:38:32 +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
Gerald Pfeifer
b1cc5272ce Remove 4.8 as a documented option for GCC_DEFAULT. Technically nothing
has changed, so it still should work as well (or not) as before, but it's
essentially untested and if anyone needs an older version from the GCC 4.x
era, 4.9 is still available.
2017-12-03 16:19:45 +00:00
Mathieu Arnold
244209f68c Fix build-depends-list and run-depends-list.
Sponsored by:	Absolight
2017-12-01 12:11:58 +00:00
Mathieu Arnold
3d94ff12c5 11.0 is no longer supported.
Sponsored by:	Absolight
2017-12-01 11:54:35 +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
Mathieu Arnold
471896e0a8 Add various FLAVOR related helpers.
To help with flavored ports, helpers are available.  In these, replace <*>
  with the flavor name.

  *_PKGNAMEPREFIX *_PKGNAMESUFFIX *_PLIST *_DESCR will overwrite the variable.

  *_CONFLICTS *_CONFLICTS_BUILD *_CONFLICTS_INSTALL *_PKG_DEPENDS
  *_EXTRACT_DEPENDS *_PATCH_DEPENDS *_FETCH_DEPENDS *_BUILD_DEPENDS
  *_LIB_DEPENDS *_RUN_DEPENDS *_TEST_DEPENDS will append to the variable.

Reviewed by:	portmgr
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D12483
2017-11-30 15:33:46 +00:00
Mathieu Arnold
30c4ca5784 Generic FLAVORS work.
- Enable FLAVORS.
- Make make describe flavors aware.
- Add a qa check for unique package names amongst flavors.
- Make MOVEDlint understand flavors.
- Add a bit of sanity check to make sure FLAVORS stay lowercase.
- Various fixes.

Reviewed by:	portmgr
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D12577
2017-11-30 15:33:29 +00:00
Tobias Kortkamp
5bce04c4a6 bsd.gecko.mk: use ${ECHO_CMD} in post-patch-SNDIO-on
Currently ${ECHO} is used which is problematic when it's set to 'true'
e.g.  when using `make -s`.

PR:		223964
Approved by:	gecko (jbeich)
2017-11-29 13:54:31 +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
Jan Beich
c38ed84499 gecko: unbreak aarch64 build for non-empty CPUTYPE
As of Rust 1.22.1 the following CPUTYPEs are supported:
https://github.com/rust-lang/llvm/blob/c7a16bd57c2a/include/llvm/Support/AArch64TargetParser.def#L54-L77
2017-11-29 04:42:33 +00:00
Jan Beich
a62753b206 gecko: respect CPUTYPE for Rust code
After r454995 build may fail if SSE2 is only enabled for C/C++ code as
simd crate expects SSE2 based on MACHINE_CPU.

PR:		223415 223300
Reported by:	vvd@unislabs.com
2017-11-28 12:57:57 +00:00
Jan Beich
d65b2886b1 lang/rust: avoid LLVM targeting SSE2 on i386 by default
This may help ports like textproc/ripgrep to run on old hardware.
Rust itself still requires SSE2 until bootstrap is regenerated.

PR:		223415
Approved by:	rust (dumbbell)
2017-11-27 22:02:29 +00:00
Jan Beich
e46270320f gecko: simplify WRKSRC handling
Requested by:	mat
2017-11-23 22:53:32 +00:00
Pietro Cerutti
d99ac01858 Remove references to Tcl/Tk 8.4 2017-11-23 12:11:41 +00:00
Steve Wills
ff1498f6af lang/ruby2?: make rubygem-* ports reproducible
PR:		223781
exp-run by:	antoine
2017-11-22 13:27:37 +00:00
Jan Beich
78da95113b Oops, back out r454668
BUNDLE_LIBS is used by every XUL app that cannot share libxul.so
2017-11-22 06:28:56 +00:00
Jan Beich
46bcdb5525 gecko: drop GNOMEUI option 2017-11-22 06:25:10 +00:00
Jan Beich
a6962b6218 gecko: drop broken and unmaintained PGO option
Clang PGO isn't supported by the build system yet.
https://bugzilla.mozilla.org/show_bug.cgi?id=1064049

Reported by:	many
PR:		221451
2017-11-22 06:24:59 +00:00
Jan Beich
83fc56bf2f gecko: move BUNDLE_LIBS to www/libxul 2017-11-22 06:24:49 +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
Jan Beich
415cda44c3 gecko: allow lld as ld on FreeBSD 12.0
PR:		223680
2017-11-16 23:04:25 +00:00
Bryan Drewery
dc656b07fc Follow-up r454266: Sort and remove duplicates for [DE]SELECTED_OPTIONS.
Some ports like graphics/povray-meta do funky things like add the same
option into PORT_OPTIONS twice.  This also avoids a new leading blank
space in some cases.

With hat:	portmgr
2017-11-16 19:41:20 +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
Bryan Drewery
44ae07a5c0 Fix [DE]SELECTED_OPTIONS to lazily evaluate as late as possible.
If a port modifies OPTIONS_UNSET after including bsd.port.options.mk
then these values were wrong even though all of 'showconfig',
'pretty-print-config', and the package generated all had the expected
options.

Only Poudriere and synth use these variables for incremental build checks.

Reviewed by:	sjg, bapt
Approved by:	portmgr (bapt)
Differential Revision:	https://reviews.freebsd.org/D13092
2017-11-15 19:13:50 +00:00
Tobias Kortkamp
9b90a3524f Add shared FISH description 2017-11-15 12:40:07 +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
Jan Beich
d87a45b8de gecko: configure is part of build since r373830 2017-11-13 22:21:47 +00:00
Joseph Mingrone
d2abf95cc9 Ensure .CURDIR contains an absolute path without a trailing slash.
Problems can occur when PORTSDIR is a symbolic link, or e.g.,

make -C /usr/ports/ search key='!*'

See also:

r450002
https://lists.freebsd.org/pipermail/freebsd-current/2017-November/067386.html

Submitted by:	 rum1cro@yandex.ru
Reported by:	 sergey.dyatko@gmail.com
Approved by:	 portmgr (bdrewery)
Differential Revision:	https://reviews.freebsd.org/D13019
2017-11-09 21:48:58 +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
Danilo G. Baio
393c55bdbf Remove MPL (without version) license
All ports now are using MPL[10|11|20] license.

Approved by:	portmgr (rene)
Differential Revision:	D12940
2017-11-04 13:14:01 +00:00
Jan Beich
32803c926f www/firefox: always use specified libclang version
MFH:		2017Q4
2017-11-04 11:33:52 +00:00
Jan Beich
a594b0fc91 www/firefox: move llvm* dep into Mk/bsd.gecko.mk
MFH:		2017Q4
2017-11-04 11:33:37 +00:00
Kyle Evans
c465fe25c2 Mk/bsd.java.mk: Strict JAVA_{VERSION,VENDOR,ERROR} validation
Currently, validation of JAVA_{VERSION,VENDOR,ERROR} does not constitute an
error and make(1) will happily continue, potentially doing the wrong thing.
Adjust the behavior as follows:

- Only validate each var if it's defined
- Remain verbose about what error exists and what's expected
- Fail the build if validation fails

bsd.java.mk exhibited this behavior up until r217132 inadvertently changed
it to be non-fatal.

PR:		220737
Approved by:	portmgr (bdrewery)
2017-11-04 01:16:31 +00:00
Tobias C. Berner
b2175efbe7 Fix qt5 builds on some arm architectures
* 222612: www/qt5-webkit: for armv6/v7: The cacheFlush support is missing on this platform
* 216816: devel/qt5: In arch.test, use CXXFLAGS from make environment

PR:		222612,216816, 223289
Exp-run by:	antoine
Submitted by:	mmel, mikael.urankar@gmail.com
Reported by:	Mark Millard <markmi@dsl-only.net>, mmel
Reviewed by:	mmel, mikael.urankar@gmail.com
Differential Revision:	https://reviews.freebsd.org/D12816
2017-11-03 18:06:15 +00:00
Mathieu Arnold
d45d670c33 Add a check for options names.
They must be all uppercase, so that they do not conflict with flavors
that are lowercase.

Reviewed by:	bapt
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D12810
2017-11-02 15:16:31 +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
Bryan Drewery
e7718f19b1 FLAVORS: Fix 'make clean' not respecting passed in FLAVOR.
With hat:	portmgr
2017-10-20 17:07:23 +00:00
Pietro Cerutti
dfbc8981a0 Track one more remaining reference to lang/fpc-tcl
Reported by:	antoine
2017-10-20 14:04:02 +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
Jan Beich
b610608be3 gecko: unbreak RUST_PORT=lang/rust-nightly after r443536
Reported by:	@myfreeweb (via 557cab235fab)
2017-10-20 05:27:19 +00:00
Adam Weinberger
70bbedcd74 Check for Qt depends in LOCALBASE, not PREFIX
Qt has been looking for its dependencies in PREFIX, rather than in
LOCALBASE. Dependencies are expected to exist in LOCALBASE, but
PREFIX may be set arbitrarily by the end-user. When PREFIX != LOCALBASE,
Qt-based ports failed to build.

PR:		222994
Reported by:	kargl
Approved by:	tcberner (kde)
Exp-run by:	antoine
MFH:		2017Q4
Differential Revision:	https://reviews.freebsd.org/D12666
2017-10-19 01:03:24 +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
Antoine Brodin
0e8ef7f48c Skip comments when parsing GID_FILES
Reviewed by:	bapt
MFH:		2017Q4
Differential Revision:	https://reviews.freebsd.org/D12682
2017-10-16 08:30:27 +00:00
Baptiste Daroussin
fff24ce393 Fix typo
PR:		223037
Submitted by:	brooks
MFH:		2017Q4
2017-10-16 08:01:33 +00:00
Jilles Tjoelker
0ae23b516e Make COPYTREE_* work with POSIX-compliant sh -c
The COPYTREE_BIN and COPYTREE_SHARE macros use constructs like

sh -c 'command' -- arg0 arg1

and assume that $0 will expand to arg0 and $1 will expand to arg1.

Our current sh implements it that way. However, POSIX specifies that $0 will
expand to -- and $1 will expand to arg0, since the command string is an
operand and not an option-argument. Bug #220587 requests making sh
POSIX-compliant in this regard.

If the argument after the command string does not start with '-', the
current sh behaves as required by POSIX. Therefore, adjust the macros so
this is always the case.

PR:		222870
Approved by:	portmgr (antoine)
2017-10-15 15:30:20 +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
Greg Lewis
e64557483f . Add a port of the Oracle JDK9 for Linux.
. Add support for JDK9 to bsd.java.mk
2017-10-14 18:41:06 +00:00
Baptiste Daroussin
50773eef9e Revert r451865, it was actually a temporary situation on belnet 2017-10-13 15:07:55 +00:00
Baptiste Daroussin
6ce78e4e6c Cleanup MYSQL master_sites 2017-10-13 15:00:44 +00:00
Baptiste Daroussin
176d7bbef2 Remove belnet from GENTOO mirror 2017-10-13 13:27:30 +00:00
Baptiste Daroussin
fc33d78757 Remove dead sourceforge.jp mirror 2017-10-13 12:26:35 +00:00
Baptiste Daroussin
060c2392d4 Cleanup XCONTRIB master sites 2017-10-13 09:03:09 +00:00
Baptiste Daroussin
790026ad20 clean up master sites for PACKETSTORM 2017-10-13 08:49:03 +00:00
Baptiste Daroussin
f7157395a7 Remove old master site for festival which is only mirroring old versions 2017-10-13 08:31:34 +00:00
Baptiste Daroussin
0db5bacf30 The lip6 mirror for SUNSITE only contains the layout, but none of the files 2017-10-13 08:25:01 +00:00
Baptiste Daroussin
708be361cd Cleanup NETLIB sites 2017-10-13 08:13:42 +00:00
Baptiste Daroussin
71fc26cc0e Clean up SAMBA sites 2017-10-13 08:11:05 +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
Baptiste Daroussin
9c75accbf8 belnet.be has "mirror" in the path only for FTP servers, not http ones 2017-10-12 12:03:19 +00:00
Baptiste Daroussin
de725d5b12 Remove a blank line getting in by accident 2017-10-12 11:57:04 +00:00
Baptiste Daroussin
db1bd233c4 Cleanup GENTOO mirrors 2017-10-12 11:53:29 +00:00
Baptiste Daroussin
62f950039d The sunsite.cnlab-switch.ch has gone 2017-10-12 11:50:40 +00:00
Baptiste Daroussin
76f7b4bcbd Cleanup SUNSITE mirrors 2017-10-12 11:41:25 +00:00
Baptiste Daroussin
fe9bc0d2f5 Oups fix bad commit r451855 leaving a trailing \ 2017-10-12 11:29:38 +00:00
Baptiste Daroussin
03fd71da45 pair.com have stopped their ftp server 2017-10-12 11:19:37 +00:00
Baptiste Daroussin
adc020270f Cleanup the qt list of mirrors 2017-10-12 11:09:39 +00:00
Baptiste Daroussin
cb668036dd Remove more dead KDE mirrors 2017-10-12 11:05:52 +00:00
Baptiste Daroussin
2cdb8304a8 Remove dead sourceforge mirror or the one with invalid certificates 2017-10-12 11:03:07 +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
Baptiste Daroussin
d548990c03 Remove more dead KDE mirrors 2017-10-12 10:02:29 +00:00
Baptiste Daroussin
82e193fe5d The sunet.se mirror service does not mirror as many things as it used to do 2017-10-12 09:53:39 +00:00
Baptiste Daroussin
de218ee93b Remove some dead kde mirrors 2017-10-12 09:51:55 +00:00
Baptiste Daroussin
e1c0e7e5e7 ftp.rhnet.is does not exist anymore 2017-10-12 09:45:33 +00:00
Baptiste Daroussin
bd7d35cded Cleanup some dead gnome mirrors 2017-10-12 09:13:47 +00:00
Baptiste Daroussin
ec229aec83 Introduce the new BINARY_ALIAS variable
When defined it will create symlinks of some given binaries in a directory which
will be prepended to the PATH.

The syntax is the following:
BINARY_ALIAS=   target1=source1  target2=source2

For example to have a "swig" binary in the path which will be pointing at
swig3.0 and a "sed" pointing at GNU sed: gsed

BINARY_ALIAS=  swig=swig3.0 sed=gsed

Reviewed by:	swills, adamw, mat
Approved by:	swills (portmgr)
Differential Revision:	https://reviews.freebsd.org/D12603
2017-10-11 19:03:24 +00:00
Sunpoet Po-Chuan Hsieh
bca2523b05 Add LICENSE_FILE support for single license file containing multiple licenses
Differential Revision:	https://reviews.freebsd.org/D11443
Submitted by:	sunpoet (myself)
Approved by:	portmgr (mat)
2017-10-07 09:12:31 +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
Ashish SHUKLA
95dc14fd6e editors/emacs-devel:
- Update to git snapshot 92045f4
 - Add OPTION for LCMS2 support

bsd.emacs.mk:
 - Update emacs-devel block to reflect change in Emacs version
2017-10-05 02:00:34 +00:00
Adriaan de Groot
0607e8e163 Take out the check that suggests that all <foo>-qt5 ports should be
part of USE_QT5, since all of those suggestions are wrong.

Approved by:	rakuco (mentor), tcberner (mentor), portmgr (mat)
Differential Revision:	https://reviews.freebsd.org/D12526
2017-10-04 21:01:09 +00:00
Baptiste Daroussin
7157a8deb4 Garbage collect openldap 2.3 leftovers 2017-10-04 09:32:12 +00:00
Sunpoet Po-Chuan Hsieh
cd8d0d2888 Remove outdated USES=twisted 2017-09-30 10:15:03 +00:00
Bryan Drewery
cfc9bb0ea1 Disable FLAVORS support for now until we have real FLAVORS-using ports.
Having this enabled breaks Poudriere's ability to build py2 and py3 ports
together which FLAVORS aims to resolve.  Once we have actual python
FLAVORS support ready to commit we can then enable this feature again.

With hat:	portmgr
2017-09-29 23:37:16 +00:00
Jan Beich
a0ea910fc3 gecko: preemptively drop unused MOZ_PROTOCOLS
https://bugzilla.mozilla.org/show_bug.cgi?id=1391467
2017-09-29 15:18:18 +00:00
Jan Beich
0899675b73 gecko: unbreak on 12.0 (lld by default)
/usr/bin/ld: error: ../../js/src/jsarray.o: string table non-null terminated

PR:		218808
2017-09-29 12:51:15 +00:00
Jan Beich
1debab6cda gecko: unbreak on 11.1 aarch64
/usr/bin/ld: error: unknown argument: --warn-unresolved-symbols

PR:		218808
Reported by:	O. Hartmann, pkg-fallout (for /head before lld 5.0 update)
2017-09-28 19:32:04 +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
Jan Beich
cfc5748080 gecko: add JACK option (enabled by default)
PR:		221464
2017-09-27 04:12:05 +00:00
Jan Beich
b4ec61411a gecko: PULSEAUDIO-only builds can fallback to OSS 2017-09-27 04:11:49 +00:00
Mathieu Arnold
7b6015bee4 Fix post-clean.
Submitted by:	antoine
Sponsored by:	Absolight
2017-09-26 20:28:53 +00:00
Mathieu Arnold
e2e97eb2bc Implement basic flavors.
**Do not start migrating any ports, a hook will prevent it**

This has been a long awaiting feature, most of the work has been done by
bapt, bdrewery and antoine, I am just the one actually doing the commit.

All this informations, and more to come are in the first link to our wiki
in the bottom block. A roadmap is in the second link.

To define a different flavors in a port, before any include, set:

FLAVORS=  flavor1 flavor2 [...]

The first flavor in the list will be the default.

You can then check for flavors after includ'ing bsd.port.options.mk with:

.if ${FLAVOR} == flavor2
[some stuff]
.endif

To build flavor2, simply run:

make FLAVOR=flavor2

To depend on a specific flavor, write @<flavor> at the end of the depend
string, like:

RUN_DEPENDS=	something:origin@foo

Submitted by:	bapt, bdrewery, antoine
Reviewed by:	portmgr
More infos:	https://wiki.freebsd.org/Ports/FlavorsMigration
Todo List:	https://wiki.freebsd.org/Ports/FlavorsAndSubPackages
With hat:	portmgr
Differential Revision: https://reviews.freebsd.org/D10327
2017-09-26 14:14:44 +00:00
Mathieu Arnold
2454b666be Remove a useless block in the shebang checks.
* Once upon a time, we checked all of STAGEDIR/PREFIX's executable
  files.
* We then decided too many false positives were found, so we switched to
  only checking executable files in bin/sbin/libexec/www, and also
  symlinks that were in there.
* And then, we decided to go back to check all of STAGEDIR/PREFIX's
  executable files, but forgot to remove the checks for symlinks (which
  are now useless because we already check all the executable files.)

Reported by:	lifanov
Sponsored by:	Absolight
2017-09-25 22:45:08 +00:00
Jean-Sébastien Pédron
eede029c1b Mk/bsd.gecko.mk, multimedia/librespot: Fix version of Rust which started to ship Cargo
Cargo started to ship with Rust in 1.19.0_2. I forgot to indicate the
port revision in the 1.19.0_2 commit.

Reported by:	jbeich@
2017-09-25 21:21:33 +00:00
Tijl Coosemans
8814b01d9e Define ICONV_GET_ILSEQ_INVALID and ICONV_SET_ILSEQ_INVALID when mimicking
base system iconv.h.
2017-09-25 20:55:27 +00:00
Sunpoet Po-Chuan Hsieh
3865588db3 Update to 2.3.5
- Update WWW

Changes:	https://www.ruby-lang.org/en/news/2017/09/14/ruby-2-3-5-released/
PR:		222457
Exp-run by:	antoine
Security:	95b01379-9d52-11e7-a25c-471bafc3262f
MFH:		2017Q3
2017-09-24 12:41:44 +00:00
Mahdi Mokhtari
57a4bcf003 Mk/Uses/mysql.mk: Change the way of extracting version info from MySQL flavors
Use `mysql_config --version` instead of `mysql --version` because
    in MySQL 8.0 the format of output is changed and it'd be [more reliable] and
    easier to use just mysql_config because it only returns the numbers we want.

Reviewed by:	brnrd, mat (mentor, portmgr)
Approved by:	brnrd, mat (mentor, portmgr)
Sponsored by:	EuroBSDCon Paris Devsummit
Differential Revision:	https://reviews.freebsd.org/D12458
2017-09-22 15:28:09 +00:00
Jean-Sébastien Pédron
bae5285e87 Mk/Uses/cargo.mk: Fix version of Rust which started to ship Cargo
Cargo started to ship with Rust in 1.19.0_2. I forgot to indicate the
port revision in the 1.19.0_2 commit.

Reported by:	jbeich@
Differential Revision:	https://reviews.freebsd.org/D12460
2017-09-22 13:57:16 +00:00
Mathieu Arnold
3fcd0e41de Remove USES=execinfo.
PR:		220271
Submitted by:	mat (review), Yasuhiro KIMURA (PR)
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D11488
2017-09-22 10:48:28 +00:00
Sunpoet Po-Chuan Hsieh
fc7efe3a6f Update to 2.4.1
- Update WWW

Changes:	https://www.ruby-lang.org/en/news/2017/09/14/ruby-2-4-2-released/
Security:	95b01379-9d52-11e7-a25c-471bafc3262f
MFH:		2017Q3
2017-09-19 17:01:15 +00:00
Sunpoet Po-Chuan Hsieh
d3cf41dbb1 Update to 2.2.8
- Update WWW

Changes:	https://www.ruby-lang.org/en/news/2017/09/14/ruby-2-2-8-released/
Security:	95b01379-9d52-11e7-a25c-471bafc3262f
MFH:		2017Q3
2017-09-19 16:59:22 +00:00
Tobias C. Berner
5f62895ae8 Update KDE Frameworks to 5.38.0
Changelog:	https://www.kde.org/announcements/kde-frameworks-5.38.0.php

PR:		222171
Exp-run by:	antoine
Reviewed by:	rakuco, adridg
Differential Revision:	https://reviews.freebsd.org/D12289
2017-09-18 17:42:44 +00:00
Guido Falsi
7a53fc10e9 - Update sysutils/garcon to 0.6.1 [1]
- Differentiate between gtk2 and gtk3 libraries in Uses/xfce.mk [2]

PR:			219334 [2], 219928 [1]
Submitted by:		Olivier Duchateau <duchateau.olivier@gmail.com>
Differential Revision:	D12387 [1] [2]
2017-09-18 14:17:15 +00:00
Joseph Mingrone
212ed26ec9 Ensure .CURDIR contains an absolute path without a trailing slash.
Failed builds can occur when PORTSDIR is a symbolic link, or with

make -C /usr/ports/category/port/

PR:		221296
Reported by:	yasu@utahime.org, rum1cro@yandex.ru
Reviewed by:	bdrewery, sjg
Approved by:	portmgr (bdrewery)
Differential Revision:	https://reviews.freebsd.org/D11934
2017-09-17 14:20:14 +00:00
Jean-Sébastien Pédron
0cc13b3d48 lang/rust: Install Cargo + use bundled crates
This port now provides Cargo. This is the recommended now because Cargo
won't be provided separately in the future.

To build Cargo, we set `extended = true` in `config.toml`. As a side
effect, this flag also installs Rust source code. The port has a new
`SOURCES` option (disabled by default) to keep those sources.

As a consequence of this, `devel/cargo` is removed. Several ports
and Makefiles in Mk were updated to depend on `lang/rust` instead of
`devel/cargo`.

The other big change in this patch is the use of the bundled crates,
instead of relying on Cargo's registry (which was part of the distfiles,
in order to allow offline builds). So now, we don't need to prepare the
registry when updating this port.

This has several other benefits:
    * It fixes the build with sudo(8).
    * It fixes the use of the ino-64 patch (it was not applied to the
      registry, thus not used).

Compilation errors were fixed in the ino-64 patch.

Various `.cargo-checksum.json` files are updated after the sources are
patched (FBSD10_FIX, ino-64, and so on). This fixes builds which were
failing with errors such as:

    error: the listed checksum of `.../rustc-1.19.0-src/src/vendor/lzma-sys/xz-5.2.3/build-aux/config.rpath` has changed:
    expected: c8b4c017079da9dfb3086a0583e60ffe736184d89005dc5973f0bb0fd17c04bb
    actual:   561b00eb30ecaef2c9da17bc195e7d2a7ea63facea38ea9849fbb0ed340bebba

PR:		221088
Reported by:	joneum@, nwhitehorn@, romain@,
		Ekaterina Vaartis <vaartis@cock.li>,
		david@catwhisker.org,
		fullermd@over-yonder.net,
		rum1cro@yandex.ru,
		w.schwarzenfeld@utanet.at
Differential Revision:	https://reviews.freebsd.org/D11783
2017-09-15 18:01:17 +00:00
Sunpoet Po-Chuan Hsieh
ff320bb1ad Remove ftp.dti.ad.jp
PR:		222264
Submitted by:	Yasuhiro KIMURA <yasu@utahime.org>
2017-09-13 13:07:50 +00:00
Gerald Pfeifer
3d86e92285 Replace USE_GCC=5+ by USE_GCC=yes in the case of USES=compiler:c++14-lang.
When this was added by r392084 on 2015-07-14, the default flavor of GCC
was GCC 4.8 and explicitly requesting GCC 5 (or later) was necessary for
C++ 14 support.  Now that the default version of GCC is GCC 6, after GCC 5
for several months, we can use the preferred notion of USE_GCC=yes instead
of specifying a concrete minimum version.

Among others this helps with cases where GCC 6 is better adjusted for
FreeBSD, notably the well known std::to_string issue (where that is only
enabled with GCC 6 or later).

PR:		222268
Approved by:	portmgr (antoine)
MFH:		2017Q3
2017-09-12 20:43:58 +00:00
Ashish SHUKLA
938c9d589e - Update Emacs to 25.3
Security:	https://www.vuxml.org/freebsd/47e2e52c-975c-11e7-942d-5404a68a61a2.html
2017-09-12 15:34:32 +00:00
Antoine Brodin
9b9ad2d004 When using tcl:someversion+, prefer the default version over the highest
one if none is installed

With hat:	portmgr
2017-09-11 18:32:17 +00:00
Pietro Cerutti
dfa831161e lang/tcl87, x11-toolkits/tk87: import Tcl/Tk 8.7a1
This is the first alpha release for Tcl/Tk 8.7. See the full release notes
here: https://sourceforge.net/p/tcl/mailman/message/36030211
2017-09-11 06:30:53 +00:00
Gerald Pfeifer
70a626a644 Update the default version of GCC (USES_GCC=yes and some others) from
GCC 5.4 to GCC 6.4.

PR:		219275
Thanks to:	jbeich, rakuco, and others for fixing (too) many broken ports
2017-09-10 20:53:34 +00:00
Jochen Neumeister
fb672379f8 When "USES= php:ext" is set into the Makefile, there is a following
warning:"@exec is deprecated, please use @[pre|post][un]exec" [1][2]
After change exec and unexec to post* it works again correctly

[1] https://github.com/freebsd/freebsd-ports/blob/master/CHANGES#L407
[2] https://www.freebsd.org/doc/en/books/porters-handbook/book.html#plist-keywords-base-exec

Approved by:	portmgr (mat)
Approved my:	rene (mentor)
Differential Revision:	https://reviews.freebsd.org/D12215
2017-09-09 16:49:29 +00:00
Richard Gallamore
c74acc585c Cleanup duplicate code in USE_GITHUB
PR:		221816
Reviewed by:	lifanov (mentor), matthew (mentor), mat
Approved by:	lifanov (mentor), matthew (mentor), mat
Differential Revision:	https://reviews.freebsd.org/D12125
2017-09-04 18:35:50 +00:00
Rene Ladan
3d0c93eb6a Remove Python 3.3 from the Ports Framework. 2017-09-03 10:36:15 +00:00
Richard Gallamore
048fc5b53b ln use be ${LN}
Reviewed by:	lifanov (mentor), mat
Approved by:	lifanov (mentor), mat
Differential Revision:	https://reviews.freebsd.org/D12125
2017-08-29 17:01:39 +00:00
Tobias C. Berner
9c2853c669 Update KDE Frameworks to 5.37.0
PR:		221599
Reviewed by:	rakuco
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D12067
2017-08-29 05:40:51 +00:00
Ed Maste
6c3b516b73 Add LLD_UNSAFE to force use of ld.bfd when ld is lld
By default the compiler will find /usr/bin/ld for the linker.  If a port
sets LLD_UNSAFE and /usr/bin/ld is ld.lld, then add -fuse-ld=bfd to
force the use of the binutils BFD linker (from the base system, if
available, or by setting USE_BINUTILS).

This change is based on an earlier, similar patch from bapt, with the
addition of the -fuse-ld flag.

PR:		214864
Reviewed by:	bapt
Approved by:	portmgr (bapt)
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D12064
2017-08-22 18:55:00 +00:00
David Chisnall
31e0b9f12c Update GNUstep core libraries.
Update the default Objective-C compiler.

Fix various build failures in GNUstep ports from newer versions of the GNUstep
core libraries and from changes to GNUstep Make.

Update various ports that use GNUstep and bump the portrevision of the ones
that haven't had a new release.
2017-08-21 13:26:28 +00:00
Jan Beich
a7b616bc63 gecko: stop calling home to check for updates after r436423
Upstream seems to define "default" as Nightly (custom build), not safe
to update automatically. Once we switched to proper channels updater
kicked in, except Mozilla never built binaries for FreeBSD. Not to
mention, vendor updates conflict with system package manager.

PR:		221541
MFH:		2017Q3
2017-08-18 21:39:46 +00:00
Raphael Kubo da Costa
90652af7cd New port: www/qt5-webengine.
Qt WebEngine provides functionality for rendering regions of dynamic web
content. In other words, this is Chromium's Blink web engine and parts of
Chromium's content layer wrapped by Qt. Qt WebKit is deprecated upstream, and
WebEngine is the future.

This port has been in the works for a very long time, with contributions by
myself, tcberner, Adriaan de Groot and Marie Loise Nolden.

Since most of the port is just a large part of Chromium's code base, this means
sharing some of the pain www/chromium goes through by having to patch a ton of
files. We cannot share the exact same patches because this version of Qt
WebEngine is based on an older Chromium release.

I have verified that the port works, but it is possible that many things are
still wrong or missing, so bug reports are encouraged.

Reviewed by:	Adriaan de Groot <groot@kde.org>, tcberner
Differential Revision:	https://reviews.freebsd.org/D12063
2017-08-17 15:56:11 +00:00
Raphael Kubo da Costa
c8f6b3ec1c bsd.qt.mk: Remove qt5-webkit from devel/qt5/distinfo.
Since r422306, we use a separate distinfo file for www/qt5-webkit because it is
no longer part of official Qt5 releases. However, we forgot to remove it from
QT_DIST in bsd.qt.mk, which means `make makesum' from other Qt5 ports was
trying to fetch qt5-webkit from the wrong location.

Reviewed by:	tcberner
2017-08-17 12:21:41 +00:00
Mathieu Arnold
e2d324b258 Add a git-clone target to clone the github repositories referenced in
ports using USE_GITHUB.

Sponsored by:	Absolight
2017-08-16 12:50:10 +00:00
Palle Girgensohn
a2af722ecc Fix broken line 2017-08-15 20:59:27 +00:00
Palle Girgensohn
6b96baf9ee FTP sites are shut down.
WWW:	https://www.postgresql.org/message-id/09fd5ea6-7e09-3101-07ba-2c1d9f2d0aec%40joeconway.com
2017-08-15 20:50:20 +00:00