Commit graph

7753 commits

Author SHA1 Message Date
Rene Ladan
620968a43a cleanup: drop support for EOL FreeBSD 11.X
Search criteria used:
- 11.4
- OSREL*
- OSVER*
- *_FreeBSD_11

Input from:
- adridg: devel/qca-legacy
- jbeich: _WITH_DPRINTF, _WITH_GETLINE, GNU bfd workarounds
- sunpoet: security/p5-*OpenSSL*

Reviewed by:	doceng, kde, multimedia, perl, python, ruby, rust
Differential Revision: https://reviews.freebsd.org/D32008
Test Plan: make index
2021-09-30 23:23:30 +02:00
Piotr Kubaj
fb5f03a87c Mk/bsd.lto.mk: add global LTO support for ports
It's well known that LTO provides both performance and size benefits for
binaries.

Add preliminary, opt-in support for global LTO enforcement to ports. Ports that
provide LTO option on their own and the ones that don't work with LTO will need
to set LTO_UNSAFE in the future.

PR:	258536
2021-09-30 18:27:50 +00:00
Tobias C. Berner
4d10eef66b x11-toolkits/qt5-declarative: split out 'test' parts into new port
kde@ has been focused recently on reducing the load of "unnecessary"
runtime dependencies, to allow third party distributions to have a
leaner installation.
One part of this effort was to make qt5-testlib a "build only"
dependency.
Unfortunately, parts of qt5-declarative link against testlib (to provide
test functionality for declarative parts).

This lead to an unfortunate loop of pkg-autoremove removing testlib, and
then pkg-update adding it again (as it was an improperly registered
dependency).

This change splits out the "test"-parts into its own port. Thereby
making testlib not even a required build-time dependency for
x11-toolkits/qt5-delcarative.

Reported by:		jrm
Differential Revision: https://reviews.freebsd.org/D32097
2021-09-24 17:09:09 +02:00
Gerald Pfeifer
e6d30d6533 Mk/bsd.gcc.mk: Strongly discourage USE_GCC=any
PR:		258015
2021-09-23 18:20:23 +00:00
Baptiste Daroussin
3556bb2226 USES=ncurses: expose variable with the name of the lib to link against
ncurses from ports and futur ncurses in base differs from current
ncurses in base by the fact it is not providing a giant libncurses.so
but 2 libraries: libtinfo and libncurses, those information often needs
to be reported to the consumer port.

while here remove a now useless test for support of widechar ncurses in
base, all supported version of freebsd have it now.
2021-09-23 18:22:53 +02:00
Dmitri Goutnik
e90c51255c Mk/Uses/go.mk: Resign maintainership 2021-09-21 10:57:44 -05:00
Baptiste Daroussin
aedc18359a Mk/bsd.port.mk: fix NO_PKG_REGISTER
Since we switched to pkg, NO_PKG_REGISTER was not working anymore.
Since pkg 1.17.2 the pkg register command do support -N option which
allows to bring back NO_PKG_REGISTER.

PR:	191461
2021-09-21 10:40:03 +02:00
Jan Beich
93924a20b3
Uses/cargo: respect CC when --target is passed
devel/cargo-c always passes --target when building consumers.
Some other USES=cargo consumers may also pass --target.

Differential Revision:	https://reviews.freebsd.org/D31568
2021-09-19 11:03:22 +02:00
Tobias Kortkamp
6f1fefb50e
lang/rust: Update to 1.55.0
- Set codegen-units=1 [1]
- Add hack to skip cargo update on git sources as a step towards solving [2]
- Fix 'capacity overflow' panics on armv* [3]

Changes:	https://blog.rust-lang.org/2021-09-09/Rust-1.55.0.html
PR:		258337
PR:		256099 [1]
PR:		256581 [2]
PR:		257419 [3]
Reviewed by:	mikael, pkubaj
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D31872
With hat:	rust
2021-09-19 11:03:21 +02:00
Po-Chuan Hsieh
6b981ad513
Mk/bsd.default-versions.mk: Update comment: remove bdb 6 2021-09-19 14:01:04 +08:00
Sergey A. Osokin
06a8050112 devel/mercurial: update to 5.9.1.
Bump PORTREVISIONs for dependant ports.
While I'm here update devel/tortoisehg to 5.9.1. (*)

Approved by:	arrowd (*)
PR:		ports/258352
2021-09-15 22:16:07 -04:00
Tobias C. Berner
7871d80c1f KDE: Update KDE Frameworks to 5.86
Saturday, 11 September 2021

KDE today announces the release of KDE Frameworks 5.86.0.

KDE Frameworks are 83 addon libraries to Qt which provide a wide variety
of commonly needed functionality in mature, peer reviewed and well
tested libraries with friendly licensing terms. For an introduction see
the KDE Frameworks release announcement.

This release is part of a series of planned monthly releases making
improvements available to developers in a quick and predictable manner.

Full announcement:
	https://kde.org/announcements/frameworks/5/5.86.0/

PR:		258426
Exp-run by:	antoine
2021-09-15 16:37:22 +02:00
Adriaan de Groot
033c86c97a Uses/kde.mk: fix copy-paste error 2021-09-13 21:04:25 +02:00
Adriaan de Groot
2697223994 sysutils/plasma5-ksystemstats: new port for system resource usage
Plasma Systemstats is a successor to (lib)KSysGuard in the way
that Plasma System Monitor is a successor to KSysGuard. The
background idea is that system statistics collection (resource
usage) should be low-overhead and pluggable and the UI in the
application flexible. KSysGuard achieved that with 2010-era
technologies, but time and technology moves on.

Note, though, that the backend -- the actual system-statistics-
collection -- on FreeBSD is missing collection of network
activity (entirely) and memory use (is wrong). System monitor
is **not yet** a replacement for KSysGuard on FreeBSD, but the
CPU monitoring -- which might be the most important and graphically
appealing bit on a desktop machine -- is much improved.

This commit introduces the new port, adds it to USE_KDE,
and makes it a dependency of system-monitor, to ease the
eventual replacement (once the issues mentioned above are
cleared up) of old by new.
2021-09-13 20:42:14 +02:00
Tobias Kortkamp
628c61939e
Scripts/split-url.awk: Pass result array as parameter 2021-09-08 21:05:19 +02:00
Tobias Kortkamp
efeac961a7
Scripts/split-url.awk: Add reverse function to stitch the URL back together 2021-09-08 21:05:18 +02:00
Tobias Kortkamp
217c3e9d72
Scripts/split-url.awk: Split query strings too
Also reset state on function entry otherwise split_url() cannot
really be called multiple times since there would be garbage values
in the url array from previous calls.
2021-09-08 21:05:18 +02:00
Adriaan de Groot
db3dbbe912 Uses/eigen: drop eigen2 2021-09-07 23:19:39 +02:00
Tobias Kortkamp
d8fbaa503c
Scripts/cargo-crates.awk: Move split_url() to separate file
Also stop leaking local variables
2021-09-07 18:53:36 +02:00
Tobias Kortkamp
905b1bd86f
Uses/cargo: Try to load Makefile.crates
Some ports stash the `make cargo-crates` output there which might as
well be supported by USES=cargo.
2021-09-07 10:04:09 +02:00
Tobias Kortkamp
b1670e2c3d
lang/rust*: Mk/Uses/cargo.mk: Move TMPDIR to WRKDIR
rustc stashes intermediary files in TMPDIR (default /tmp) which
might cause issues for users that for some reason space limit their
/tmp.  WRKDIR should have plenty of space.

