USES=localbase:ldflags can be used to set LDFLAGS. Normally LDFLAGS
appears too early on the command line causing some ports to link with
their own libraries in LOCALBASE (if installed) instead of WRKSRC.
Also make use of _USES_POST so -L${LOCALBASE}/lib is added as late as
possible after anything a port Makefile might set. Use _USES_POST
instead of .include in libedit.mk and libarchive.mk so things like
'USES=libedit localbase:ldflags' work correctly.
Fix some issues with LIBS in some ports.
Switch ports that don't support LIBS to localbase:ldflags.
PR: 212987
Exp-run by: antoine
Approved by: portmgr (antoine)
- Update devel/py-efl to 1.18.0
- Update multimedia/rage to 0.2.1
- Update x11-wm/enligtenment to 0.21.2
- Bump PORTREVISION in graphics/edje_viewer
- Bump PORTREVISION in x11/terminology
- Merge graphics/evas_generic_loaders* into devel/efl
- Merge multimedia/emotion_generic_players-vlc into devel/efl
- Merge x11-toolkits/elementary into devel/efl
- If a port has another upstream, remove GOOGLE_CODE
- If a port only has GOOGLE_CODE mark it BROKEN
Some ports have a local mirror configured but for security reasons, it
is not considered upstream.
Sponsored by: Absolight
- Sort USES
- Remove unneeded patches
- Mark BROKEN on 9 (probably also on 10, lack of feedback [0]), because it
requires recent GPU drivers
Tested successfully on FreeBSD >= 11.0-RC2 with fallback drivers, scfb [1],
and vesa (by me).
[0] https://lists.freebsd.org/pipermail/freebsd-xfce/2016-May/001353.html
Tested by: Ben Woods (woodsb02@) [1]
hide actual commands executed and only show short summary line (like
"CC foo.c"). CMake and ninja enable this by default, some autotools
using ports do as well. This is unacceptable because we need complete
build logs at any time, so we now switch to verbose build logs
unconditionally. Note that this change deliberately affects ALL
builds and not only package builds on cluster, because we need to
be sure that user experiencing failure can always provide informative
build log regardless of settings and without rerunning the build.
Change summary:
- Always do verbose builds for cmake, ninja and GNU configure (the
latter includes check if --disable-silent-rules is actually supported
by the configure script; there are isolated cases when it's not true)
- Remove CMAKE_VERBOSE, NINJA_VERBOSE and
CONFIGURE_ARGS=--disable-silent-rules from all ports which set them
for this is no longer needed
- Revert hacks for --disable-silent-rules support priorly committed
to biology/ncbi-blast+ and net-p2p/mldonkey - no longer needed as well
Submitted by: amdmi3
Reviewed by: mat
Exp-run by: antoine
Approved by: portmgr (mat, antoine)
Differential Revision: D7534
Mk/Uses/linux.mk.
- Replace USE_LINUX=yes with USES+=linux and USE_LINUX=(.*) with
USES+=linux:\1 in all ports.
- Replace USE_LINUX_APPS with USE_LINUX in all ports.
- Use INSTALL_SCRIPT instead of INSTALL_PROGRAM to install scripts in some
ports.
- When USE_LINUX_RPM is defined, simplify the way DISTFILES and EXTRACT_ONLY
are defined.
- Remove BRANDELF_DIRS and BRANDELF_FILES handling. In the very rare cases
that it is still necessary ports can run ${BRANDELF} from post-patch.
- Remove AUTOMATIC_PLIST handling. Only one port used it.
- Fix Linux MASTER_SITES.
- Replace OVERRIDE_LINUX_BASE_PORT and OVERRIDE_LINUX_NONBASE_PORTS with
default versions framework.
- bsd.port.mk:
- Move Linux related bits to Uses/linux.mk, except USE_LINUX_PREFIX.
- Put USE_LINUX_PREFIX handling after USES processing.
- Define DOCSDIR, DATADIR, etc. after handling USE_LINUX_PREFIX so it can
give these variables a different default value.
- When a package needs to run Linux ldconfig check before installation if
Linux support is enabled.
- emulators/linux_base-*:
- Use USES=linux and remove duplication.
- Remove files/lp. FreeBSD or CUPS lp(1) should work.
- Remove files/yp.conf. No longer seems to be used.
- Remove pkg-deinstall and move pkg-install into pkg-plist.
- Update pkg-descr and pkg-message.
- Fix handling of ldconfig cache in pkg-plist.
- devel/fb-adb: Use a Linux shell to run a Linux script but patch the script
to use FreeBSD mkdir so mkdir -p $path creates $path and not
/compat/linux/$path.
PR: 211645
Exp-run by: antoine
Approved by: portmgr (antoine)
Without this, if the port is staged as non-root (default on new poudriere), the
file is installed without setuid root and fails to unlock desktops.
PR: ports/211218
Submitted by: jhb
Approved by: maintainer timeout (kde, 2 months)
May fix an issue with a dark screen at first Xorg init for some users (reported
on GTX960).
PR: 212287
Reported by: O. Hartmann <ohartman at zedat.fu-berlin.de>
Approved by: danfe, jonathan
Differential Revision: https://reviews.freebsd.org/D7723
on ``kld_list'' variable in /etc/rc.conf as well (for later loading)
- Make s/nvidia/nvidia-modeset/ replacement suggestion more accurate because
``.ko'' suffix is omitted in syntax for both of those files
- Improve UPDATING wording for corresponding 20160829 entry accordingly
files, especially when there already is existing `files/pkg-message.in'.
Unfortunately, this now requires port revision bump in all three ports.
Pointy hat to: cem
This meta-port gathers together each of the ports from the Xfce4 Goodies
Project and allows them to be easily installed to create a functional
desktop environment.
Default options include those which do not bring in too many additional
dependencies, and are generally recommended for use on a modern Xfce
desktop.
It also includes ports which are not officially part of the Xfce4
Goodies Project (can not be found at http://goodies.xfce.org/),
but are generally recommended for use with Xfce4 on FreeBSD.
This goal of this meta-port is to help users get started with Xfce by:
1. Easily installing a sensible list of programs with a single command
2. Find new programs they may be interested in, by reviewing the list
of disabled by default options in the port
3. Show people which programs are not recommended for use by the FreeBSD
Xfce team (such as obsolete applications)
Reviewed by: olivierd (with Xfce hat)
Approved by: sbruno (with Xfce hat), mat (mentor)
Differential Revision: https://reviews.freebsd.org/D6981
* Add needed x11 and xext dependencies
Thanks to everyone who submitted patches, tested, and reviewed this update.
PR: 201340
Submitted by: Bengt Ahlgren <bengta at sics.se>, Kevin Bowling <kbowling@>,
Oleg <zoleg at vusovich.ru>,
Tomoaki AOKI <junchoon at dec.sakura.ne.jp>,
Ultima <Ultima1252 at gmail.com>
Tested by: Jeremy Cox <jeremy.m.cox at gmail.com>,
O. Hartmann <ohartman at zedat.fu-berlin.de>,
Tomoaki AOKI
Approved by: danfe
Differential Revision: https://reviews.freebsd.org/D7569
Plasma5 ports
At the moment KDE ports use bsd.kde4.mk to handle their dependencies. When
working on the ports for KDE Frameworks and Plasma5 it seemed to be more
reasonable to create a new kde.mk instead of adding an bsd.kde5.mk.
The kde.mk in this review is a stripped down version of the one we are using in
the KDE Test repositories plasma5 branch [1] to only contain the parts relevant
to the current KDE4 ports in the portstree [2].
Changes to the KDE Ports needed by this:
Replace USE_KDE4 by USE_KDE [3]
Add USES=kde:4 [4]
[1] http://src.mouf.net/area51/view/branches/plasma5/KDE/Mk/Uses/kde.mk
[2] The version in the plasma5 branch also handles frameworks/plasma5 and
handles MASTER_SITES via a KDE_DIST variable similar to bsd.qt.mk for Qt
Ports -- I chose to leave this out for now, as the diff is already large
enough.
[3] I chose USE_KDE instead of USE_KDE4, USE_KDE5, USE_KDEX as the version we
want is already specified as argument to kde:<arg>
[4] For KDE Frameworks and Plasma5 ports this would be kde:5
PR: 210667
Approved by: portmgr, mat (mentor), rakuco (mentor)
Reviewed by: mat, rakuco
Differential Revision: https://reviews.freebsd.org/D6961
(mate-screensaver:90733): GLib-GIO-ERROR **: Settings schema 'org.mate.session' is not installed
While here convert the mate-base port to using the new USE_MATE=session.
Submitted by: vermaden <vermaden@interia.pl>
- libnvidia-cfg.so* files are always installed since version 81.074
- Au contraire, libnvidia-wfb.so.1 is not (since version 195.022)
- Remove now useless checks for NVVERSIONs before 180.029 and 185.01829
(always false) and after 304.128 (always true)
- Unconditionally rename libGLcore -> libnvidia-glcore in pkg-plist
(been that way since version 256.053)
patching of the driver(s) source code (part 2):
- Only legacy drivers didn't know about new d_mmap() after src r201223,
and page queue locking changes after src r207410, r207617, r207644, and
r163622; ditto for /return/s/ioctl/sys_&/ after src r225617
- Remove now always true condition when adjusting Linux headers #include's
after src r246085
- Contemporary driver versions are now aware of the +1 argument count in
vm_map_find() since src r255426
- Do not try to unbreak the build of 173.14.xx series on recent -CURRENT:
this legacy driver version was removed by kwm@ in r399180 last year
- Remove remaining checks and patching code for outdated NVVERSION values
- Make the top comment reflect the current reality
- MASTER_SITE_SUBDIR does not have be set later, as it no longer depends
on NVVERSION (this also allows to move ONLY_FOR_ARCHS where it belongs)
- Delete no longer relevant legacy only versions specific patches; retain
EXTRA_PATCHES as this separation would still be needed in new versions
- All security patches only touch legacy drivers and thus also deleted
- PAE and WBINVD options are now unconditional (independent of NVVERSION)
- Drop no longer needed LIB_DEPENDS on libm.so.3 from `misc/compat5x'
- Adjust a comment and simplify regexp that had been sitting in my tree
- Stop mentioning that this driver does not support PAE-enabled kernels
in pkg-message
The upcoming KDE Frameworks ports need grantlee5
* Add devel/grantlee5 and move installed headers into a subdirectory include/grantlee5
* Move header files from devel/grantlee into a subdirectory
include/grantlee4
to make sure ports do not pick up the wrong headers
* Add Uses/grantlee.mk to handle the PLIST_SUB and LIB_DEEPENDS needed
by ports using grantlee (before we set the PLIST_SUB manual in very
of the depending ports, which now should not be needed anymore).
* The ports depending on devel/grantlee have been modified from
LIB_DEPENDS=libgrantlee_gui.so:devel/grantlee
to
USES=grantlee:4
as this does not affect the package no version bumped was made.
Reviewed by: mat, rakuco
Approved by: rakuco (mentor)
Differential Revision: https://reviews.freebsd.org/D7434