Commit graph

20 commits

Author SHA1 Message Date
adam
8deed38c45 Changes 4.7.3:
http://gcc.gnu.org/gcc-4.7/changes.html
2013-04-24 14:31:50 +00:00
sbd
d78d7e09d8 Rename GCC_DIST_VERSION to GCC47_DIST_VERSION in lang/gcc47 and lang/gcc47-libs. 2013-04-18 07:58:33 +00:00
rodent
2ab539dcf6 Remove "Trailing empty lines." and/or "Trailing white-space." 2013-04-08 11:17:08 +00:00
rodent
b0587df2a1 Fixes:
COMMENT should not be longer than 70 characters.
 COMMENT should not begin with 'A'.
 COMMENT should not begin with 'An'.
 COMMENT should not begin with 'a'.
 COMMENT should not end with a period.
 COMMENT should start with a capital letter.

pkglint warnings. Some files also got minor formatting, spelling, and style
corrections.
2013-04-06 03:45:05 +00:00
jperkin
2613c8dac1 Enable Go support on SunOS.
Bump PKGREVISIONs.
2013-04-02 09:57:51 +00:00
jperkin
68b4e8e81c Bump PKGREVISION of gcc47 packages for recent changes. 2013-03-01 15:24:41 +00:00
jperkin
711a6d4e86 When using USE_PKGSRC_GCC_RUNTIME ensure that we explicitly depend upon the
gcc47-libs package rather than relying on the PKGREVISION bump to pick it up.

This resolves some issues where we were seeing gcc47 picked as the dependency
instead of gcc47-libs.
2013-03-01 15:06:09 +00:00
jperkin
61e094b798 When using USE_PKGSRC_GCC_RUNTIME ensure the gcc47-libs runtime comes first. 2013-03-01 15:03:25 +00:00
jperkin
540cc642a3 Don't exclude this file being used when also using lang/gcc47/buildlink3.mk
This allows USE_PKGSRC_GCC_RUNTIME to be used with the in-pkgsrc compiler.
2013-03-01 15:02:00 +00:00
marino
cf0b5b498e lang/gcc47: Fix DragonFly c++ iostream bug 2013-01-31 20:07:17 +00:00
jperkin
ed8c0b8122 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
8c9c7335fe 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
21eddd9bc6 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
03b2363e06 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-02 20:11:34 +00:00
sbd
531f0df4fb 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
8cf58b1728 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
5a5aea851b 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
f7355982e6 Only get the gcc machine if gcc exists 2012-09-15 08:10:20 +00:00
sbd
b23bd41600 Add '-q' to the grep command in GENERATE_PLIST. 2012-09-14 04:37:17 +00:00
sbd
a3087db605 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