Other ports that use rustc might be affected too, but set it only
in USES=cargo and lang/rust* ports for now.

PR:		258126
With hat:	rust
2021-09-06 21:28:28 +02:00
Xin LI
53fec214c6 net/openldap25-server: OpenLDAP 2.5.7 2021-09-05 14:05:57 -07:00
Piotr Kubaj
bfed4b7f3b Mk/bsd.gecko.mk: enable cross-LTO on powerpc64le 2021-09-04 12:25:39 +00:00
Tobias C. Berner
6f5850a014 KDE: Update KDE Gear to 21.08.1
Thursday, 2 September 2021

Over 120 individual programs plus dozens of programmer libraries and
feature plugins are released simultaneously as part of KDE Gear.

Today they all get new bugfix source releases with updated translations,
including:

  *  konsole: Fix KXmlGUI toolbars and Konsole MainWindow size.
  *  elisa: Fix the “Files” view.
  *  skanlite: Fix image saving when preview is not shown.

Full announcement:
	https://kde.org/announcements/gear/21.08.1/

Full Changelog:
	https://kde.org/announcements/changelogs/gear/21.08.1/
2021-09-02 16:52:51 +02:00
Tobias C. Berner
af854d2032 plasma5: update to KDE Plasma Desktop to 5.22.5
Tuesday, 31 August 2021. Today KDE releases a bugfix update to KDE
Plasma 5, versioned 5.22.5.

Plasma 5.22 was released in June 2021 with many feature refinements and
new modules to complete the desktop experience.

This release adds a month's worth of new translations and fixes from
KDE's contributors. The bugfixes are typically small but important and
include:

  *  KDE GTK Config: Make sure to actually commit GSettings changes.
  *  KSystemStats: Fix handling of IPV6 addresses. Fixes bug #436296
  *  [applets/digitalclock] Let long timezones list scroll.
     Fixes bug #439147

Full changelog:
	https://kde.org/announcements/changelogs/plasma/5/5.22.4-5.22.5/

- while here: reformat & sort the USES/USE_FOO lines consistently
2021-09-01 17:04:16 +02:00
Jason W. Bacon
9e8689607e Mk/bsd.local.mk: Remove accidentally committed local mods
Git stash failure
2021-08-31 09:05:00 -05:00
Jason W. Bacon
73855f4916 coregarage: Remove extraneous portrevision 2021-08-31 08:29:26 -05:00
pouet
55dbddeb07 lang/rust: Update to 1.54.0
- Update lang/rust to 1.54.0
 - Update devel/racer to 2.1.48
 - Fix various consumers

Changes:	https://blog.rust-lang.org/2021/07/29/Rust-1.54.0.html
Reviewed by:	tobik, pkubaj
Differential Revision:        https://reviews.freebsd.org/D31617
With hat:	rust
2021-08-28 15:38:37 +02:00
Jose Alonso Cardenas Marquez
c1ce749c29 editors/lazarus*: Include new lazarus ports into mk files
- Add WANT_LAZARUS_DEVEL option if you want built apps using lazarus trunk
  version from ports. This variable can be added to /etc/make.conf. Otherwise,
  stable version of lazarus will be used.
- WANT_LAZARUS_DEVEL will use editors/lazarus-devel or editors/lazarus-qt5-devel
  ports instead of editors/lazarus or lazarus-qt5 ones
2021-08-26 18:21:46 -05:00
Brooks Davis
acdf72266d devel/llvm13: Update to 13.0.0rc1, connect
This port is derived from devel/llvm12 and adds support for the flang
Fortran compiler extracted from devel/llvm-devel.

Sponsored by:	DARPA
2021-08-24 18:44:56 +01:00
Baptiste Daroussin
ea36ef6f67 Mk/bsd.port.mk: Add PKG_COMPRESSION_LEVEL user variable
it allows users to set their desired compression level when packaging
in make.conf

PR:		257427
Suggested by:	Trond Endrestol <Trond.Endrestol@ximalas.info>
2021-08-23 16:12:20 +02:00
Baptiste Daroussin
03d5e2defa Mk/bsd.port.mk: clean up some documentation formatting 2021-08-23 16:12:20 +02:00
Baptiste Daroussin
6b9c8ced32 Mk/bsd.port.mk: document PKG_COMPRESSION_FORMAT 2021-08-23 16:12:19 +02:00
Jan Beich
d88adb1c0a x11-toolkits/gstreamer1-plugins-gtk4: add new port
GTK4 plugin contains:

- gtk4glsink: A video sink that renders to a GtkWidget using OpenGL
- gtk4sink: A video sink that renders to a GtkWidget

https://gstreamer.freedesktop.org/documentation/gtk/gtksink.html
2021-08-23 12:52:23 +00:00
Danilo G. Baio
719c944da4 Mk/bsd.options.desc.mk: Add TOMCAT10 2021-08-19 16:09:44 -03:00
Tobias C. Berner
4fe91006ad KDE: Update KDE Framework to 5.85
Friday, 13 August 2021

KDE today announces the release of KDE Frameworks 5.85.0.

KDE Frameworks are 83 addon libraries to Qt which provide a wide variety
of commonly needed functionality in mature, peer reviewed and well
tested libraries with friendly licensing terms. For an introduction see
the KDE Frameworks release announcement.

This release is part of a series of planned monthly releases making
improvements available to developers in a quick and predictable manner.

Full announcement and changelog:
	https://kde.org/announcements/frameworks/5/5.85.0/

PR:		257837
Exp-run by:	antoine
2021-08-18 22:32:32 +02:00
Piotr Kubaj
84291da55d Mk/bsd.port.mk: remove elfv2 workaround
Binutils is not present anymore on elfv2 systems.

Fixes build of audio/invada-studio-plugins-lv2:
/usr/local/bin/ld: unrecognized option '-B/usr/local/bin'
/usr/local/bin/ld: use the --help option for usage information
2021-08-18 09:54:12 +00:00
Christoph Moench-Tegeder
f9af88868d www/firefox: depend on libepoll-shim
libxul.so clearly links against libepoll-shim, and we have reports
of firefox failing to start without libepoll-shim. this also affects
mail/thunderbird (once we land it), so fix the problem in bsd.gecko.mk.
First reports are against firefox 90, set the version cutoff
accordingly.

PR:		257490
Reported by:	Maxim Filimonov
2021-08-14 23:13:09 +02:00
Bryan Drewery
259478fc3a Mk/bsd.port.mk: Revert the UNAME_r error text change for now.
Keep the new flag though.

