- Add LIBS="${LIBS}" to MAKE_ENV and CONFIGURE_ENV.
- Add an option helper for LIBS.
- Adjust all ports that already use LIBS. Also remove references to
PTHREAD_CFLAGS and PTHREAD_LIBS while here.
- Some ports did not support having a LIBS environment variable and
required additional patches.
Somewhat simplified a linker command line looks like:
${CC} ${src_LDFLAGS} ${LDFLAGS} ${src_LIBS} ${LIBS}
where src_LDFLAGS and src_LIBS are controlled by upstream and LDFLAGS and
LIBS can be controlled by us. If possible -L and -l flags need to be
added to LIBS to make sure they appear after any -L and -l flags set by
upstream. Many ports currently add -L${LOCALBASE}/lib to LDFLAGS but this
may appear too early on the command line causing installed libraries to
be linked in instead of freshly built ones.
Additional changes:
benchmarks/netio: Replace WITH_IPV6 with an IPV6 option.
comms/gnokii: Replace some patches with USES=pathfix. Also remove -fPIC.
graphics/gimageview: USES=libtool and install desktop file in DESKTOPDIR.
graphics/visionworkbench: Remove FreeBSD 7 support.
multimedia/libmovtar: New LIB_DEPENDS syntax.
multimedia/opencinematools: Use standard do-build.
net/siproxd: USES=libtool:keepla (port actually needs .la files for plugins)
net-mgmt/nagios: Remove -fPIC.
net-mgmt/nagios4: Remove -fPIC.
print/cups-base: Only add -lssp_nonshared on i386 and OSVERSION < 1000036.
security/p11-kit: Replace PTHREAD_LIBS in CONFIGURE_ENV with
ac_cv_func_pthread_mutexattr_init=no in CONFIGURE_ARGS. This skips a test
in configure that falsely detects pthread_mutexattr_init in our libc.
sysutils/dar: Fix iconv detection.
x11/rxvt-unicode: Remove -lstdc++ and patch configure to remove a FreeBSD
hack and use $CXX as linker as on other platforms.
PR: 190592
Exp-run by: antoine
Approved by: portmgr (antoine)
- USES=libtool
- Use new LIB_DEPENDS format
- Create database directory during startup rather than in the package
PR: ports/189769
Submitted by: Krzysztof Stryjek <ports@bsdserwis.com>
a zeising, kwm production, with help from dumbbell, bdrewery:
NEW XORG ON FREEBSD 9-STABLE AND 10-STABLE
This update switches over to use the new xorg stack by default on FreeBSD 9
and 10 stable, on osversions where vt(9) is available.
It is still possible to use the old stack by specifying WITHOUT_NEW_XORG in
/etc/make.conf .
FreeBSD 8-STABLE and released versions of FreeBSD still use
the old version.
A package repository with binary packages for new xorg will
be available soon.
This patch also contains updates of libxcb and related ports, pixman, as well
as some drivers and utilities.
Bump portrevisions for xf86-* ports, as well as virtualbox-ose-additions due
to xserver version change.
Apart from these updates, the way shared libraries are handled has been
changed for all xorg ports, as well as libxml2 and freetype, which means
ltverhack is gone and as a consequence shared libraries have been bumped.
The plan is that this change will make library bumps less likely in the
future.
All affected ports have had their portrevisions bumped as a consequence of
this.
Fix some issues where WITH_NEW_XORG weren't detected properly on CURRENT.
Update instructions, hardware support, and more notes can be found on
https://wiki.freebsd.org/Graphics
Thanks to: all testers, bdrewery and the FreeBSD x11@ team
exp-run by: bdrewery [1]
PR: ports/187602 [1]
Approved by: portmgr (bdrewery), core (jhb)
For options that actually require CURL, check to see if it is enabled before
we even try to build.
PR: ports/180376
Submitted by: brd
Approved by: maintainer
- while here:
- fix option check in sysutils/cfengine34
- move devel/libvirt-glib to use glib20 in favor of gio-fam-backend (suggested by kwm@)
- restore ABI version in net-mgmt/collectd5
. add a mandatory dependency upon libinotify; [2]
. bump PORTREVISION. [2]
while I'm here:
. pet portlint: remove whitespace before end of line;
. add a mandatory dependency upon libinotify to the accompanying
port (net-mgmt/collectd) and bump PORTREVISION.
PR: ports/178637 [1]
ports/178634 [2]
Submitted by: bsam (me)
Approved by: ports@bsdserwis.com (maintainer)
. correct a typo at CONFIGURE_ARGS (no PORTREVISION bump since
no change in defaults);
while here apply the last fix to accompanying port (net-mgmg/collectd).
PR: ports/178632
Submitted by: bsam (me)
Approved by: ports@bsdserwis.com (maintainer)
- Convert to new options framework [1]
- Remove ABI versions from LIB_DEPENDS
- Fix build with Clang by using upstream patch [2]
Upstream fix:
https://github.com/collectd/collectd/issues/49 [2]
PR: ports/171204 [1]
Submitted by: Krzysztof Stryjek <ports@bsdserwis.com> (maintainer)
are no more self hosting so we are stuck with 0.25 version while pkgconf provide
the same set of features as 0.27 and a compatible frontend. A symlink to
pkg-config has been added for convenience and compatibility
This also introduces a new macro to use pkgconf in your ports:
USE_PKGCONFIG
it can take the following arguments:
- yes (meaning build only dep)
- build (meaning build only dep)
- run (meaning run only dep)
- both (meaning run and build dep)
From now USE_GNOME= pkgconfig is deprecated in favour of USE_PKGCONFIG
The old gnome macro has been modified to use pkgconf but still the sameway: run
and build dep to avoid large breakage.
While here fix some ports relying on pkg-config but not specifying it, fix some
ports broken because testing wrong .pc files, and fix ports using pkg-config
--version to determine pkg-config version instead of
pkg-config --modversion pkg-config like recommanded by pkg-config
With Hat: portmgr
Exp-runs by: bapt (pointhat-west), beat (pointyhat)
literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().
In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other.
(this eliminates packaging errors seen only on live systems while
tinderbox builds are fine)
- Fix installation of collectd.conf.sample, patch src/Makefile.am to always
install it with same name
- Remove libgcrypt version check from configure.in, it breaks automake
process when libgcrypt is not installed
- Don't patch configure script, it's created on build phase now
PR: ports/163709
Reported by: Garrett Cooper <yanegomi@gmail.com>
Approved by: maintainer
While here, pacify portlint by removing CPPFLAGS from
CONFIGURE_ENV; the former is passed to underlying
configure scripts via bsd.port.mk.
PR: ports/156943 [1]
Submitted by: Benjamin Lee <ben@b1c1l1.com>
Approved by: Krzysztof Stryjek <ports@bsdserwis.com> (maintainer)