1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
Commit Graph

532 Commits

Author SHA1 Message Date
Gerald Pfeifer
668bfd2254 Fix PORTNAME from gcc47 to gcc44. 2013-11-25 00:13:54 +00:00
Gerald Pfeifer
19c16e88dd Change PORTNAME from gcc to gcc44 to match the actual name of this
port and avoid a package name collision with other GCC ports.  This
also allows us to remove LATEST_LINK.

Move to the new LIB_DEPENDS standard.

Sync the debugging output in pre-everything with later GCC ports.
2013-11-24 23:11:10 +00:00
Baptiste Daroussin
888ab73a81 Add NO_STAGE all over the place in preparation for the staging support (cat: lang) 2013-09-20 19:53:09 +00:00
Bryan Drewery
c93dfc2e9f SSP support has been added to ports with WITH_SSP for i386 and amd64
on FreeBSD 10, and amd64 on earlier versions.

SSP_UNSAFE is added to disable in a port if it fails to build, but
this should only be used in rare circumstances such as kernel modules.
Otherwise, the port may just be failing due to lack of respecting
LDFLAGS.

On FreeBSD 10, this uses an ldscript in /usr/lib/libc.so to pull in
libssp_nonshared.a to address issues linking on i386 [1].

On earlier FreeBSD versions the WITH_SSP knob will add -lssp_nonshared
to LDFLAGS on i386. This is not needed on amd64. However, several hundred
ports do not currently respect LDFLAGS, so this support is disabled currently
as it causes build failures if a dependency is looking for the stack_chk
symbols.

Many thanks to jlh@ for this as he had many years of patience in getting
all of the necessary pieces [1][2] in.

[1] http://svnweb.freebsd.org/base/head/lib/libc/libc.ldscript?revision=251668&view=markup

PR:		ports/138228 [2]
Submitted by:	jlh (bsd.ssp.mk based on)
Reviewed by:	bapt
With hat:	portmgr
exp-runs done:	37 over a month on 91i386,91amd64,10i386,10amd64
2013-09-20 12:54:54 +00:00
John Marino
9518965c21 lang/gcc*: define CONFIGURE_TARGET genericly (8 ports)
Instead of hardcoding the compiler target as FreeBSD, use the OPSYS
variable to it.  This makes no practical difference for FreeBSD, but
it helps DragonFly get properly configured.

Approved by:	gerald
2013-09-12 10:20:45 +00:00
Baptiste Daroussin
625521b37a Fix build on head by removing USE_GCC=any, and adding -fgnu89-inline to cflags
(gfortran requires gnu99)

PR:		ports/181816
Submitted by:	tijl
Approved by:	gerald
2013-09-06 21:54:28 +00:00
Gerald Pfeifer
bbd59ec3c8 Work around a bug in libcpp that pulls in the optional system iconv
if present (even if the libiconv port is present and requested) and
fails using that.

The issue is that /usr/include/iconv.h has #include <stdbool.h> which
in turn, since both are included very late in the game, conflicts with
similar definintions by libcpp itself.

libstdc++ does not seem to require adjustments, so PR 161417 may not
be relevant in full.

PR:		161417
2013-09-06 19:25:24 +00:00
Boris Samorodov
9f7e7e1326 Introduce ICONV_CONFIGURE_ARG variable defined at Uses/iconv.mk.
It's value is "--with-libiconv-prefix=/usr/local" for systems
before 100043 with ports libiconv and to use at systems post
100043 with base iconv it's value is "" (NULL).

Co-authors:	bapt, madpilot and bsam (me)
2013-09-04 20:01:05 +00:00
Alex Kozlov
d4041784dc - Remove MAKE_JOBS_SAFE variable
Approved by:	portmgr (bdrewery)
2013-08-14 22:35:50 +00:00
Marcus von Appen
a3a0715f38 - Convert USE_ICONV=yes to USES=iconv
- Change USE_GNOME=pkgconfig|gnomehack to USES=pathfix|pkgconfig while here

