Commit graph

25 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
Martin Wilke
c2866e7e03 - Convert gmake,bzip2 to USES
Approved by:	portmgr
2014-05-29 12:00:30 +00:00
Baptiste Daroussin
b67bcd423b Catch a couple of missing convertsion to :tu/:tl
Submitted by:	ak
With hat:	portmgr
2014-05-05 11:15:53 +00:00
Baptiste Daroussin
0c710c7b4e Add NO_STAGE all over the place in preparation for the staging support (cat: net) 2013-09-20 22:10:23 +00:00
Mathieu Arnold
62a41b423b - Convert to new perl framework
- Remove MAKE_JOBS_SAFE=yes, it's the default.
2013-08-03 13:44:00 +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
Martin Wilke
e01e40a5c0 - Do not remove directories not created by this port
Reported by:	pkg (DEVELOPER_MODE)
2013-06-09 11:15:51 +00:00
Baptiste Daroussin
992586fa08 Finish converting the whole ports tree to USES=pkgconfig 2013-04-23 14:20:25 +00:00
Eitan Adler
b23d00e595 Quick fix for this port too: I had fixed this in the wrong tree 2013-03-28 15:59:41 +00:00
Eitan Adler
b0533230a5 Drop support for old versions of FreeBSD from unmaintained ports
Reviewed by:	miwi
2013-03-28 15:51:16 +00:00
Baptiste Daroussin
9250d94365 Convert USE_BISON to USES= bison
It brings bison as a build dependency in case it is set the following way:
USES= bison or USES= bison:build

it brings bison as a run dependency in case it is set the following way:
USES= bison:run

it brings bison both as a run and build dependency in case it the set the following way:
USES= bison:both

While here trim some headers
Convert some USE_GNOME= gnomehack to USES= pathfix
2013-03-08 11:32:11 +00:00
Steve Wills
b8db12e6a4 - Remove hard coded sleep [1]
- Make the "sofia recover" only run if you've set freeswitch_cluster so it doesn't break the ability to start the daemon [1]
- Bump PORTREVISION
- Mark MAKE_JOBS_UNSAFE due to failures building it with FORCE_MAKE_JOBS

PR:		ports/175305 [1]
Submitted by:	Mark Felder <feld@feld.me> [1]
2013-01-21 00:33:44 +00:00
Mark Linimon
e55ace8cfe Current maintainer is away from FreeBSD work ATM, so return these to the
pool for now.

Feature safe:	yes
2012-12-07 22:26:41 +00:00
Mark Linimon
a8693b8dee Force numerous ports that fail to build with clang over to instead always
rely on gcc.  The patch uses the new USE_GCC=any code in Mk/bsd.gcc.mk to
accomplish this.

The ports chosen were ports that blocked 2 or more ports from building with
clang.  (There are several hundred other ports that still fail to build with
clang, even with this patch.  This is merely one step along the way.)

Those interested in fixing these ports with clang, and have clang as their
default compiler, can simply set FORCE_BASE_CC_FOR_TESTING=yes.

For those who have gcc as their default compiler, this change is believed
to cause no change.

Hat:		portmgr
Tested with:	multiple runs on amd64-8-exp-bcm and 9-exp-clang, with various
		combinations of patch/no-patch and flag settings.
2012-10-09 22:12:13 +00:00
Florian Smeets
5fb373f312 - update net/freeswitch-devel to 1.2.3 (forgotten in r304599) [1]
- minor cleanups to net/freeswitch-core-devel [2]

PR:		ports/171781 [1]
Submitted by:	Richard Neese <r.neese@gmail.com> (maintainer) [1], ohauer [2]
Approved by:	maintainer [2]
2012-09-21 23:20:52 +00:00
Florian Smeets
d814c9f722 Update to 1.2.3
PR:		ports/171780
PR:		ports/171781
PR:		ports/171782
PR:		ports/171783
Submitted by:	Richard Neese <r.neese@gmail.com> (maintainer)
2012-09-20 21:09:41 +00:00
Jason Helfman
5f777d902d - fix MODFREETDM ports option
PR:	170808
Submitted by:	Artis.Caune@gmail.com
Approved by:	maintainer, r.neese@gmail.com
2012-08-21 05:33:21 +00:00
Jason Helfman
517c7a6a7f - update to 1.2.1
- adopt optionsNG

PR:	170318
Submitted by:	maintainer, r.neese@gmail.com
2012-08-16 21:20:28 +00:00
Jimmy Olgeni
137938443f Patch ports depending on lang/erlang-lite to use lang/erlang instead.
The current lang/erlang option defaults match those specified in
lang/erlang-lite, thus making it redundant. Also, mixing ports
depending on lang/erlang and lang/erlang-lite is impossible without
manual patching.

Hence, lang/erlang-lite is going to be removed.
2012-08-15 13:37:44 +00:00
Jason Helfman
5e221175e0 - end make config loop
Submitted by: jgh
Reported by: maintainer, r.neese@gmail.com (irc)
2012-07-26 18:08:12 +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
Chris Rees
59c0ac0198 Define PKGBASE to stop sharing UNIQUENAME with net/freeswitch
Noticed by:	rneese (maintainer)
2012-06-16 13:10:08 +00:00
Chris Rees
e634049e1e Add configuration ports for freeswitch-devel; vanilla, sbc, insideout and curl
PR:		ports/167877
PR:		ports/167878
PR:		ports/167879
PR:		ports/167881
Submitted by:	Richard Neese (r.neese@gmail.com) (maintainer)

Fix some minor pkg-install script issues in -core-devel

Use a cookie file to install ETCDIR/conf directory structure rather than
@exec mkdir to simplify installation
2012-05-22 19:12:47 +00:00
Chris Rees
22c3702d66 Stop installing freeswitch.xml to ETCDIR; it conflicts with the
configuration ports
2012-05-21 16:49:31 +00:00
Chris Rees
8b8a2ff5e6 Add net/freeswitch-core-devel port; version 1.2 for testing.
Register CONFLICTS with net/freeswitch-core

PR:		ports/167872
Submitted by:	Richard Neese <r.neese@gmail.com>
2012-05-17 21:03:11 +00:00