Personal patches
Go to file
Gerald Pfeifer a86c2dfa1a MFH: r499061
Approved by:	portmgr (miwi)

GCC has two runtime libraries:  The static library libgcc.a (-lgcc) and
the shared library libgcc_s.so (-lgcc_s).  Both implement many of the
same functions but they also each have their unique functions.  When
GCC links programs and libraries there are three possibilities:

1. gcc -static-libgcc or gcc -static: -lgcc
   => Just use libgcc.a.

2. gcc -shared-libgcc: -lgcc_s -lgcc
   => Link with libgcc_s first, so libgcc.a is only used for its unique
      functions.

3. gcc: -lgcc -Wl,--as-needed -lgcc_s -Wl,--no-as-needed
   => Link with libgcc.a first so libgcc_s is only used for its unique
      functions (_Unwind_* functions).

Approach 3 is the default for gcc and it's also what clang and clang++ use;
approach 2 is the default for gfortran, g++ and probably other front ends.

This patch makes 3 the default for gfortran.  It significantly reduces
the use of libgcc_s.  The _Unwind_* functions are also available in the
old base system libgcc_s which means this reduces the need for
-rpath /usr/local/lib/gccN in ports that depend on libraries built with
gfortran.  Consider a dependency tree like this:

  prog -> libA -> libgcc_s (old base system libgcc_s is fine)
       -> libB -> libgcc_s (libB built with gfortran, needs new libgcc_s)

Here prog needs to be linked with -rpath /usr/local/lib/gccN even if it's
a normal C program compiled with clang.  Without -rpath it will fail to
start because it loads old libgcc_s first as a dependency of libA and then
it fails to load libB.  With this patch libB works with old base system
libgcc_s or may not need libgcc_s at all, so prog does not need to be
linked with -rpath.

