1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00
Mirror of the FreeBSD ports git repo https://git.FreeBSD.org/ports.git .
Go to file
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
accessibility - Switch accessibility/speech-dispatcher to USES=libtool, drop .la files 2014-06-04 13:05:21 +00:00
arabic Update to libreoffice 4.2.4 2014-06-11 14:40:31 +00:00
archivers Support LIBS like LDFLAGS. 2014-06-11 14:49:59 +00:00
astro Support LIBS like LDFLAGS. 2014-06-11 14:49:59 +00:00
audio Support LIBS like LDFLAGS. 2014-06-11 14:49:59 +00:00
benchmarks Support LIBS like LDFLAGS. 2014-06-11 14:49:59 +00:00
biology Remove all the bootstrap files (.bs) from the plists. 2014-06-10 12:14:12 +00:00
cad - Unbreak 2014-06-11 07:06:01 +00:00
chinese Support LIBS like LDFLAGS. 2014-06-11 14:49:59 +00:00
comms Support LIBS like LDFLAGS. 2014-06-11 14:49:59 +00:00
converters Support LIBS like LDFLAGS. 2014-06-11 14:49:59 +00:00
databases Support LIBS like LDFLAGS. 2014-06-11 14:49:59 +00:00
deskutils Support LIBS like LDFLAGS. 2014-06-11 14:49:59 +00:00
devel Support LIBS like LDFLAGS. 2014-06-11 14:49:59 +00:00
dns Support LIBS like LDFLAGS. 2014-06-11 14:49:59 +00:00
editors Support LIBS like LDFLAGS. 2014-06-11 14:49:59 +00:00
emulators Support LIBS like LDFLAGS. 2014-06-11 14:49:59 +00:00
finance Remove indefinite articles and trailing periods from COMMENT, plus 2014-06-10 07:39:01 +00:00
french Update to libreoffice 4.2.4 2014-06-11 14:40:31 +00:00
ftp Support LIBS like LDFLAGS. 2014-06-11 14:49:59 +00:00
games Support LIBS like LDFLAGS. 2014-06-11 14:49:59 +00:00
german Update to libreoffice 4.2.4 2014-06-11 14:40:31 +00:00
graphics Support LIBS like LDFLAGS. 2014-06-11 14:49:59 +00:00
hebrew Update to libreoffice 4.2.4 2014-06-11 14:40:31 +00:00
hungarian Update to libreoffice 4.2.4 2014-06-11 14:40:31 +00:00
irc Support LIBS like LDFLAGS. 2014-06-11 14:49:59 +00:00
japanese Support LIBS like LDFLAGS. 2014-06-11 14:49:59 +00:00
java Support LIBS like LDFLAGS. 2014-06-11 14:49:59 +00:00
Keywords - Add a @sample plist keyword 2014-04-12 03:39:02 +00:00
korean Support LIBS like LDFLAGS. 2014-06-11 14:49:59 +00:00
lang Support LIBS like LDFLAGS. 2014-06-11 14:49:59 +00:00
mail Support LIBS like LDFLAGS. 2014-06-11 14:49:59 +00:00
math Support LIBS like LDFLAGS. 2014-06-11 14:49:59 +00:00
misc Support LIBS like LDFLAGS. 2014-06-11 14:49:59 +00:00
Mk Support LIBS like LDFLAGS. 2014-06-11 14:49:59 +00:00
multimedia Support LIBS like LDFLAGS. 2014-06-11 14:49:59 +00:00
net Support LIBS like LDFLAGS. 2014-06-11 14:49:59 +00:00
net-im Support LIBS like LDFLAGS. 2014-06-11 14:49:59 +00:00
net-mgmt Support LIBS like LDFLAGS. 2014-06-11 14:49:59 +00:00
net-p2p Support LIBS like LDFLAGS. 2014-06-11 14:49:59 +00:00
news Support LIBS like LDFLAGS. 2014-06-11 14:49:59 +00:00
palm 1: Stagify. 2014-06-10 02:57:50 +00:00
polish Update to libreoffice 4.2.4 2014-06-11 14:40:31 +00:00
ports-mgmt Properly include bsd.port.pre.mk before checking for WITH_PKGNG, so that 2014-06-07 18:46:59 +00:00
portuguese Update to libreoffice 4.2.4 2014-06-11 14:40:31 +00:00
print Support LIBS like LDFLAGS. 2014-06-11 14:49:59 +00:00
russian Support staging. 2014-06-09 23:03:46 +00:00
science better way to handle symlink 2014-06-10 15:20:03 +00:00
security Support LIBS like LDFLAGS. 2014-06-11 14:49:59 +00:00
shells Remove all space characters from Makefile assignments. 2014-06-08 19:51:27 +00:00
sysutils Support LIBS like LDFLAGS. 2014-06-11 14:49:59 +00:00
Templates - Add LOCALBASE/etc/newsyslog.conf.d from base r266463 2014-06-05 15:20:36 +00:00
textproc Support LIBS like LDFLAGS. 2014-06-11 14:49:59 +00:00
Tools - Correct the bugzilla url 2014-06-02 05:04:21 +00:00
ukrainian Update to libreoffice 4.2.4 2014-06-11 14:40:31 +00:00
vietnamese Update to libreoffice 4.2.4 2014-06-11 14:40:31 +00:00
www Support LIBS like LDFLAGS. 2014-06-11 14:49:59 +00:00
x11 Support LIBS like LDFLAGS. 2014-06-11 14:49:59 +00:00
x11-clocks - Stagify. 2014-06-09 15:41:12 +00:00
x11-drivers Update wacom input driver to 0.24.99.1 2014-06-11 06:44:41 +00:00
x11-fm Support LIBS like LDFLAGS. 2014-06-11 14:49:59 +00:00
x11-fonts - updates MAINTAINER 2014-06-10 21:27:18 +00:00
x11-servers x11-drivers/xf86-video-ati: 2014-05-29 19:32:08 +00:00
x11-themes Rephrase pkg-descr, fix WWW line. 2014-06-03 19:14:59 +00:00
x11-toolkits Support LIBS like LDFLAGS. 2014-06-11 14:49:59 +00:00
x11-wm Support LIBS like LDFLAGS. 2014-06-11 14:49:59 +00:00
.arcconfig Add .arcconfig to ports. 2014-05-15 17:25:39 +00:00
.gitignore - Only ignore top-level distfiles/packages and also ignore work dirs 2014-03-17 15:41:46 +00:00
CHANGES Introduce a new PYTHON_CONCURRENT_INSTALL knob to support the parallel 2014-06-07 16:13:11 +00:00
CONTRIBUTING.md Add a CONTRIBUTING file so github pull requests explain the proper submission 2014-03-15 13:37:33 +00:00
COPYRIGHT Bump copyright year. 2013-12-31 12:28:56 +00:00
GIDs - Update Zetacoin to 0.8.99.16 2014-06-03 18:33:48 +00:00
LEGAL - Update to 8.07.14 (and make fetchable again) 2014-06-01 07:36:36 +00:00
Makefile - Fix 'make index' not working when PORTSDIR is a symlink to another directory 2013-12-06 18:45:13 +00:00
MOVED Resurrect net/wackmole and upgrade version 2.14 => 2.15 2014-06-11 14:25:01 +00:00
README
UIDs Replace contents of UIDs... how'd that happen?! 2014-06-05 20:32:53 +00:00
UPDATING Update to icu 53.1, recommand to the user to rebuild all their applications depending on icu 2014-06-11 14:31:01 +00:00

This is the FreeBSD Ports Collection.  For an easy to use
WEB-based interface to it, please see:

	http://www.FreeBSD.org/ports

For general information on the Ports Collection, please see the
FreeBSD Handbook ports section which is available from:

	http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/ports.html
		for the latest official version
	or:
	The ports(7) manual page (man ports).

These will explain how to use ports and packages.

If you would like to search for a port, you can do so easily by
saying (in /usr/ports):


	make search name="<name>"
	or:
	make search key="<keyword>"

which will generate a list of all ports matching <name> or <keyword>.
make search also supports wildcards, such as:

	make search name="gtk*"

For information about contributing to FreeBSD ports, please see the Porter's
Handbook, available at:

	http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/porters-handbook/

NOTE:  This tree will GROW significantly in size during normal usage!
The distribution tar files can and do accumulate in /usr/ports/distfiles,
and the individual ports will also use up lots of space in their work
subdirectories unless you remember to "make clean" after you're done
building a given port.  /usr/ports/distfiles can also be periodically
cleaned without ill-effect.