Commit graph

74 commits

Author SHA1 Message Date
Tijl Coosemans
9f8b4bcde3 Support LIBS like LDFLAGS.
- 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)
2014-06-11 14:49:59 +00:00
Tim Bishop
cf849cc8c7 - Stage support
- 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>
2014-05-23 19:32:36 +00:00
Tim Bishop
de3932175c - Fix build with libstatgrab 0.90
PR:		ports/189740
Approved by:	portmgr (antoine), maintainer
2014-05-12 22:07:39 +00:00
Niclas Zeising
39fc32e828 The FreeBSD x11@ and graphics team proudly presents
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)
2014-04-16 18:28:47 +00:00
Rene Ladan
2bf8693840 Change optional run dependency for mbmon from sysutils/mbmon
to sysutils/xmbmon

The former port has expired.
2014-01-31 00:21:20 +00:00
Jason Helfman
cee0c06ddd - update to 1.2.0 and bump shared libraries in respective ports
- while here shift new lib_depends format where needed

Changes:	http://libvirt.org/news.html
2013-12-17 23:54:04 +00:00
Baptiste Daroussin
985b201424 Add NO_STAGE all over the place in preparation for the staging support (cat: net-mgmt) 2013-09-20 22:24:43 +00:00
Veniamin Gvozdikov
ae7f3b735c - Added new options NOTIFYDESKTOP and NOTIFYEMAIL
- Bump portrevision
- BIND removed from default because depended by CURL option

PR:		ports/181103
Submitted by:	Krzysztof Stryjek <ports@bsdserwis.com>
Approved by:	eadler (mentor)
2013-08-10 17:00:46 +00:00
Sunpoet Po-Chuan Hsieh
c2d1a14c7c - Update to 7.31.0
- Bump PORTREVISION for ftp/curl shlib change
- Add TEST_DEPENDS
- Convert to new options framework
- Adjust options:
  - Add COOKIES
  - Add CYASSL, NSS, POLARSSL, THREADED_RESOLVER, TLS_SRP [1]
  - Add GSSAPI and SPNEGO [2]
  - Remove KERBEROS4
  - Rename LIBIDN to IDN
  - Remove TRACKMEMORY [1]
- Sort option handler
- Add SLAVEDIRS: ftp/curl-hiphop
- Cosmetic change
- Cleanup Makefile header
- While I'm here, fix typo (PORTREVSION) in x11-wm/ede/Makefile

Changes:	http://curl.haxx.se/changes.html
PR:		ports/172325 (-exp run), ports/177369 (based on) [1]
Submitted by:	Hirohisa Yamaguchi <umq@ueo.co.jp> [1], hrs (via email) [2]
Exp run by:	miwi
2013-07-11 16:26:26 +00:00
William Grzybowski
9db9c0ed47 net-mgmt/collectd: sanity checking for options requiring CURL
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
2013-07-08 21:49:14 +00:00
Jason Helfman
d92add59e5 - update to 1.1.0 and bump shared libraries in respective ports
- 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
2013-07-02 20:23:00 +00:00
Dmitry Sivachenko
b53a0fc556 Remove unneeded dependency.
Approved by:	maintainer
2013-05-26 07:13:40 +00:00
William Grzybowski
30588c5645 - Update to 4.10.9 [1]
- Add option for notify email [1]
- Fix libnotify dependency [1]
- Add LICENSE (GPLv2)
- Remove options descriptions found in bsd.options.desc.mk
- Rename VIRT option to LIBVIRT

PR:		ports/178825 [1]
Submitted by:	Krzysztof Stryjek <ports@bsdserwis.com> (maintainer)
Approved by:	culot (mentor)
2013-05-24 10:10:16 +00:00
Boris Samorodov
5c69003697 . add new option MODBUS (off by default); [1]
. 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)
2013-05-15 11:38:21 +00:00
Boris Samorodov
0fc1508afa . add a line space after the Makefile header;
. 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)
2013-05-15 11:07:39 +00:00
Emanuel Haupt
2898e3fa0c Chase security/libgcrypt update 2013-05-03 16:36:39 +00:00
Baptiste Daroussin
992586fa08 Finish converting the whole ports tree to USES=pkgconfig 2013-04-23 14:20:25 +00:00
Pawel Pekala
216c666062 Fix segfautls in ZFS code
PR:		ports/176440
Submitted by:	Krzysztof Stryjek <ports@bsdserwis.com> (maintainer)
2013-02-28 15:33:25 +00:00
Pawel Pekala
6761f68249 Add ZFS support
PR:		ports/176107
Submitted by:	Krzysztof Stryjek <ports@bsdserwis.com> (maintainer)
2013-02-23 15:36:53 +00:00
Steve Wills
2beedf4aa0 - Allow not selecting INPUT/OUTPUT so RRDTOOL is not required
PR:		ports/174903
Submitted by:	bdrewery
Approved by:	Krzysztof Stryjek <ports@bsdserwis.com> (maintainer)
2013-01-13 22:15:45 +00:00
Pawel Pekala
a88a835676 Fix build
PR:		ports/174604
Submitted by:	Ross <basarevych@gmail.com>
Approved by:	Krzysztof Stryjek <ports@bsdserwis.com> (maintainer)
2012-12-21 15:52:33 +00:00
Jason Helfman
682ff4dbe0 - update libvirt to 1.0.0, and bump others for shlib change
- explictly tie to ABI version, required
- update historical headers
- add shared description for libvirt
2012-12-11 00:48:33 +00:00
Guido Falsi
1b0f80324f - Update to 4.10.8
- Fix one portlint warning