This error can occur in some other cases such as building on a
mismatched host kernel+userland.  Some further study is needed
and it may be possible to automatically set UNAME_r.
2021-08-13 21:52:22 -07:00
Bryan Drewery
8ec588d8f0 Mk/bsd.port.mk: Fix another typo
Reported by:	grembo
Fixes:	        154492dd1f ("Clarify UNAME_r failure.")
2021-08-13 17:26:16 -07:00
Bryan Drewery
bed9a4de0e Mk/bsd.port.mk: Fix typo
Fixes:	154492dd1f ("Clarify UNAME_r failure.")
2021-08-13 13:36:12 -07:00
Bryan Drewery
154492dd1f Mk/bsd.port.mk: Clarify UNAME_r failure.
An example of this happening is with recent Poudriere changes:
- Poudriere <= 3.3 used to set UNAME_r in /etc/login.conf's environment
  during *jail creation*.
- Poudriere >= 3.4 only sets it in the environment during *jail
  runtime*.

Creating a jail with Poudriere 3.4 and then using Poudriere 3.3 on it
would fail to have UNAME_r properly set.  It would read OSVERSION from
/usr/include/sys/param.h to find the installed files release.  The ports
framework, and builds, need `uname` to be correct for the *jail/chroot*
and not be of the running kernel.

Add a footshoot enabler while here which should not be used for any
reason as it can create packages targetting the release of the running
kernel rather than the chroot/jail's expected version.
2021-08-13 13:22:57 -07:00
Tobias C. Berner
17734b82d3 KDE: Update KDE Gear to 21.08.0
Thursday, 12 August 2021

KDE Gear 21.08 improves KDE apps across the board, bringing you quick
and responsive utilities, creativity programs with powerful features,
and secure tools for all your work and play needs.

If this is your first time with KDE software, discover a whole new world
of free and secure programs, packed with incredible possibilities. If
you are already a KDE regular, check out all the fresh innovations we
have added to your favorite apps.

Either way, go forth and try new things!

Full announcement:
	https://kde.org/announcements/gear/21.08.0/
2021-08-13 09:15:29 +02:00
Po-Chuan Hsieh
07556f528d
Mk/bsd.default-versions.mk: Update comment: add llvm 12 2021-08-08 22:55:34 +08:00
Tobias C. Berner
e20d8c03aa x11/kf5-frameworks: Update KDE Frameworks to 5.84.0
Saturday, 10 July 2021

KDE today announces the release of KDE Frameworks 5.84.0.

KDE Frameworks are 83 addon libraries to Qt which provide a wide variety
of commonly needed functionality in mature, peer reviewed and well
tested libraries with friendly licensing terms. For an introduction see
the KDE Frameworks release announcement.

This release is part of a series of planned monthly releases making
improvements available to developers in a quick and predictable manner.

Announcement:
	https://kde.org/announcements/frameworks/5/5.84.0/

Exp-run by:	antoine
PR:		257100
2021-08-04 18:31:24 +02:00
Kevin Bowling
b5a56c9450 Mk/Scripts/qa.sh: Add QA for libglvnd
Reported by:	tcbrener
Reviewed by:	tcbrener
Differential Revision:	https://reviews.freebsd.org/D31375
2021-08-02 09:20:45 -07:00
Xin LI
974e13b501 net/openldap24-server: Make SASL permanent for OpenLDAP port.
PR:		ports/257374
Reviewed by:	obrien
Approved by:	portmgr (exp-run by antoine)
Differential Revision: https://reviews.freebsd.org/D31301
2021-08-01 01:32:35 -07:00
Jose Alonso Cardenas Marquez
93a03d23d7 editors/lazarus[-qt5]: update to 2.0.12 2021-07-31 21:10:12 -05:00
Jose Alonso Cardenas Marquez
e40d870fc3 lang/fpc: update to 3.2.2
* Add new unit devel/fpc-tplylib
* Remove COMPAT10 dependency  [PR/254481]
PR:		254481
Reported by:	jbeich
2021-07-31 20:56:08 -05:00
Tobias C. Berner
5c8adda949 multimedia/{py-,}mlt{-qt5,}: rename to multimedia/{py-,}mlt6{-qt5,}:
- To make it possible to easily import mlt-7 move the current port to
  a versioned directory.

- Add Mk/Uses/mlt.mk to make it easily possible to depend on a given mlt
  version:

  	USES=mlt:6

  will get you a dependency on multimedia/mlt6, while

	USES=mlt:7

  will get you a dependency on the soon to be added multimedia/mlt7

- Switch the port to use cmake as a build system
- While here, provide some more options to make it possible to have
  a leaner package if required