PR:		208120
Submitted by:	tijl
2019-04-27 14:47:53 +00:00
accessibility Update to 3.3.6 2019-03-29 11:18:10 +00:00
arabic Update to 6.2.2 2019-03-23 01:43:30 +00:00
archivers MFH: r498036 2019-04-06 07:45:52 +00:00
astro MFH: r498995 2019-04-15 06:24:33 +00:00
audio MFH: r500189 2019-04-27 05:32:21 +00:00
base Fix a cross-build regression in r493401. 2019-03-12 18:56:53 +00:00
benchmarks MFH: r497686 2019-04-03 08:52:13 +00:00
biology biology/py-fastTSNE: Add the PORTSCOUT line 2019-03-31 16:57:54 +00:00
cad MFH: r499858 2019-04-24 16:14:45 +00:00
chinese Update to 6.2.2 2019-03-23 01:43:30 +00:00
comms MFH: r499037 2019-04-17 03:00:38 +00:00
converters Remove duplicate port converters/py-pint. 2019-03-31 08:01:23 +00:00
databases MFH: r499531 2019-04-21 11:21:14 +00:00
deskutils MFH: r498459 2019-04-12 07:54:33 +00:00
devel MFH: r499891 2019-04-24 17:52:41 +00:00
dns MFH: r499957 r499958 r499959 2019-04-25 07:22:22 +00:00
editors Drop USES=gecko 2019-03-29 20:16:36 +00:00
emulators MFH: r500182 2019-04-27 00:50:11 +00:00
finance MFH: r497718 2019-04-03 11:52:58 +00:00
french Update to 6.2.2 2019-03-23 01:43:30 +00:00
ftp MFH: r498557 2019-04-12 08:55:48 +00:00
games MFH: r500123 2019-04-26 18:30:35 +00:00
german devel/eric6: update to 19.03 2019-03-31 16:15:36 +00:00
graphics MFH: r499905 2019-04-24 20:07:41 +00:00
hebrew Update to 6.2.2 2019-03-23 01:43:30 +00:00
hungarian Update to 6.2.2 2019-03-23 01:43:30 +00:00
irc MFH: r498224 2019-04-07 01:28:59 +00:00
japanese MFH: r497832 2019-04-04 14:10:06 +00:00
java * Update to 12.0.0.33.2 2019-03-29 17:39:15 +00:00
Keywords
korean Update to 6.2.2 2019-03-23 01:43:30 +00:00
lang MFH: r499061 2019-04-27 14:47:53 +00:00
mail MFH: r499273 2019-04-20 15:46:22 +00:00
math - Correction to BROKEN message. 2019-04-01 01:02:30 +00:00
misc MFH: r498045 2019-04-06 00:43:45 +00:00
Mk MFH: r498363 2019-04-08 12:40:26 +00:00
multimedia MFH: r499843 2019-04-24 14:05:33 +00:00
net MFH: r499654 2019-04-24 03:56:11 +00:00
net-im MFH: r497809 2019-04-04 08:16:54 +00:00
net-mgmt MFH: r500091 2019-04-26 10:59:53 +00:00
net-p2p MFH: r499737 2019-04-23 09:23:05 +00:00
news Spell NNTP correctly (it's an abbreviation and thus should be uppercased). 2019-03-31 11:41:45 +00:00
palm
polish MFH: r498183 2019-04-06 19:48:36 +00:00
ports-mgmt ports-mgmt/portfmt: Update to latest commit 2019-03-30 17:35:10 +00:00
portuguese Update to 20190329 2019-03-30 20:45:37 +00:00
print MFH: r499622 2019-04-22 09:16:42 +00:00
russian MFH: r498085 2019-04-06 09:08:42 +00:00
science MFH: r498995 2019-04-15 06:24:33 +00:00
security MFH: r500165 2019-04-26 20:54:35 +00:00
shells Mark almost all Haskell ports for expiration by mid April 2019-03-30 17:39:36 +00:00
sysutils MFH: r497515 r499671 2019-04-23 18:53:17 +00:00
Templates
textproc MFH: r499817 2019-04-25 18:00:17 +00:00
Tools Added a script to bump PORTREVISION if a library has changed a version like libgit2. 2019-03-28 17:01:17 +00:00
ukrainian Update to 6.2.2 2019-03-23 01:43:30 +00:00
vietnamese Update to 6.2.2 2019-03-23 01:43:30 +00:00
www MFH: r500079 2019-04-26 04:50:22 +00:00
x11 MFH: r499898 2019-04-24 19:36:20 +00:00
x11-clocks Update KDE Applications to 18.12.3 2019-03-07 18:35:32 +00:00
x11-drivers
x11-fm Upgrade the LXQt desktop environment to 0.14.0 2019-03-28 17:59:33 +00:00
x11-fonts MFH: r497630 2019-04-03 05:45:53 +00:00
x11-servers
x11-themes Upgrade the LXQt desktop environment to 0.14.0 2019-03-28 17:59:33 +00:00
x11-toolkits MFH: r498679 2019-04-11 20:33:26 +00:00
x11-wm MFH: r498209 2019-04-06 21:15:37 +00:00
.arcconfig
.gitattributes
.gitauthors .gitauthors: Add Mitchell Horne (mhorne) 2019-03-21 22:51:53 +00:00
.gitignore
.gitmessage
CHANGES Remove superfluous linefeeds and spell Qt properly while here. 2019-03-01 05:11:10 +00:00
CONTRIBUTING.md
COPYRIGHT
GIDs Add deskutils/py-paperless, a Django application that allows to index and 2019-03-30 12:27:52 +00:00
LEGAL Mark benchmarks/netio as RESTRICTED. 2019-03-26 20:02:39 +00:00
Makefile
MOVED Document the removal of expired ports 2019-03-31 13:42:41 +00:00
README Remove superfluous linefeeds and spell Qt properly while here. 2019-03-01 05:11:10 +00:00
UIDs Add deskutils/py-paperless, a Django application that allows to index and 2019-03-30 12:27:52 +00:00
UPDATING gecko: drop -i18n ports 2019-03-29 20:13:45 +00:00

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

	https://www.FreeBSD.org/ports

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

	https://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:

	https://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.