aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.gcc.mk
Commit message (Collapse)AuthorAgeFilesLines
* Fix mis-applied patch from revision 1.59 (moving the new code oneGerald Pfeifer2011-10-301-4/+5
| | | | | | | | | conditional up). Discussed with: bf Notes: svn path=/head/; revision=284753
* Refer to GCC 4.7 instead of GCC 4.5. Mark the part that should not seeGerald Pfeifer2011-10-301-3/+2
| | | | | | | changes based on GCC changes more clearly. Notes: svn path=/head/; revision=284731
* When USE_GCC=X.Y+ has been specified, prefer the default version ofGerald Pfeifer2011-10-301-4/+9
| | | | | | | | | | | | | | | | GCC (the one which also USE_FORTRAN=yes chooses) in case we do have to install GCC in any case. Only if an acceptable version of GCC is already present use that one. This will ease the load on tinderboxes, further the use of current versions of GCC, and minimize the need to download/carry several versions of GCC for users of pre-built packages. PR: 160507 Submitted by: bf Notes: svn path=/head/; revision=284690
* Fix the previous commit for the case where USE_FORTRAN is undefined.Gerald Pfeifer2011-10-081-0/+2
| | | | | | | Pointy hat to: self, bf Notes: svn path=/head/; revision=283164
* Reference the GCC run-time libraries via FFLAGS, too, in addition toGerald Pfeifer2011-10-081-0/+3
| | | | | | | | | CFLAGS and LDFLAGS, if USE_FORTRAN=yes has been specified. Submitted by: bf Notes: svn path=/head/; revision=283163
* Make USE_FORTRAN=yes imply the use of GCC 4.6 over GCC 4.5 so far.Gerald Pfeifer2011-09-191-4/+4
| | | | | | | | Exp-run by: pav Thanks to: pav, bf (for fixing several ports) Notes: svn path=/head/; revision=281967
* Cater to versions of FreeBSD greater than 9 (up to 99). [1]Gerald Pfeifer2011-09-101-6/+6
| | | | | | | | | Tweak the representation of versions of GCC that newer appeared in base. Submitted by: bf [1] Notes: svn path=/head/; revision=281575
* Refer to GCC 4.2+ instead of GCC 3.4+ in a comment, since the latter isGerald Pfeifer2011-09-041-1/+1
| | | | | | | not in any supported release of FreeBSD any more. Notes: svn path=/head/; revision=281169
* Clean up after revision 1.51 and adjust comments to the new reality of usGerald Pfeifer2011-07-311-4/+2
| | | | | | | not caring about FreeBSD <= 6 any more (and thus no g77 in base ever). Notes: svn path=/head/; revision=278658
* Add support for USE_GCC=4.7, USE_GCC=4.7+ and notably an installation ofGerald Pfeifer2011-07-191-1/+2
| | | | | | | | | | lang/gcc47 being used when USE_GCC=4.5+ or the like is specified. PR: 159036 Submitted by: kalten@gmx.at Notes: svn path=/head/; revision=277965
* Latest round of infrastructure changes.Florent Thoumie2011-05-041-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | | - bsd.port.mk: add INDEX_PORTS, to support INDEX creation for a subset of the ports tree [1] - bsd.port.mk: call target "install-rc-script" before "post-install" [2] - [patch] ports/Mk bsd.port.mk order if groups/users are created by package [3] - [bsd.port.mk] [patch] reaper of the dead: md5 has been in /sbin for a while [4] - [bsd.port.mk] [patch] remove support for pre 7.x systems (b.*.m) [5] - [patch] [bsd.port.mk] reaper of the dead: are three variable defintions needed [6] PR: ports/156575 [1], ports/139116 [2], ports/152498 [3], ports/155983 [4], ports/155510 [5], ports/156340 [6] Submitted by: Florent Thoumie <flz@xbsd.org> [1], Sergey Skvortsov <skv@freebsd.org> [2], Olli Hauer <ohauer@FreeBSD.org> [3], Eitan Adler <lists@eitanadler.com> [4], Eitan Adler <lists@eitanadler.com> [5], Eitan Adler <lists@eitanadler.com> [6] Notes: svn path=/head/; revision=273640
* lang/gcc44 and later depend on the devel/binutils port. Leverage thatGerald Pfeifer2011-02-011-0/+5
| | | | | | | | | | | and USE_BINUTILS for every port we are building with this combo. That way all the tools in binutils may be used. Suggested by: bf Feature safe: yes Notes: svn path=/head/; revision=268511
* Simplify the case of USE_FORTRAN=g77. Update a comment.Gerald Pfeifer2010-10-171-8/+4
| | | | | | | Discussed with: bf Notes: svn path=/head/; revision=263140
* In addition to CC and CXX now also set CPP with USE_GCC. Add the outputGerald Pfeifer2010-09-281-2/+3
| | | | | | | | | of CPP to the test-gcc target. Submitted by: bf Notes: svn path=/head/; revision=262000
* USE_FORTRAN=yes now implies lang/gcc45 up from lang/gcc44.Gerald Pfeifer2010-09-241-4/+4
| | | | | | | | | | | | cad/salome and math/freemat needed some adjustments, apart from these this looks like a far more easy upgrade than previous ones and according to the upstream developers we do not even need to bump dependent ports since GNU Fortran 4.4 and 4.5 are sufficiently compatible. Tested by: erwin (and pointyhat) Notes: svn path=/head/; revision=261805
* Remove the transparent rewriting of USE_GCC=4.3+ to USE_GCC=4.4+.Gerald Pfeifer2010-09-041-6/+0
| | | | Notes: svn path=/head/; revision=260557
* Disconnect lang/gcc43, that is, USE_GCC=4.3 is not supported any longer.Gerald Pfeifer2010-08-071-5/+2
| | | | Notes: svn path=/head/; revision=258864
* Extend and clarify the documentation for USE_GCC, making it explicitGerald Pfeifer2010-06-111-5/+5
| | | | | | | | | that the form requesting a minimum version is preferred over the one requesting just one version (as I had enhanced portlint to advise a while ago). Notes: svn path=/head/; revision=256408
* Tweak a conditional added in the previous commit that apparently causesGerald Pfeifer2010-06-061-2/+2
| | | | | | | troubles in some cases. Notes: svn path=/head/; revision=255915
* USE_GCC=4.3 is deprecated (and no port uses it anymore). USE_GCC=4.3+Gerald Pfeifer2010-06-061-1/+9
| | | | | | | | is transparently rewritten to USE_GCC=4.4+ and lang/gcc43 will be disconnected from the USE_GCC infrastructure soon. Notes: svn path=/head/; revision=255910
* Add support for early GCC 4.6 snapshots (lang/gcc46) via USE_GCC=4.6Gerald Pfeifer2010-05-021-1/+2
| | | | | | | | and USE_GCC=4.6+. This version of GCC is in its very early development stages and use thereof highly experimental. Use at your own risk. Notes: svn path=/head/; revision=253569
* Replace the use of GCC 4.3 in a comment/example by GCC 4.5 since theGerald Pfeifer2010-05-021-1/+1
| | | | | | | former will be gone soon. Notes: svn path=/head/; revision=253563
* Locate the GCC run-time libraries under ${LOCALBASE}, where the GCCGerald Pfeifer2010-02-141-2/+2
| | | | | | | | | | ports are installed/assumed, instead of ${PREFIX} where a dependent port is installed. Reported by: Rob Farmer <rfarmer@predatorlabs.net> Notes: svn path=/head/; revision=249860
* Split the logic around USE_GCC in two parts. The first handles theGerald Pfeifer2010-01-021-33/+30
| | | | | | | | | | | | | | processing of USE_GCC directives, the second then takes a concrete selection coming from the previous or the code handling USE_FORTRAN via _USE_GCC. The one user-visible change is that not just users of USE_FORTRAN, but now also users of USE_GCC set an rpath via CFLAGS and LDFLAGS. [1] PR: 129518, 142226 [1] Notes: svn path=/head/; revision=246991
* Quote the output for BUILD_DEPENDS and RUN_DEPENDS in the test-gccGerald Pfeifer2010-01-021-2/+2
| | | | | | | | target. This is necessary to properly handle dependencies such as libtool>=2.2:${PORTSDIR}/devel/libtool22. Notes: svn path=/head/; revision=246987
* Add a run-time dependency for all uses of lang/gcc* except for gcc34Gerald Pfeifer2010-01-021-1/+4
| | | | | | | | | | which is subsumbed by later versions. This is needed for libstdc++ and other core run-time libraries. PR: 129518, 142226 Notes: svn path=/head/; revision=246979
* Add support for USE_GCC=4.5 and USE_GCC=4.5+. Improve the documentationGerald Pfeifer2009-10-101-3/+4
| | | | | | | | | a bit. Suggested by: bsam Notes: svn path=/head/; revision=242631
* Have CFLAGS and LDFLAGS set an -rpath to the lang/gcc44 library directoryGerald Pfeifer2009-09-261-0/+2
| | | | | | | | | | | | | when building with USE_FORTRAN=yes. This makes us use libstdc++.so.6 (and others) brought by this port as opposed to /usr/bin/libstdc++.so.6 that comes with our system compiler which is based on an older version of GCC 4.2. Newer version of GCC run-time libraries with the same soname are always backwards compatible. Feature safe: yes Notes: svn path=/head/; revision=242113
* Also print LDFLAGS as part of the test-gcc target. Print quotes aroundGerald Pfeifer2009-09-231-2/+3
| | | | | | | | | CFLAGS and FFLAGS, too, to exactly see where we have whitespace. Feature safe: yes Notes: svn path=/head/; revision=241998
* USE_FORTRAN=yes now implies lang/gcc44 up from lang/gcc43. Remove oneGerald Pfeifer2009-09-121-8/+8
| | | | | | | | | | explicit reference to the version number on the way. Tested by: pav (and pointyhat) Thanks to: pav, everyone who helped up fixing their ports Notes: svn path=/head/; revision=241283
* Tweak some comments. The two non-whitespace changes are a fix fromGerald Pfeifer2009-07-121-5/+5
| | | | | | | | /lang/gcc43 to lang/gcc43 and removing to notes that might be seen as indicative of GCC only being needed at build time. Notes: svn path=/head/; revision=237664
* Remove support for USE_GCC=2.95 after lang/gcc295 has been failing toGerald Pfeifer2009-06-191-2/+1
| | | | | | | | build for what must be 9+ months and we have removed all dependencies the last couple of months. Notes: svn path=/head/; revision=236332
* Remove GCC 2.8 from the list of options for USE_GCC; the lang/gcc28Gerald Pfeifer2009-03-281-2/+1
| | | | | | | port has been removed a while ago and no port has USE_GCC=2.8 in use. Notes: svn path=/head/; revision=231224
* Remove support for GCC 3.3. No port in the tree uses this any longer,Gerald Pfeifer2009-03-071-2/+1
| | | | | | | and lang/gcc33 has been deprecated for a month. Notes: svn path=/head/; revision=229649
* Set CC and CXX to match the choice of GNU Fortran compilers for C andGerald Pfeifer2009-02-021-6/+15
| | | | | | | | | | | | | | | | | C++, too, to avoid subtle compatibility problems. Diagnose the case where an unexpected value is provided for USE_FORTRAN. Fix the OSVERSION for which lang/gcc34 should be used foor USE_FORTRAN=g77 according to our Porters Handbook. Add RUN_DEPENDS to the output of the test-gcc target. PR: 131114 Submitted by: bf2006a@yahoo.com Notes: svn path=/head/; revision=227417
* Add support for USE_GCC=4.4+ and remove USE_GCC=4.1+ (which is not usedGerald Pfeifer2009-01-181-2/+2
| | | | | | | by any other port at this point). Notes: svn path=/head/; revision=226351
* Fix typo.Maho Nakata2009-01-061-1/+1
| | | | | | | Submitted by: bf <bf2006a@yahoo.com> Notes: svn path=/head/; revision=225313
* Add RUN_DEPENDS as well when we specify USE_FORTRAN.Maho Nakata2009-01-061-0/+3
| | | | | | | | PR: 119052 Approved by: gerald Notes: svn path=/head/; revision=225309
* Fix whitespace to four rows per tab style, update version numbers in theGerald Pfeifer2009-01-051-7/+6
| | | | | | | | description of USE_GCC, and adjust description of USE_FORTRAN to recent changes. Notes: svn path=/head/; revision=225306
* When USE_FORTRAN is specified, add F77, FC, and FFLAGS to CONFIGURE_ENVGerald Pfeifer2009-01-051-1/+2
| | | | | | | too, not just MAKE_ENV. Notes: svn path=/head/; revision=225294
* Update USE_FORTRAN=yes to leverage lang/gcc43 instead of lang/gcc42Gerald Pfeifer2009-01-051-5/+5
| | | | | | | | | and remove USE_FORTRAN=gfortran42 which is not used by any port anyway. PR: 129656 Notes: svn path=/head/; revision=225279
* Remove support for GCC 2.7 (the lang/gcc27 port) which, as it turns out,Gerald Pfeifer2008-08-171-2/+1
| | | | | | | had been removed from ports three years ago. Notes: svn path=/head/; revision=218716
* Remove support for GCC 3.2 which is not used by a port anymore (andGerald Pfeifer2008-08-161-2/+1
| | | | | | | | where we'll shortly remove lang/gcc32 which does not support amd64, for example). Notes: svn path=/head/; revision=218687
* - Add CC and CXX to MAKE_ENV for all portsPav Lucistnik2008-07-241-2/+0
| | | | | | | PR: ports/86106, ports/101120 (based on) Notes: svn path=/head/; revision=217446
* Provide the test-gcc target and at least key information there even ifGerald Pfeifer2008-06-281-3/+9
| | | | | | | | USE_GCC has not been specified. This is relevant for USE_FORTRAN, but should be useful in general. Notes: svn path=/head/; revision=215891
* Add support for GCC 4.3 (lang/gcc43), to be enabled by USE_GCC=4.3+.Gerald Pfeifer2008-05-051-1/+2
| | | | | | | No objections by: portmgr (linimon, marcus, erwin) Notes: svn path=/head/; revision=212695
* Remove lang/gcc40 which only has three dependencies left in the treeGerald Pfeifer2007-11-051-2/+1
| | | | | | | | | | (all of which only have it as a minimal requirement and also build with lang/gcc42) and has issues on at least 8-CURRENT. Approved by: portmgr (pav) Notes: svn path=/head/; revision=202527
* - Pass FFLAGS to make when USE_FORTRAN is set [1]Pav Lucistnik2007-07-271-4/+6
| | | | | | | | | | | | | - Fix detection of i386 libs on amd64/ia64 [2] - Make IGNORE messages show as a real sentences [3] - Make COPYTREE_* work under unpriviledged user [4] PR: ports/112203 [2], ports/114329 [3], ports/113425 Submitted by: gerald [1], Scot Hetzel <swhetzel@gmail.com> [2], danfe [3], Dmitry Marakasov <amdmi3@amdmi3.ru> [4] Notes: svn path=/head/; revision=196427
* Add USE_FORTRAN knob. All ports that use FORTRAN shouldMaho Nakata2007-07-121-22/+54
| | | | | | | | | use this knob. Approved by: gerald, portmgr (pav) Notes: svn path=/head/; revision=195443
* Recognize gcc42 in 7-CURRENT basePav Lucistnik2007-05-191-2/+2
| | | | | | | Approved by: portmgr (implicit) Notes: svn path=/head/; revision=191552