- Bump consumers after rename of the dependency
2021-07-30 20:14:36 +02:00
Loïc Bartoletti
8b9c482b90 */*: PyQt Update qscintilla2 to 2.13.0 and py-qt5-sip to 12.9.0
Changes:
  - https://riverbankcomputing.com/news/QScintilla_2.13.0_Released
  - https://www.riverbankcomputing.com/hg/sip/raw-file/tip/NEWS
PR:	257308
Exp-run by:	antoine
2021-07-27 20:55:03 +02:00
Tobias C. Berner
e52cbf14ed x11/plasma5-plasma: Update KDE Plasma Desktop to 5.22.4
Plasma 5.22 was released in June 2021 with many feature refinements and
new modules to complete the desktop experience.

This release adds three weeks' worth of new translations and fixes from
KDE's contributors. The bugfixes are typically small but important and
include:

    * Discover: Address the keyboard shortcut tooltip.
    * Sort Unsplash POTD image categories alphabetically.
    * Info Center: Unbreak about CPU value when solid is missing a
      product string.

[1] https://kde.org/announcements/plasma/5/5.22.4/
2021-07-27 18:40:55 +02:00
Adam Weinberger
5ff464b194 bsd.port.mk: Fix typo 2021-07-23 05:35:28 -06:00
Tobias C. Berner
a31c989be8 kde.mk: fix component for x11/plasma-wayland-protocols and make accessible 2021-07-22 15:39:10 +02:00
Baptiste Daroussin
c580a81e15 Mk/bsd.port.mk: use the WARNING framework to reduce the spam 2021-07-22 14:33:36 +02:00
Alexey Dokuchaev
35c4572d6a Mk/bsd.port.mk: fix couple of minor annoyances
- Improve the text (fix typos) in another .warning message
- And an extra newline after "backward compatibility for users"
  .if/.endif block for better readability, kill EOL whitespace
- Replace UTF-8 non-breaking space (C2 A0) with normal ASCII one
2021-07-22 10:22:39 +00:00
Matthias Andree
4f62d3170c Mk/bsd.port.mk: fix typo in .warning
recommanded -> recommended.

Reported by: danfe
2021-07-22 11:36:00 +02:00
Matthias Andree
17db9a3291 Mk/bsd.port.mk: fix typo in .warning
vertion -> version.

Approved by: portmgr@ (implicit)
2021-07-22 10:43:34 +02:00
Baptiste Daroussin
e497a16a28 ports-mgmt/pkg*: Release 1.17.0
TL;DR: new uniq package file extension: '.pkg'

Full changelog for pkg:
- add a new "snap" prefix, to deal with pkg base snapshots
- pkg repo now accepts packages with different compression formats
- pkg now have a single extension: ".pkg" and a backward compatible
  symlink is created when the package is created to help transitioning
- Default compression level for zstd is now set to 19
- the default compression level is now a configuration option
- plenty of portability fixes
- fix plenty of typos
- expose the name of the package to lua and shell scripts
- plist:
  remove internal support for @*exec (this is now in the ports tree)
  remove support for @ignore
  remove support for @dirrm/@dirrmtry
  remove support for @pkgdep
  remove stub support for @stopdaemon
  remove stub support for @display
  remove stub support for @mtree
  remove stub support for @conflict
- VUXML: fetch .xz compressed version of the file by default
- triggers are deferred to later command (firstboot is planned) if run
  with pkg -r
- pkg triggers commands has been added and can execute the deferred
  triggers for example at firstboot

Changes in the framework:
- Add a backward compatibility layer, so people are not forced to move
  to pkg 1.17 yet (new quarter we will enforce the switch for triggers
  anyway, but it gives time to people to switch)
- Introduce a new PKG_COMPRESSION_FORMAT for users to specify the
  compression format they are willing to use when creating packages:
  txz, tar, tgz, tbz, tzst are the valid ones (note that tzst is only
  usable on FreeBSD 13 and 14)
- Add a backward compatibility for people who specified the compression
  format already via PKG_SUFX and issue a warning to tell them about the
  deprecation of PKG_SUFX
2021-07-22 10:05:59 +02:00
Baptiste Daroussin
ec2764d5ec Mk/bsd.port.mk: prepare the land for pkg 1.17
in next version of pkg, we now use a uniq extension: '.pkg' whatever the
compression is, the problem is some bootstrap pkg(7) does not handle
that yet, notably on freebsd 11.4 and 12.2.

We already have a compatibility layer by creating a symlink on the old
extension, which works but the signature itself will not exist with the
old extension. Add a workaround in the ports tree to symlink the new
signature to the old expected signature.

Given at the moment we are doing that things are not yet signed by
default we do create a dead symlink, but at the moment the repo are
published the right signature will be there.
2021-07-21 14:23:04 +02:00
Po-Chuan Hsieh
2bb087ae12
Mk/bsd.ruby.mk: Clean up unused RUBY_REQUIRE 2021-07-19 06:07:08 +08:00
Gerald Pfeifer
3716b292a8 Mk/bsd.gcc.mk: User newer versions in examples 2021-07-16 12:39:41 +00:00
Li-Wen Hsu
09704c68fc
Mk/: Update the URLs in the comments to the latest location
Reviewed by:	rene
Differential Revision: https://reviews.freebsd.org/D31152
2021-07-16 16:16:45 +08:00
Po-Chuan Hsieh
66151345cf
Mk/bsd.ruby.mk: Clean up USE_RUBY_RDOC
USE_RUBY_RDOC is only used in 1 port (databases/ruby-bdb).
2021-07-16 04:47:43 +08:00
Kevin Bowling
5343f55d87 Mk/bsd.default-versions: Remove libglvnd optionality
glvnd is becoming increasingly required by mesa and various FreeBSD
Ports implementation decisions. Remove the tuple to avoid unexpected
and unsupported combinations.

Reviewed by:	x11 (manu, zeising)
Differential Revision:	https://reviews.freebsd.org/D30930
2021-07-15 12:48:27 -07:00
Dmitry Marakasov
930c931292 lang/python310: add python 3.10.0.beta4
PR:		256150
Approved by:	maintainer timeout (python@, 1 month)
Differential Revision:	https://reviews.freebsd.org/D30475
2021-07-14 23:14:55 +03:00
Bryan Drewery
481cf80cb4 Mk/bsd.ccache.mk: Fix Poudriere CCACHE_STATIC_PREFIX feature.
Poudriere's CCACHE_STATIC_PREFIX feature (not Mk/) avoids installing
ccache for each port using the native jail ABI and instead copies in a
host static binary.  It uses NO_CCACHE_DEPEND to avoid installing
ccache.  For example, this is used for ccache-memcached where the
dependency chain would make using ccache unfeasible.

Poudriere sets CCACHE_WRAPPER_PATH, rather than the new CCACHE_PKG_PREFIX.
Because CCACHE_BIN is now computed from CCACHE_PKG_PREFIX rather than
CCACHE_WRAPPER_PATH, CCACHE_BIN was incorrect.  Now compute
CCACHE_PKG_PREFIX from CCACHE_WRAPPER_PATH if it is set, otherwise
fallback to using LOCALBASE and computing CCACHE_BIN and
CCACHE_WRAPPER_PATH from there.

PR	257151
Fixes:	6b641f4eb4 ("Mk: Document and simply user-modifiable ...")
2021-07-14 11:09:37 -07:00
Bryan Drewery
9984bd302c Mk/bsd.ccache.mk: Add more documentation.
PR:	242944
2021-07-14 11:09:37 -07:00
Po-Chuan Hsieh
3c0ce2a8ee
Mk/bsd.ruby.mk: Clean up undefined/unused DEPEND_RUBY_RDOC 2021-07-15 01:29:34 +08:00
Po-Chuan Hsieh
fcb34faf70
Mk/Scripts/smart_makepatch.sh: Force diff to produce the patch file instead of "Binary files ... differ" message
It helps avoid generating wrong patches, e.g. patch-grpc.gemspec in r567838 [1].

from diff manpage:
    -a --text
        Treat all files as ASCII text.  Normally diff will simply print
	"Binary files ... differ" if files contain binary characters.
        Use of this option forces diff to produce a diff.

[1] https://cgit.FreeBSD.org/ports/diff/net/rubygem-grpc130/files/patch-grpc.gemspec?id=073c1c710a0c7254820adab9920c1903ace83fae

PR:		257027
Approved by:	mat (portmgr)
2021-07-15 00:15:03 +08:00
Po-Chuan Hsieh
61639bd377
lang/ruby30: Update to 3.0.2
Changes:	https://www.ruby-lang.org/en/news/2021/07/07/ruby-3-0-2-released/
2021-07-15 00:10:40 +08:00
Po-Chuan Hsieh
97066a4833
lang/ruby27: Update to 2.7.4
Changes:	https://www.ruby-lang.org/en/news/2021/07/07/ruby-2-7-4-released/
2021-07-15 00:10:39 +08:00
Po-Chuan Hsieh
928e85f3d8
lang/ruby26: Update to 2.6.8
Changes:	https://www.ruby-lang.org/en/news/2021/07/07/ruby-2-6-8-released/
2021-07-15 00:10:39 +08:00
Po-Chuan Hsieh
fb4c9a3781
Mk/bsd.ruby.mk: Clean up undefined/unused RUBY_RDOC_PORT 2021-07-15 00:10:38 +08:00
Mateusz Piotrowski
41a3548060 Mk/Uses: Add angr.mk
angr.mk will be used to simplify the ports related to security/py-angr.
2021-07-13 16:39:43 +03:00
Bryan Drewery
be98df0b75 Mk/bsd.ccache.mk: Rename CCACHE_PREFIX -> CCACHE_PKG_PREFIX
CCACHE_PREFIX already means something special to ccache.

PR:	242944
2021-07-12 12:49:53 -07:00
Bryan Drewery
6b37107bea Mk/bsd.ccache.mk: Use CCACHE_BIN in BUILD_DEPENDS 2021-07-12 12:43:28 -07:00
Bryan Drewery
6b641f4eb4 Mk: Document and simply user-modifiable ccache vars
PR:	242944
2021-07-12 12:35:58 -07:00
Loïc Bartoletti
9713ff93f2 devel/qscintilla2: Update to 2.12.1
Changelog:
	https://riverbankcomputing.com/news/QScintilla_2.12.1_Released

PR:		257002
Exp-run by:	antoine
2021-07-12 14:36:11 +02:00
Piotr Kubaj
b3796c3a8e Mk/Uses/qt-dist.mk: make it possible to use GCC on powerpc
This uses the same patches that GCC platforms use. It will allow to selectively switch to GCC for some ports that don't build with Clang, eg. because of missing OpenMP support.
2021-07-11 22:31:29 +00:00
Tobias C. Berner
19ce6c4021 */*: Update KDE Gear to 21.04.3
Over 120 individual programs plus dozens of programmer libraries and
feature plugins are released simultaneously as part of KDE Gear.

