Commit graph

10 commits

Author SHA1 Message Date
jperkin
1eed8c4bcc When using USE_PKGSRC_GCC_RUNTIME, ensure the fortran wrapper uses the
custom specs file too, so that the correct runtime is used.
2013-01-02 22:55:09 +00:00
sbd
3d3af75c07 Update to GCC 4.7.2
GCC 4.7.2 is the first bug-fix release containing important fixes
  for regressions and serious bugs in GCC 4.7.1 with over 70 bugs
  fixed since the previous release.

  A notable change in GCC 4.7.2 compared to 4.7.1 are ABI bug fixes
  related to some C++11 templates (std::list and std::pair).  As a result,
  code using those templates in C++11 mode is again ABI compatible with
  code in C++03/C++98 mode or C++11 mode of GCC 4.6 and earlier, but might
  be ABI incompatible with code compiled by GCC 4.7.1 or 4.7.0 in C++11
  mode.  See http://gcc.gnu.org/gcc-4.7/changes.html for more details.

  This is the list of problem reports (PRs) from GCC's bug tracking system
  that are known to be fixed in this release. This list might not be complete
  (that is, it is possible that some PRs that have been fixed are not listed
  here).
  http://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.7.2
2012-12-01 02:29:32 +00:00
jperkin
e132993b08 Bump PKGREVISION twice, once because it was not done correctly the last time
lang/gcc47 was bumped, and again for the most recent bump.
2012-11-20 23:15:08 +00:00
asau
88feb4ac62 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-02 20:11:34 +00:00
sbd
4fce415c4e Instead of using the 'gcc -dumpmachine' output for the target machine
directory name used the new GCC_TARGET_MACHINE build define which is
${MACHINE_GNU_PLATFORM} by default and already used in
gcc47-libs/buildlink3.mk.

s/${TARGET_TRIPLE}/${GCC_TARGET_MACHINE}/

Note that because the default for GCC_TARGET_MACHINE _should_ be the
same as the 'gcc -dumpmachine' output theres no need for a revbump.
2012-09-26 10:27:47 +00:00
sbd
55474f7bf2 Change the ${_GCC_REQD} reference to fix version number '4.7.0', as this
is the minimum version for gcc47 and gcc47-libs.

Remove BUILDLINK_ABI_DEPENDS.gcc47-libs as its now redundant.

This fixes the case where USE_PKGSRC_GCC_RUNTIME=yes and gcc-aux is needed
(In that case _GCC_REQD is 20120614, the version number of gcc-aux) as
pointed out by Jonathan Perkin.
2012-09-25 06:43:42 +00:00
sbd
f6ef8cf5cc Add a buildlink3.mk for use with USE_PKGSRC_GCC_RUNTIME.
XXX: Using %M requires patched version of gcc (e.g. lang/gcc47)

Base on work by Jonathan Perkin.
2012-09-15 10:30:39 +00:00
sbd
b32b272f99 Only get the gcc machine if gcc exists 2012-09-15 08:10:20 +00:00
sbd
4084a1e6e6 Add '-q' to the grep command in GENERATE_PLIST. 2012-09-14 04:37:17 +00:00
sbd
e8c9d4ba21 Create the gcc47-libs package.
This package contains _just_ the shared libraries from gcc47 that programs
compiled with gcc need at runtime so that the entire gcc47 package does not
have to be install.

Because multiple packages cannot be build from the same PKGDIR and building
components of gcc separately is problematic this package is build using a
a couple of "cheap tricks":

1) gcc47 is built as before (including the libraries) but with a second
   RPATH compiled in to all programs.

2) This package has a BUILD_DEPENDS on lang/gcc47 and simply copies the
   shared libraries (except the java ones) to the second RPATH location
   (so as to not have conflicts with lang/gcc47).

3) When adding a runtime dependence the pattern '{gcc47,gcc47-libs}>=4.7.*'
   is used (i.e. the full gcc47 OR the gcc47-libs package can be used).

4) So that when a package that has the above dependence is installed
   pkg_add will, if neither gcc47 or gcc47-libs is installed, automatically
   install gcc47-libs the PKGREVISION of gcc47-libs should all ways be
   bumped so that it is at least 1 more than that of the lang/gcc47
   package. (With a note in this packages Makefile and one to be placed
   in lang/gcc47's Makefile.)
2012-09-13 10:04:33 +00:00