Commit graph

26 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
Emanuel Haupt
7fa9666216 Use dos2unix USES macro. 2013-12-18 11:55:28 +00:00
Baptiste Daroussin
5978476c35 In preparation for making libtool generate libraries with a sane name, fix all
LIB_DEPENDS in audio

With hat:	portmgr
2013-12-11 14:35:36 +00:00
Emanuel Haupt
f4a1e022c0 Support staging. 2013-10-23 20:30:50 +00:00
Baptiste Daroussin
183c2ed74f Add NO_STAGE all over the place in preparation for the staging support (cat: audio) 2013-09-20 14:36:35 +00:00
Emanuel Haupt
ea0f02dfeb Remove MAKE_JOBS_SAFE which is now default. 2013-07-24 08:19:07 +00:00
Emanuel Haupt
6fe706fd4b - Convert USE_GMAKE to USES=gmake
- Change pkgconfig:build to pkgconfig since it's the same and it's bad practice.
  It accidentally slipped in during the original introduction
- Trim header
2013-07-08 18:42:15 +00:00
Emanuel Haupt
3ec5fd26a4 - Enable build on amd64
- Fix build on 9.1
- Heed CC, CXX, CPPFLAGS, LDFLAGS in all subdir
- Drop ABI version in LIB_DEPENDS

Approved by:	portmgr (miwi)
2013-04-03 08:37:47 +00:00
Emanuel Haupt
1101f09c09 Remove indefinite article from COMMENT 2013-03-08 14:00:30 +00:00
Eitan Adler
7e3b32fff8 - remove maintainer tags from pkg-descr
Approved by:	portmgr
Approved by:	bapt (mentor)
2011-10-22 23:50:23 +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
Martin Wilke
a9481afc8a - Get Rid MD5 support 2011-03-19 12:38:54 +00:00
Christian Weisgerber
f613ac049d Bump PORTREVISION after libao update and handle API incompatibility. 2010-06-06 20:39:21 +00:00
Emanuel Haupt
e8cfa8fc26 Mark MAKE_JOBS_SAFE 2009-03-30 14:18:26 +00:00
Emanuel Haupt
d04650537c Tell portscout to skip a particular version. The distfile in question is just
a symlink to the current version.
2008-10-30 17:09:44 +00:00
Emanuel Haupt
7c95c66b16 Remove "USE_GCC=3.4+" / "USE_GCC=3.2+". Now that the minimum version we support
via ports is FreeBSD 6.3, this is a no-op. FreeBSD 6.x features GCC 3.4 as the
system compiler.
2008-07-07 13:41:57 +00:00
Emanuel Haupt
7f1a7b52d5 Use MASTER_SITE_CRITICAL 2008-03-27 22:15:47 +00:00
Emanuel Haupt
791cb97605 This port now builds on 7-CURRENT 2006-07-17 08:41:53 +00:00
Emanuel Haupt
a99e2b8163 - Add an additional mirror
- This port does not configure on FreeBSD 7.x, mark it BROKEN for
  ${OSVERSION} >= 700000
2006-05-23 16:30:36 +00:00
Emanuel Haupt
9bdd4f1273 - Update to 0.7.1
- Add an additional mirror
2006-05-18 13:26:30 +00:00
Ade Lovett
8503536d38 Conversion to a single libtool environment.
Approved by:	portmgr (kris)
2006-02-23 10:40:44 +00:00
Emanuel Haupt
1337aded1e Remove deprecated USE_REINPLACE 2006-02-19 11:39:14 +00:00
Emanuel Haupt
6229fea156 Add SHA256 hashes to my ports 2005-11-30 14:01:14 +00:00
Ade Lovett
54a0b86543 Mass-conversion to the USE_AUTOTOOLS New World Order. The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
2005-11-15 06:52:12 +00:00
Emanuel Haupt
4e74162b8b Change MAINTAINER address for my ports.
Approved by:	novel (mentor)
2005-10-06 11:57:11 +00:00
Pav Lucistnik
853ffe1b2b Playgsf is a simple command line player for gsf files based on a winamp plugin
called 'Highly Advanced'.

The gsf file format is a music format similar to the psf format for
playstation(TM).

PR:		ports/84025
Submitted by:	Emanuel Haupt <ehaupt@critical.ch>
2005-07-28 12:15:12 +00:00