Today they all get new bugfix source releases.

Full changelog:
	https://kde.org/announcements/changelogs/gear/21.04.3/
2021-07-10 01:34:31 +02:00
Tobias C. Berner
680bd562fc */*: Update KDE Frameworks to 5.83
Saturday, 12 June 2021

KDE today announces the release of KDE Frameworks 5.83.0.

KDE Frameworks are 83 addon libraries to Qt which provide a wide variety
of commonly needed functionality in mature, peer reviewed and well
tested libraries with friendly licensing terms. For an introduction see
the KDE Frameworks release announcement.

This release is part of a series of planned monthly releases making
improvements available to developers in a quick and predictable manner.

Full announcement:
	https://kde.org/announcements/frameworks/5/5.83.0/

PR:		256665
Exp-run by:	antoine
2021-07-09 23:49:33 +02:00
Christoph Moench-Tegeder
3ce47693f7 www/firefox: update to 90.0 (rc1)
Release Notes (soon):
  https://www.mozilla.org/en-US/firefox/90.0beta/releasenotes/

With this version, gtk2 is not required anymore.
2021-07-08 16:06:41 +02:00
Li-Wen Hsu
698fb0a406
Mk/bsd.sites.mk: Update the URL of FreeBSD mirrors list 2021-07-08 18:16:46 +08:00
Li-Wen Hsu
c42ad02013
Mk/bsd.sites.mk: Remove stale mirror in MASTER_SITE_KDE 2021-07-08 18:05:26 +08:00
Li-Wen Hsu
42588be80d
Mk/bsd.sites.mk: Update kde.cs.nctu.edu.tw layout 2021-07-08 18:04:04 +08:00
Mateusz Piotrowski
d3b7e886da ansible.mk: Fix a typo in variable name 2021-07-07 16:37:29 +02:00
Tobias C. Berner
8eb874634f x11/plasma5-plasma: Update KDE Plasma Desktop to 5.22.3
Tuesday, 6 July 2021. Today KDE releases a bugfix update to KDE Plasma
5, versioned 5.22.3.

Plasma 5.22 was released in June 2021 with many feature refinements and
new modules to complete the desktop experience.

This release adds two weeks' worth of new translations and fixes from
KDE's contributors. The bugfixes are typically small but important and
include:

   * Dr Konqi: Repair query construction.
   * Plasma Disks: Don’t notify on instabilities.
   * [Task Manager] Load album art background asynchronously.

Full Changelog:
	https://kde.org/announcements/changelogs/plasma/5/5.22.2-5.22.3/
2021-07-06 23:13:41 +02:00
Loïc Bartoletti
be86c4fe23 misc/qtchooser: remove
QtChooser allows you to select your version of Qt among those installed.
However, this tool is no longer supported upstream and will not be
available for Qt6.
By default, our Qt installations are done in
${LOCALBASE}/lib/qt${QT_VERSION} as recommended.

We have added symbolic linking for the main binaries to
${LOCALBASE}/bin with the suffix -qt5.
2021-07-04 18:55:16 +02:00
Tobias Kortkamp
630bf2be8f
Mk/Uses/meson.mk: Require meson with b_colorout fix
There have been multiple bug reports where people get compiler
errors with regards to -Xclang -fno-color-diagnostics.  This is
caused by partial upgrades and outdated meson packages.  For a
better UX, change BUILD_DEPENDS to require a package version that
fixes it.

Fixes:		ff2796d5bc
2021-07-03 17:01:10 +02:00
Gerald Pfeifer
96bb592dd7 Mk/bsd.gcc.mk: Remove support for GCC 7
GCC 7 is way beyond end of life (with even GCC 8 end of life at
this point) and no port in the tree still has USE_GCC=7.
2021-07-01 06:41:39 +00:00
Po-Chuan Hsieh
be6fbf890b
Mk/bsd.default-versions.mk: Cosmetic change 2021-07-01 04:44:26 +08:00
Po-Chuan Hsieh
5ed478e530
Mk/Uses/perl5.mk: Update P5_POD_PARSER
databases/p5-DBIx-Class-Migration requires textproc/p5-Pod-Parser 1.63
2021-07-01 04:43:58 +08:00
Fukang Chen
f76aa00290 Mk/bsd.options.desc.mk: Add shared version control OPTIONS & descriptions
- Add CVS description
- Add DARCS description
- Add GIT description
- Add MERCURIAL description
- Add PERFORCE description
- Rename SVN to SUBVERSION

devel/anjuta:
    - Rename OPTION SVN to SUBVERSION
    - Sort OPTIONS_DEFINE and OPTIONS_DEFAULT
    - Change SUBVERSION_DESC to use the default description

devel/git:
    - Rename OPTION P4 to PERFORCE
    - Rename OPTION SVN to SUBVERSION
    - Change PERFORCE_DESC to use the default description

devel/ocaml-opam:
    - Rename OPTION HG to MERCURIAL
    - Sort OPTIONS_DEFINE and OPTIONS_DEFAULT
    - Change {DARCS,GIT,MERCURIAL}_DESC to use the default description

devel/thunar-vcs-plugin:
    - Rename OPTION SVN to SUBVERSION
    - Sort OPTIONS_DEFINE
    - Change GIT_DESC to use the default description

devel/viewvc-devel:
    - Rename OPTION SVN to SUBVERSION
    - Sort OPTIONS_DEFINE, OPTIONS_DEFAULT and OPTIONS_SINGLE

net-mgmt/observium:
    - Rename OPTION SVN to SUBVERSION

net-mgmt/rancid3:
    - Rename OPTION SVN to SUBVERSION
    - Sort OPTIONS_SINGLE_SCM
    - Change {CVS,GIT,SUBVERSION}_DESC to use the default description

ports-mgmt/portshaker:
    - Rename OPTION SVN to SUBVERSION
    - Rename HG to MERCURIAL
    - Sort OPTIONS_DEFINE
    - Change {GIT,MERCURIAL}_DESC to use the default description

security/hydra:
    - Rename OPTION SVN to SUBVERSION

security/medusa:
    - Rename OPTION SVN to SUBVERSION
    - Sort OPTIONS_DEFINE

shells/scponly:
    - Rename OPTION SVN to SUBVERSION
    - Sort OPTIONS_DEFINE
    - Typo fix in SVNSERVE_DESC

www/trac-devel:
    - Rename OPTION SVN to SUBVERSION
    - Sort OPTIONS_DEFINE, OPTIONS_DEFAULT and OPTIONS_MULTI_DATABASE
    - Change {GIT,SUBVERSION}_DESC to use the default description

Reviewed by:	koobs, adamw, dvl, garga, hannes_mehnert.org, rm, dbaio, romain
Approved by:	koobs (ports, mentor)
Differential Revision:	https://reviews.freebsd.org/D17459
MFH:		No (OPTION description updates)
2021-06-30 05:09:36 +00:00
Kevin Bowling
7091486499 graphics/libGLU: Update to 9.0.2
PR:		241568
Approved by:	x11
Differential Revision:	https://reviews.freebsd.org/D30869
2021-06-28 18:23:57 -07:00
Piotr Kubaj
3c7a9f20ea Mk/bsd.ruby.mk: bump PORTREVISION for dependency change 2021-06-28 20:27:26 +00:00
Piotr Kubaj
6718da31ba Mk/bsd.default-versions.mk: switch the default librsvg2 on powerpc to rust 2021-06-28 19:34:43 +00:00
Jose Alonso Cardenas Marquez
b6251a0485 Mk/bsd.default-versions.mk: Prepare support for firebird 3.0 and 4.0 2021-06-27 18:32:10 -05:00
Jose Alonso Cardenas Marquez
b03649227f Mk/Uses/firebird.mk: Prepare support for firebird 3.0 and 4.0
PR:		256846
Approved by:	rene
2021-06-27 18:29:53 -05:00
Tobias Kortkamp
f897ded31e
lang/rust: Update to 1.53.0
Changes:	https://blog.rust-lang.org/2021/06/17/Rust-1.53.0.html
PR:		256653
Reviewed by:	mikael, pkubaj
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D30790
With hat:	rust
2021-06-27 07:39:50 +02:00
Tobias C. Berner
f82bd1b843 */*: Update KDE Plasma Desktop to 5.22.2
Tuesday, 22 June 2021.
Today KDE releases a bugfix update to KDE Plasma 5, versioned 5.22.2.