Reviewed by:	zeising
2013-04-27 11:59:28 +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
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
Gerald Pfeifer
dcc5de0cfc Remove ABI version numbers for all library dependencies.
Just build, do not bootstrap, this obsolete and frozen version of GCC.
2012-08-05 17:46:58 +00:00
Gerald Pfeifer
b8357b9919 Update to the 4.4.7 release which closes the GCC 4.7 release series
and branch.

Feature safe:	yes
2012-03-18 18:58:19 +00:00
Gerald Pfeifer
831467479d Update to the 20120306 snapshot of GCC 4.4.7. 2012-03-07 22:14:53 +00:00
Gerald Pfeifer
c1a9a0bb32 Update to the 20120117 snapshot of GCC 4.4.7. 2012-01-22 12:43:59 +00:00
Gerald Pfeifer
af0f1a0d64 Update to the 20111108 snapshot of GCC 4.4.7. Refer to GCC 4.6 as
the version to upgrade to instead of GCC 4.5 which is going away.

Feature safe:	yes
2011-11-12 13:21:04 +00:00
Gerald Pfeifer
e122357777 Update to the 20110830 snapshot of GCC 4.4.7. 2011-09-04 21:05:30 +00:00
Gerald Pfeifer
3a5cfd4449 Update to the 20110628 snapshot of GCC 4.4.7. 2011-07-03 14:49:00 +00:00
Gerald Pfeifer
7263a32e18 Update to the 20110531 snapshot of GCC 4.4.7.
Upstream now only provides a single tarball, so this brings a number
of changes around that.

Among others based on this, enable c, c++, and fortran (and only these)
explicitly. [1]

Reported by:	Scott Allendorf <scott-allendorf@uiowa.edu> [1]
2011-06-03 16:04:40 +00:00
Gerald Pfeifer
f1d09fd345 Deprecate. Were it not for cad/salome, this would not exist any more. 2011-05-08 22:51:37 +00:00
Gerald Pfeifer
17f54ba4b3 Update to the 20110503 snapshot of GCC 4.4.7. 2011-05-07 20:26:57 +00:00
Gerald Pfeifer
a4eeec8820 Update to the 20110419 snapshot of GCC 4.4.7. 2011-04-27 11:04:58 +00:00
Gerald Pfeifer
38ddcc0925 Update to the 20110419 snapshot of GCC 4.4.7, which is basically the
release of GCC 4.4.6.

Replace the, now dysfunctional, post-patch target with a configure
option that marks this build of GCC as "FreeBSD Ports Collection". [1]

Reported by:	Bjoern Koenig <bkoenig@alpha-tierchen.de> [1]
2011-04-21 21:05:33 +00:00
Gerald Pfeifer
9c3f58b250 Update to the 20110412 snapshot of GCC 4.4.6. 2011-04-15 18:14:25 +00:00
Gerald Pfeifer
c401750f94 Update to the 20110405 snapshot of GCC 4.4.6. 2011-04-08 19:00:55 +00:00
Gerald Pfeifer
9dcaec95ae Update to the 20110329 snapshot of GCC 4.4.6. 2011-04-01 22:56:45 +00:00
Gerald Pfeifer
5a6e0215d0 Update to the 20110322 snapshot of GCC 4.4.6.
Remove support for the testsuite and the full-regression-test Makefile
target since we'll be phasing out this port in the near future.
2011-03-23 00:54:04 +00:00
Gerald Pfeifer
ce98777b5c Update to the 20110315 snapshot of GCC 4.4.6.
Remove the explicit passing of CPPFLAGS to MAKE_ENV which is no longer
necessary. [1]