PR:		ports/174233
Submitted by:	Krzysztof Stryjek <ports@bsdserwis.com> (maintainer)
2012-12-10 23:42:37 +00:00
Bryan Drewery
9e375c1a02 - Fix wrong LIB_DEPENDS on gcrypt [1]
- Update to new header

PR:		ports/171747 [1]
Submitted by:	François Charlier <fcharlier@ploup.net> [1]
Approved by:	maintainer timeout (2w)
Pointyhat to:	bdrewery
2012-10-03 12:24:20 +00:00
Bryan Drewery
61359c2602 - Add VIRT and WRITE_HTTP options [1]
- 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)
2012-09-12 22:07:07 +00:00
Baptiste Daroussin
9346b215f0 new devel/pkgconf added to replace devel/pkg-config. new version of pkg-config
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)
2012-07-26 05:40:22 +00:00
Andrej Zverev
c9b4f372f4 - Remove SITE_PERL from *_DEPENDS
Approved by: portmgr@ (bapt@)
2012-06-30 12:42:52 +00:00
Dirk Meyer
2b74a89bc8 - update png to 1.5.10 2012-06-01 05:26:28 +00:00
Ade Lovett
6d726b6c09 Update autoconf to 2.69 and automake to 1.12
PR:		166836
Tested by:	Multiple -exp runs (pav)
2012-05-11 20:38:09 +00:00
Sylvio Cesar Teixeira
b240caf9e4 - Chase rrdtool shlib version bump. 2012-05-07 18:52:09 +00:00
Vanilla I. Shu
73b7a56b52 1: Upgrade libmemcached to 1.0.6.
2: bump revision to chase shared library version.
3: drop maintainer
2012-04-13 17:48:18 +00:00
Jason Helfman
ea8fa21490 - chase libmemcached shared library bump 8=>9
PR:	ports/166898
Submitted by:	basarevych@gmail.com
Approved by:	maintainer, ports@bsdserwis.com
2012-04-13 16:44:13 +00:00
Dennis Herrmann
a459a2dec2 - Add RouterOS support
PR:		ports/166831
Submitted by:	Mark Felder <feld@feld.me>
Approved by:	Krzysztof Stryjek <ports@bsdserwis.com> (maintainer)
2012-04-12 05:44:15 +00:00
Eitan Adler
15966fc2eb Use a direct depend on nginx instead of a USE_ variable which does not seem to exist
Submitted by:	Alex Kozlov
2012-02-11 05:21:35 +00:00
Doug Barton
83eb2c3700 In the rc.d scripts, change assignments to rcvar to use the
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.
2012-01-14 08:57:23 +00:00
Pawel Pekala
599c515812 - Use autotools at build time, they are used when installed on system anyway
(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
2012-01-09 21:13:48 +00:00
Pawel Pekala
28af90ce32 - Add MEMCACHED, PYTHON, TOKYOTYRANT options [1]
- Clean up CONFIGURE_ARGS [1]
- Remove 6.x bits, not supported anymore
- Use bsd.port.options.mk instead of bsd.port.pre.mk
- Fix build for NUTUPS option

PR:             ports/163475 [1]
Submitted by:   Krzysztof Stryjek <ports@bsdserwis.com> (maintainer) [1]
2011-12-26 16:33:51 +00:00
Roman Bogorodskiy
4258affe1b - Update to 4.10.4
- Add RRDCACHED knob

PR:		163191
Submitted by:	Krzysztof Stryjek (maintainer)
Feature safe:	yes
2011-12-13 16:57:26 +00:00
Dmitry Marakasov
6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00
Ryan Steinmetz
48fe9c6e44 Add CONFLICT for newly repocopied net-mgmt/collectd5
Approved by:	wxs (mentor)
2011-09-07 02:22:30 +00:00
Sylvio Cesar Teixeira
c9e4736d26 - Chase net-snmp shlib version bump. 2011-07-28 12:43:22 +00:00
Josh Paetzel
7c092678c4 Fix build when using libgcrypt 1.5
PR:	ports/158774
Submitted by:	Alexander Panyushkin <vsityz@gmail.com>
Approved by:	Krzysztof Stryjek <ports@bsdserwis.com>
2011-07-15 02:38:07 +00:00
Sahil Tandon
e2b6a478d5 Fix previous commit in which I included the wrong
shared library version for libgcrypt.

Pointyhat to:	me
Reported by:	swills@
2011-07-04 04:29:26 +00:00
Sahil Tandon
5242f58159 Add option to build with libgcrypt.
PR:		ports/156776
Submitted by:	Brett Wynkoop <wynkoop@wynn.com>
Approved by:	maintainer timeout
2011-07-04 03:59:48 +00:00
Martin Wilke
6cabe75586 - Reenable BIND support
PR:		ports/157130
Submitted by:	Benjamin Lee <ben@b1c1l1.com>
Approved by:	maintainer
2011-06-26 05:03:09 +00:00
Wesley Shields
252f2e8e67 - Fix a memory leak.
PR:		ports/156902
Submitted by:	Thorkill <ml@grid.einherjar.de>
Approved by:	maintainer
2011-05-30 20:18:19 +00:00
Sahil Tandon
c2e9b4e7ea - Update to 4.10.3 [1]
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)
2011-05-17 01:06:46 +00:00
Florian Smeets
3861739dcf - update to 4.9.5
PR:		ports/156585
Submitted by:	Krzysztof Stryjek <ports@bsdserwis.com> (maintainer)
2011-04-23 14:32:34 +00:00
Cheng-Lung Sung
8337218886 - dbi.0 => dbi.1
- bump PORTREVISION
2011-03-07 15:59:27 +00:00
Martin Wilke
9af93ac936 - Backout previuse commit 2011-02-25 00:52:32 +00:00