Plasma 5.22 was released in June 2021 with many feature refinements and
new modules to complete the desktop experience.

This release adds a week's worth of new translations and fixes from
KDE's contributors. The bugfixes are typically small but important and
include:

   * Discover: Flatpak: properly notify about updates.
   * [Task Manager] Show window title in tooltip when player title is different
   * KWin: Wayland: Implement activities window rule.

View full changelog:
	https://kde.org/announcements/changelogs/plasma/5/5.22.1-5.22.2
2021-06-26 21:22:57 +02:00
Rene Ladan
a04b7cd0bd Mk/bsd.default-versions.mk: chase PostgreSQL cleanup 2021-06-26 12:51:37 +02:00
Rene Ladan
4d57f82c17 Mk: unregister expired Perl 5.28 2021-06-26 12:43:09 +02:00
Po-Chuan Hsieh
185e88f762
Mk/bsd.default-versions.mk: Cosmetic change 2021-06-25 21:40:56 +08:00
Gerald Pfeifer
0c2741ce9b Mk/bsd.default-versions.mk: Add version 11 to GCC_DEFAULT
Now that GCC 11.1 has been released and lang/gcc11 is in place,
explicitly list version 11 as an option for GCC_DEFAULT.

Technically USE_GCC=11 was already working, using lang/gcc11-devel,
alas intentionally undocumented (and definitely unsupported).

Add an explicit note that versions of GCC not listed here are not
supposed to be used. [1]

Suggested by:	mandree [1]
2021-06-23 21:56:51 +00:00
Antoine Brodin
77cdc83769 Mk/Uses/pyqt.mk: unbreak INDEX 2021-06-22 19:32:34 +00:00
Rainer Hurling
06e8213fe9 devel/py-qt5-positioning: New port - Provide PyQt5 QtPositioning module
The QtPositioning module contains classes to determine a position by
using a variety of possible sources, including satellite, or wifi, or
a text file, and so on. That information can then be used to, for
example, determine a position on a map. In addition satellite
information can be retrieved and area based monitoring can be performed.

https://www.riverbankcomputing.com/static/Docs/PyQt5/api/qtpositioning/qtpositioning-module.html

Reviewed by:	lbartoletti, #portmgr!

Approved by:	lbartoletti (kde@)

Differential Revision:	https://reviews.freebsd.org/D30829
2021-06-22 17:24:37 +02:00
Gerald Pfeifer
8e7d39df85 Mk/bsd.gcc.mk: Adjust to the release of GCC 11
Now that GCC 11.1 has been released and lang/gcc11 is in place,
have USE_GCC=11 use that instead of lang/gcc11-devel.