PR:		153625 [1]
2011-03-19 12:15:06 +00:00
Gerald Pfeifer
2267fb27a4 Update to the 20110308 snapshot of GCC 4.4.6. 2011-03-13 15:21:14 +00:00
Gerald Pfeifer
77eff505c7 Update to the 20110222 snapshot of GCC 4.4.6. 2011-02-23 08:50:37 +00:00
Gerald Pfeifer
af1054cb2e Remove debug code. Completely harmless, but... 2011-02-16 02:14:12 +00:00
Gerald Pfeifer
24ee1b205c Update to the 20110215 snapshot of GCC 4.4.6.
Unbreak the case where CPPFLAGS is already pre-initialized. [1]

Reported by:	avg [1]
2011-02-16 02:12:44 +00:00
Gerald Pfeifer
0c785cf897 Update to the 20110208 snapshot of GCC 4.4.6. 2011-02-09 23:45:30 +00:00
Gerald Pfeifer
94ef66e36b Update to the 20110201 snapshot of GCC 4.4.6.
Feature safe:	yes
2011-02-02 23:19:54 +00:00
Gerald Pfeifer
3b0a3cd8ed Update to the 20110125 snapshot of GCC 4.4.6.
Feature safe:	yes
2011-01-28 01:03:20 +00:00
Gerald Pfeifer
03e6f33ad1 Update to the 20110118 snapshot of GCC 4.4.6.
Feature safe:	yes
2011-01-21 15:59:49 +00:00
Gerald Pfeifer
97d5847a87 Update to the 20110111 snapshot of GCC 4.4.6.
Feature safe: 	yes
2011-01-14 21:25:21 +00:00
Gerald Pfeifer
329bc29726 Update to the 20101221 snapshot of GCC 4.4.6.
Finally fix an intricate build error (amd64 only) that has been hard
to reliably track down and unbreak this port on amd64.

PR:		151792, 151848
Reported by:	pav, QAT,
		Andrei Lavreniyuk <andy@gmail.com>,
		"Hartmann, O." <ohartman@zedat.fu-berlin.de>
Submitted by:	avg (in slightly different form)
Tested by:	Christoph Moench-Tegeder <cmt@burggraben.net>,
		Da Rock <freebsd-questions@herveybayaustralia.com.au>
2011-01-02 19:56:14 +00:00
Pav Lucistnik
e338b1ae71 - Mark BROKEN on amd64: does not build
Reported by:	pointyhat
2010-11-06 20:40:20 +00:00
Gerald Pfeifer
a1caf31e12 Update to the 20101026 snapshot of GCC 4.4.6. 2010-10-27 10:41:20 +00:00
Gerald Pfeifer
4b07d3b3a7 Update to the 20101012 snapshot of GCC 4.4.6. 2010-10-16 20:39:30 +00:00
Gerald Pfeifer
bda556d410 Update to the 20101005 snapshot of GCC 4.4.6 which is pretty much the
state of the GCC 4.4.5 release.
2010-10-11 12:07:59 +00:00
Gerald Pfeifer
3c3cc35471 Update to the 20100928 snapshot of GCC 4.4.5. 2010-09-29 04:12:29 +00:00
Gerald Pfeifer
344200ca8d Replace the explicit build dependency on devel/binutils by USE_BINUTILS.
Submitted by:	bf
2010-09-28 12:32:16 +00:00
Gerald Pfeifer
ba7b808f5c Update to the 20100921 snapshot 4.4.5. 2010-09-22 13:41:52 +00:00
Gerald Pfeifer
0aca4ba2e2 Update to the 20100913 snapshot of GCC 4.4.5. 2010-09-16 19:59:07 +00:00
Gerald Pfeifer
8a860c7d5a Update to the 20100831 snapshot of GCC 4.4.5. 2010-09-03 23:47:18 +00:00
Gerald Pfeifer
2b361e1e66 Update to the 20100817 snapshot of GCC 4.4.5.
Replace NOT_FOR_ARCHS by ONLY_FOR_ARCHS. [1]

Suggested by:	linimon
2010-08-20 14:28:44 +00:00
Gerald Pfeifer
76dc5b44ba Update to the 20100803 snapshot of GCC 4.4.5. 2010-08-07 00:00:58 +00:00