Commit graph

26 commits

Author SHA1 Message Date
richard
1b2181da49 x86-64 sunos fix for g++ and -Wl,-Bdirect involving libtool
references:http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16452
and http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59788

backport to gcc47 and gcc48
2014-05-10 14:14:58 +00:00
richard
ebbc151c5b fix -specs for ccache 2013-08-15 06:48:50 +00:00
jperkin
55eb823418 Revert part of previous, GCC_TARGET_MACHINE must be used so that, when set by
the user, the runtime directory is in sync between the main gcc package and
the gcc-libs package.

Bump PKGREVISIONs.
2013-06-21 09:40:47 +00:00
jperkin
2e3912cd0a Update variable names to match those in the buildlink3.mk files, and to avoid
any possible clashes with the main gcc packages.

If you were previously using GCC_TARGET_MACHINE to configure the location to
the runtime libraries, you should update it to LIBGCC_TARGET_MACHINE.

Bump PKGREVISIONs.
2013-06-14 09:01:41 +00:00
jperkin
c8ae46418d When using USE_PKGSRC_GCC_RUNTIME, do not add an rpath for the main GCC libs. 2013-06-14 08:53:26 +00:00
jperkin
046b3ac2ed Don't override gcc variables, use ones specific to gcc-libs.
Avoids issue with USE_PKGSRC_GCC_RUNTIME where the gcc48 package would
end up installing to gcc47's prefix.
2013-06-13 10:39:43 +00:00
adam
8e8d2f2604 Changes 4.7.3:
http://gcc.gnu.org/gcc-4.7/changes.html
2013-04-24 14:31:50 +00:00
sbd
d5de776ce7 Rename GCC_DIST_VERSION to GCC47_DIST_VERSION in lang/gcc47 and lang/gcc47-libs. 2013-04-18 07:58:33 +00:00
rodent
b65af7be2b Remove "Trailing empty lines." and/or "Trailing white-space." 2013-04-08 11:17:08 +00:00
rodent
a0a1f2e57c 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
827d3fd67a Enable Go support on SunOS.
Bump PKGREVISIONs.
2013-04-02 09:57:51 +00:00
jperkin
ce09ad1d61 Bump PKGREVISION of gcc47 packages for recent changes. 2013-03-01 15:24:41 +00:00
jperkin
591f728342 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
6a36a7ed01 When using USE_PKGSRC_GCC_RUNTIME ensure the gcc47-libs runtime comes first. 2013-03-01 15:03:25 +00:00
jperkin
cdd0f490af 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
f044db568e lang/gcc47: Fix DragonFly c++ iostream bug 2013-01-31 20:07:17 +00:00
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