In addition add support for USE_GCC=12 which uses lang/gcc12-devel
(still in early development, not recommended for production use).
2021-06-21 07:25:53 +00:00
Guangyuan Yang
de745e3b9f Mk/*: Update the link about adopting ports
Approved by:	rene (portmgr), lwhsu (mentor)
Differential Revision:	https://reviews.freebsd.org/D30744
2021-06-20 19:29:13 -04:00
Po-Chuan Hsieh
33b4388b09
Mk/Uses/python.mk: Remove PY_PYGMENTS 2021-06-21 00:16:15 +08:00
Gerald Pfeifer
0359c81980 Mk/bsd.default-versions.mk: Better describe GCC_DEFAULT=8 2021-06-17 17:58:11 +00:00
Jan Beich
b44acc9409 graphics/mesa-libs: enable libglvnd support
PR:		246767
Reviewed by:	kbowling
Tested by:	kbowling
Differential Revision:	https://reviews.freebsd.org/D25020
2021-06-16 21:25:27 -07:00
Tobias C. Berner
dc8d8b47cd x11/plasma5-plasma: Update KDE Plasma Desktop to 5.22.1
Tuesday, 15 June 2021. Today KDE releases a bugfix update to KDE Plasma
5, versioned 5.22.1.

Plasma 5.22 was released in June 2021 with many feature refinements and
new modules to complete the desktop experience.

This release adds a week's worth of new translations and fixes from
KDE's contributors. The bugfixes are typically small but important and
include:

    * KWin: Platforms/drm: support NVidia as secondary GPU with CPU copy.
    * Weather applet: Point bbcukmet to new location API.
    * Wallpapers: Add milky way.

View full changelog at
	https://kde.org/announcements/changelogs/plasma/5/5.22.0-5.22.1
2021-06-16 21:27:04 +02:00
Sergey A. Osokin
7aac8c2050 Mk/Uses: remove 9.5 from the VALID_PGSQL_VER list.
Fixes: 		a3da90c5e4
Approved by:	portmgr (rene)
2021-06-14 10:12:27 -04:00
Tobias C. Berner
4ea20bee50 x11/plasma5-plasma: Update KDE Plasma Desktop to 5.22
Plasma 5.22 is here, and it is more reliable and stable than ever. By
cleaning up and refactoring code in the background, the Plasma desktop
gives you greater responsiveness and performance, helping you become
even more productive without hiccups or surprises. Enjoy a smoother
experience with KDE’s Plasma 5.22 desktop.

Plasma 5.22 has become more pleasurable to use through improvements to
the design and greater smoothness and consistency in transparencies,
blurs, icons, and animations. Moving things to accessible locations,
offering hints and visual cues, and creating new settings allows you to
customize your work environment to make it fit perfectly to your needs.
Following the true KDE spirit, the push for a more stable and attractive
desktop does not mean you have to renounce control over how you want it
to look or behave. Plasma 5.22, as always, packs all the flexibility and
tools for customization you have come to expect and love, and some more
to boot.

Meanwhile, the push to move Plasma in its entirety to Wayland (the
display protocol of the future) continues in full swing. So much so that
popular distros are starting to ship Plasma with Wayland by default. By
using Wayland behind the scenes, Plasma is able to include features and
bug fixes not possible to implement on X11, offering you a better
experience and more stability.

Full announcement and changelog:
	https://kde.org/announcements/plasma/5/5.22.0/
2021-06-13 08:38:35 +02:00
Tobias C. Berner
896d87b6fb */*: Zpdate KDE Gear to 21.04.2
Thursday, 10 June 2021

Over 120 individual programs plus dozens of programmer libraries and
feature plugins are released simultaneously as part of KDE Gear.

The full changelog can be found here:
	https://kde.org/announcements/changelogs/gear/21.04.2/
2021-06-13 08:06:29 +02:00
Gleb Popov
1d2372ec7f Uses/cabal.mk: Omit "_0" part of the package version in make-use-cabal-revs 2021-06-12 13:14:09 +03:00
Alexey Dokuchaev
f16e30b305 Mk/Uses: replace bare ${ECHO} with ${ECHO_CMD} or ${ECHO_MSG}
ECHO is builtin variable and is cleared when make(1) is invoked
in silent mode, i.e. as ``make -s'', thus making statements that
use it do nothing.  Depending on the context, replace it with
either ${ECHO_CMD} or ${ECHO_MSG} (in one case), as appropriate.

PR:		256185
Submitted by:	Franco Fichtner
2021-06-11 07:37:22 +00:00
Po-Chuan Hsieh
a2c732ecf7
Mk/bsd.default-versions.mk: Update comment: add ImageMagick 6-nox11 and 7-nox11 2021-06-10 22:46:21 +08:00
Alexey Dokuchaev
956fbfa500 Mk/Uses/gnome.mk: fix gconftool-2 --makefile-unistall-rule call time
Previously, for ports with GCONF_SCHEMAS, `gnome-post-gconf-schemas'
target would add a @postunexec rule which was invoked *after* those
files would be removed upon deinstallation, resulting in errors:

  I/O warning : failed to load external entity ".../$some.schemas"
  Failed to open `.../$some.schemas': No such file or directory

Change it to @preunexec so that `gconftool-2 --makefile-unistall-rule'
command would get called while those files still exist.

PR:		210969
Timeout from:	gnome (~5 years)
2021-06-05 18:47:45 +00:00
Gleb Popov
8c54911133 Uses/cabal.mk: Fix make-use-cabal-revs after upstream changes.
Hackage now returns a JSON array with all revisions, so sed/grep trickery
is not working anymore. Use Python to parse the reply and extract revision
number.
2021-06-04 19:43:20 +03:00
Dmitry Marakasov
7a4ce8f831 devel/py-setuptools: update to 57.0.0 preserving old version
- Copy devel/py-setuptools to devel/py-setuptools44 (for Python 2.7 support)
- Update devel/py-setuptool to 57.0.0 (adding support for Python 3.10)
- Update Mk/Uses/python.mk to chose between py-setuptools and
  py-setuptools44 based on Python version

This allows us to have latest setuptools and working Python 3.10
without breaking packages requiring Python 2 support for remaining
reports that require it.

Exp-run showed 3 ports failing to build with latest setuptools and
they were fixed.

PR:			256173
Exp-run by:		antoine
Reviewed by:		koobs (python)
Approved by:		koobs (python)
Differential_Revision:	https://reviews.freebsd.org/D30473
2021-06-03 14:36:56 +03:00
Mathieu Arnold
b0ea84fccb
Mk/bsd.sites.mk: Fixup USE_GITHUB code.
This mainly synchronize the subgroups GH_TAGNAME_${_group}_* variables
with their default GH_TAGNAME_* equivalent.

In order to try and avoid this in the future, add a couple of comments
where those two sets of variables are defined.

PR:		256314
Reported by:	yuri
2021-06-01 09:29:26 +02:00
Mathieu Arnold
e70bedf4f7
Mk/bsd.port.mk: Don't pass up an empty flavor.
The classic way to handle flavors is to set:

  FLAVORS= foo bar
  FLAVOR?= ${FLAVORS:[0]}

And in that case, FLAVOR is only set if the variable is not defined. If
you pass an empty flavor using `FLAVOR=` then it remains empty after
that line.  It can leads to some ports with complicated logic to assume
the wrong flavor is set.

PR:		256301
Reported by:	avg
Differential Revision:	https://reviews.freebsd.org/D30579
2021-06-01 09:16:35 +02:00
Andriy Gapon
bad84b3403
Mk/bsd.port.mk: Ignore @ in path in _FLAVOR_RECURSIVE_SH.
While no port will ever have an @ in their path name, it might be
possible that PORTSDIR has an @ somewhere in its path.

PR:		256301
Differential Revision:	https://reviews.freebsd.org/D30579
2021-06-01 09:15:49 +02:00
Jan Beich
f079b462f8 www/firefox: depend on libpci to qualify for WebRender by default
On Intel Skylake this enables WebRender for Xorg and Wayland (wlroots).
Xwayland isn't qualified yet but Firefox can be tricked by unsetting
WAYLAND_DISPLAY or simply switching to native via MOZ_ENABLE_WAYLAND.

PR:		255344
Reported by:	Evgeniy Khramtsov (via gecko@ list)
2021-05-30 15:38:23 +00:00
Gerald Pfeifer
96c17633d9 Mk/bsd.gcc.mk: Never use /usr/bin/gcc
USE_GCC=any was introduced to leverage the old version of GCC 4.2
installed as /usr/bin/gcc on some systems. That has increasingly
not been present any longer (not on i386 and amd64 since 12.x and
optionally 11.x, not even on the ppcdevref system according to
linimon@) and hardly anyone actually has been testing ports in
this scenario.

So, finally stop using /usr/bin/gcc (and /usr/bin/gc++ and
/usr/bin/gcpp) even if present.

This makes USE_GCC=any just another way of spelling USE_GCC=yes
before we finally de-orbit it.

Discussed with: mat, linimon, pkubaj
2021-05-29 08:45:12 +00:00
Christoph Moench-Tegeder
542fc01215 Mk/bsd.gecko.mk: bump rust-cbindgen dependency to 0.19.0
that's required for Firefox 89.0, and works for Thunderbird, too

Log:
  http://beefy13.nyi.freebsd.org/data/130i386-quarterly/ec4bc9831585/logs/firefox-89.0,2.log

Dependency defined in:
  build/moz.configure/bindgen.configure

Reported by:	pkg-fallout
2021-05-29 01:17:47 +02:00
Mathieu Arnold
d6ab5eccc3
Mk/bsd.sites.mk: Revert unapproved change. 2021-05-27 12:41:39 +02:00
Li-Wen Hsu
939745d4c3
Uses/kmod: Only IGNORE when src is not available in build target
This enables to fetch and checksum on a host without src, for example, a
distfile mirroring service.

Reviewed by:	rene
Differential Revision:	https://reviews.freebsd.org/D30345
2021-05-27 11:33:13 +08:00
Neel Chauhan
a1550e08fd x11-toolkits/libadwaita: New port: Building blocks for modern GNOME applications 2021-05-26 16:50:04 -07:00
Neel Chauhan
0bc7478682 x11-toolkits/gtk40: Add GTK4 section to Mk/Uses/gnome.mk 2021-05-26 16:50:03 -07:00
Neel Chauhan
7eacfa59f9 x11-toolkits/tepl6: New port 2021-05-26 12:24:03 -07:00
Dmitry Marakasov
bd9b99277f
Mk/Uses/scons.mk: Clean up after the removal of all scons:python2 usage
PR:		256170
Differential Revision:	https://reviews.freebsd.org/D30472
2021-05-27 03:00:22 +08:00
Dmitry Marakasov
5f69415313 Mk: switch from PYTHON_PORTVERSION to PYTHON_DISTVERSION
This brings python framework in consistense with handbook recommendations
to prefer DISTVERSION and simplifies adding prerelease versions of
python

PR:		255013
Differential Revision:	https://reviews.freebsd.org/D29418
Exp-run by:	antoine
Approved by:	wen@, no objection from python@ or portmgr@
2021-05-25 16:55:44 +03:00
Dmitry Marakasov
40d7b48738 Mk: add framework support for two digit python minor version
PR:		255013
Differential Revision:	https://reviews.freebsd.org/D29418
Exp-run by:	antoine
Approved by:	wen@, no objection from python@ or portmgr@
2021-05-25 16:55:44 +03:00
Dmitry Marakasov
0729af4255 Mk: switch PYTHON_REL to 5 digits to support python 3.10.x
PR:		255013
Differential Revision:	https://reviews.freebsd.org/D29418
Exp-run by:	antoine
Approved by:	wen@, no objection from python@ or portmgr@
2021-05-25 16:55:43 +03:00
Gleb Popov
0da1ad3eb5 Uses/cabal.mk: Make cabal-extract-deps target overridable. 2021-05-24 09:32:02 +03:00
Ka Ho Ng
e6b553e6f3 Mk/bsd.licenses.db.mk: Add ODbL license
A summary of the license can be found at
https://opendatacommons.org/licenses/odbl/ .

Approved by:	lwhsu (ports), portmgr (mat)
Differential Revision:	https://reviews.freebsd.org/D30327
2021-05-22 02:27:03 +08:00
Serhii (Sergey) Kozlov
475a23ad78 Mk/Uses/go.mk: Add -trimpath to GO_BUILDFLAGS
Differential Revision:	https://reviews.freebsd.org/D30321
2021-05-20 11:00:52 -05:00
Palle Girgensohn
fccc45e5ff databases/postgresql14-*: Add postgresql 14 beta1 the the ports tree.
Release notes:	https://www.postgresql.org/docs/devel/release-14.html

Also reintroduce parallel builds. Some components, namely plperl,
plpython, pltcl and contrib, fail to build properly when using parallel
builds. Something with static linking using `ar` that fails.
MAKE_JOBS_UNSAFE is set for these ports.
2021-05-20 16:38:55 +02:00
Gleb Popov
1db88699b0 Uses/cabal.mk: Improve our Cabal machinery.
- Introduce CABAL_PROJECT variable to simplify handling project files in ports.
- Put dependencies into ${WRKSRC}/_cabal_deps subdir to make WRKSRC look
  clean after `extract` stage.
- Perform cabal.project trickery on post-patch stage to allow users to fiddle
  with the original one before creation.
- Document some code.
2021-05-19 17:13:50 +03:00
Mateusz Piotrowski
0fa7a28340 ansible.mk: Fix ANSIBLE_RUN_DEPENDS
sysutils/ansible does not provide the Ansible program directly. It is
provided by its dependencies (sysutils/py-ansible-core at the moment).

Fix the ANSIBLE_RUN_DEPENDS so that it looks for the ansible package
instead of the Ansible binary.
2021-05-19 11:16:39 +02:00
Li-Wen Hsu
024ecae0c5
Move 2.7 to the last of _PYTHON_VERSIONS
Reviewed by:	sbz
Differential Revision:	https://reviews.freebsd.org/D29837
2021-05-18 17:40:17 +08:00
Mateusz Piotrowski
cb9347f4a7 ansible.mk: Improve argument parsing
Reported by:	arrowd
2021-05-17 18:29:06 +02:00
Mateusz Piotrowski
b0ce506db5 ansible.mk: Fix a typo 2021-05-17 16:59:24 +02:00
Mateusz Piotrowski
fde71f1df2 ansible.mk: Define ANSIBLE_ETCDIR
It is used in many Ansible ports. Let's have it defined in one place so
that it is easier to track its use.
2021-05-17 16:58:16 +02:00
Mateusz Piotrowski
92939bfde2 Add USES=ansible for Ansible ports
The purpose of this new USES file is to provide a central place for
setting Ansible paths for modules and plugins. Perhaps in the future we
will extend to reduce boilerplate code in existing Ansible-related
ports.

PR:		255920
Reported by:	lcook
Reviewed by:	madpilot
Differential Revision:	https://reviews.freebsd.org/D30312
2021-05-17 15:38:41 +02:00
Yasuhiro Kimura
c210d2ab69
Mk/Uses/readline.mk: Remove unnecessary 'port' argument
Currently no supported FreeBSD version has libreadline.so in base.
Then if 'USES=readline' is used devel/readline is always added to
dependency whether or not 'port' argument is specified.  So remove
unnecessary 'port' argument now.

PR:		248459
Exp-run by:	antoine
2021-05-15 09:14:05 +02:00
Gleb Popov
8d6788c087 Uses/cabal.mk: Pass same flags to do-build and cabal-extract-deps. 2021-05-14 22:11:25 +03:00