Commit graph

61 commits

Author SHA1 Message Date
jperkin
842c8f3479 Remove mk/find-prefix.mk usage from the lang category.
The find-prefix infrastructure was required in a pkgviews world where
packages installed from pkgsrc could have different installation
prefixes, and this was a way for a dependency prefix to be determined.

Now that pkgviews has been removed there is no longer any need for the
overhead of this infrastructure.  Instead we use BUILDLINK_PREFIX.pkg
for dependencies pulled in via buildlink, or LOCALBASE/PREFIX where the
dependency is coming from pkgsrc.

Provides a reasonable performance win due to the reduction of `pkg_info
-qp` calls, some of which were redundant anyway as they were duplicating
the same information provided by BUILDLINK_PREFIX.pkg.
2015-11-25 12:51:16 +00:00
agc
54622f28e2 Add SHA512 digests for distfiles for lang category
Problems found with existing digests:
	Package nhc98 distfile nhc98src-1.22.tar.gz
	a8adc8f22371998ee0657bc0e01058a57d876abc [recorded]
	81975fcb5f1dda5efeaabc30ce8c6dceae55e591 [calculated]

Problems found locating distfiles:
	Package gcc-aux: missing distfile ada-bootstrap.i386.dragonfly.36A.tar.bz2
	Package gcc-aux: missing distfile ada-bootstrap.i386.freebsd.84.tar.bz2
	Package gcc-aux: missing distfile ada-bootstrap.x86_64.dragonfly.36A.tar.bz2
	Package gcc-aux: missing distfile ada-bootstrap.x86_64.freebsd.84.tar.bz2
	Package gcc-aux: missing distfile ada-bootstrap.x86_64.solaris.511.tar.bz2
	Package gcc5-aux: missing distfile ada-bootstrap.i386.dragonfly.36A.tar.bz2
	Package gcc5-aux: missing distfile ada-bootstrap.i386.freebsd.84.tar.bz2
	Package gcc5-aux: missing distfile ada-bootstrap.x86_64.dragonfly.36A.tar.bz2
	Package gcc5-aux: missing distfile ada-bootstrap.x86_64.freebsd.84.tar.bz2
	Package gcc5-aux: missing distfile ada-bootstrap.x86_64.solaris.511.tar.bz2
	Package ghc7: missing distfile ghc-7.6.3-boot-i386-unknown-freebsd.tar.xz
	Package icc11: missing distfile l_cproc_p_11.1.080.tgz
	Package jini: missing distfile jini-1_2_1_001-src.zip
	Package oo2c: missing distfile oo2c_32-2.0.11.tar.bz2
	Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-freebsd-10-amd64-20150301.tar.xz
	Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-5-i386-20150301.tar.xz
	Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-6-i386-20150301.tar.xz
	Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-7-earmv6hf-20150306.tar.xz
	Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-7-sparc64-20150301.tar.xz
	Package openjdk7: missing distfile openjdk7/bootstrap-jdk7u60-bin-dragonfly-3.8-amd64-20140719.tar.bz2
	Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-freebsd-10-amd64-20150301.tar.xz
	Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-5-i386-20150301.tar.xz
	Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-6-i386-20150301.tar.xz
	Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-7-earmv6hf-20150306.tar.xz
	Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-7-sparc64-20150301.tar.xz
	Package openjdk8: missing distfile openjdk7/bootstrap-jdk7u60-bin-dragonfly-3.8-amd64-20140719.tar.bz2
	Package oracle-jdk8: missing distfile jdk-8u60-linux-i586.tar.gz
	Package oracle-jdk8: missing distfile jdk-8u60-solaris-x64.tar.gz
	Package oracle-jre8: missing distfile jre-8u60-linux-i586.tar.gz
	Package oracle-jre8: missing distfile jre-8u60-solaris-x64.tar.gz
	Package sun-jdk6: missing distfile jdk-6u45-linux-i586.bin
	Package sun-jdk6: missing distfile jdk-6u45-solaris-i586.sh
	Package sun-jdk7: missing distfile jdk-7u72-linux-i586.tar.gz
	Package sun-jdk7: missing distfile jdk-7u72-solaris-i586.tar.gz
	Package sun-jre6: missing distfile jce_policy-6.zip
	Package sun-jre6: missing distfile jre-6u45-linux-x64.bin
	Package sun-jre6: missing distfile jre-6u45-solaris-x64.sh
	Package sun-jre7: missing distfile jre-7u72-linux-i586.tar.gz
	Package sun-jre7: missing distfile jre-7u72-solaris-i586.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-03 22:50:31 +00:00
jperkin
77d72fae74 Skip shlibs check for libgcj_bc.so, a "fake" library used at link time
only.  Fixes build on Linux.
2015-10-20 10:26:40 +00:00
jperkin
9ec65c7380 Backport dsainty's gcc48 fix to gcc47.
The ${PREFIX}/include/ansidecl.h installed by devel/binutils is not
necessarily compatible (E.g. binutils-2.25 does not define PARAMS).  Adjust
the include path priority so the internal ansidecl.h gets precedence, allowing
cp-demangle.c to use libiberty.h without compilation errors.
2015-06-19 09:05:11 +00:00
rodent
cd7b5f5433 Same deal here as lang/gcc48. Set GCC_REQD+=4.4, as the packages needs
omp_lock_t and gcc-4.2 doesn't provide that.
2015-04-10 01:50:32 +00:00
ryoon
55582ea4c9 Update to 4.7.4
* Reset gcc47-libs' PKGREVISION to 1

Changelog:
* Bugfixes.
2015-03-12 14:53:13 +00:00
jperkin
a2d70e4426 Replace all references to _GCC_REQD with the appropriate logical value for
each GCC version.  Using the variable causes impossible version constraints
when a specific GCC is depended upon but the user is using something newer,
as _GCC_REQD will be set to the higher value.
2014-09-06 08:20:28 +00:00
jperkin
48c5ff09b7 Don't pass --enable-__cxa_atexit on SunOS, it is only available in newer
illumos releases and appears to cause issues there, seen most clearly in
qt3 uic segfaults.

Bump PKGREVISION of both gcc47 and gcc47-libs, gcc47-libs by more than one
as it has lagged behind and must be kept ahead of gcc47.
2014-07-24 12:43:20 +00:00
wiz
7eeb51b534 Bump for perl-5.20.0.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
2014-05-29 23:35:13 +00:00
pho
33d6ce140f Fix issues on Darwin
Makefile:
  See ${WRKSRC}/libgcc/config/t-slibgcc-darwin: It uses strip(1) to
  create a stub library, not just to remove symbols, so we must not
  let strip(1) be a no-op regardless of ${INSTALL_UNSTRIPPED} or the
  build fails for missing files.

patches/patch-libgcc_config_t-slibgcc-darwin:
  If we don't install libgcc_s.10.[45].dylib, our gcc links binaries
  with *both* /usr/lib/libgcc_s.1.dylib and
  ${GCC_PREFIX}/lib/libgcc_s.1.dylib, which is certainly a bad thing.

patches/patch-libjava_Makefile.in:
  Tell libtool the fact that libjvm.so is a module to be opened with
  dlopen(3). This is actually needed on Mach-O systems like Darwin.
2014-05-20 01:59:05 +00:00
wiz
3faf991a33 Bump applications PKGREVISIONs for python users that might be using
python3, since the default changed from python33 to python34.

I probably bumped too many. I hope I got them all.
2014-05-17 16:10:41 +00:00
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
wiz
e61e1fe81a Use better gfortran patch from Kai-Uwe Eckhardt in PR 48512.
Bump PKGREVISION.
gcc47-libs PKGREVISION still higher, so no PKGREVISION bump needed there.
2014-01-14 19:16:52 +00:00
wiz
89998420b9 Disable gethostbyname_r detection on NetBSD to make this build on 6.99.23. 2013-08-22 22:07:52 +00:00
wiz
d2ca14a3f1 Bump all packages for perl-5.18, that
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package

Like last time, where this caused no complaints.
2013-05-31 12:39:57 +00:00
joerg
6af31a2ca7 Apply _CTYPE_BL fixes to gcc47 and gcc48. 2013-05-22 13:14:19 +00:00
wiz
9227d46e84 Restore checksum for ecj-4.5.jar (hi adam!) 2013-04-25 10:54:40 +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
66b67e72fa In some cases LINKER_RPATH_FLAG needs a trailing space so that there will be
a space between the flag and its argument.
2013-04-21 08:56:34 +00:00
sbd
678e6177db In LINK_LIBGCC_SPEC remove the space between LINKER_RPATH_FLAG and its
argument.
2013-04-21 08:55:19 +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
jperkin
827d3fd67a Enable Go support on SunOS.
Bump PKGREVISIONs.
2013-04-02 09:57:51 +00:00
wiz
660e8a9764 Readd i386 fix, but for Linux and NetBSD only.
Ok jperkin.
2013-03-23 19:10:45 +00:00
wiz
60ba6c1ca0 Revert previous. While it may fix NetBSD, it breaks SmartOS. 2013-03-21 22:47:24 +00:00
wiz
67fc9dcfad On i386, set arch and tuning. Should address PR 47460.
Patch from Kai-Uwe Eckhardt <kai-uwe.eckhardt@uni-rostock.de>.
2013-03-21 11:17:11 +00:00
jperkin
ce09ad1d61 Bump PKGREVISION of gcc47 packages for recent changes. 2013-03-01 15:24:41 +00:00
jperkin
d61d882d2e Add GCC_TARGET_MACHINE, defaulting to MACHINE_GNU_ARCH, and use it in
preference to target_noncanonical so that the user can override if
required, e.g. in a multilib environment where target_noncanonical will
change based on current ABI.

Additionally, ensure that it comes first in the RPATH so that when
using USE_PKGSRC_GCC_RUNTIME with in-pkgsrc gcc we pick up the correct
libraries.
2013-03-01 15:22:25 +00:00
adam
751378b377 Fixed building on Darwin; pkglint cosmetics 2013-02-05 07:12:23 +00:00
hans
877500f25b Revert previous, jperkin says it's wrong. 2013-01-31 23:34:21 +00:00
hans
029d1a3152 Always set _USE_GCC_SHLIB on SunOS, just like the older versions of gcc do. 2013-01-31 23:12:53 +00:00
marino
f044db568e lang/gcc47: Fix DragonFly c++ iostream bug 2013-01-31 20:07:17 +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
a60e55dabc Use the canonical path to GNU as.
Bump PKGREVISION.
2012-11-20 23:13:11 +00:00
joerg
cb2b2cb68d Solaris ld accepts -rpath/foo/bar, but not -rpath=/foo/bar.
GNU ld accepts -rpath=/foo/bar, but not -rpath/foo/bar.
Both accept -rpath /foo/bar, so use that.
2012-11-16 01:03:54 +00:00
wiz
8b5d49eb78 Bump all packages that use perl, or depend on a p5-* package, or
are called p5-*.

I hope that's all of them.
2012-10-03 21:53:53 +00:00
asau
88feb4ac62 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-02 20:11:34 +00:00
sbd
5bdfe611d6 Change comment to give the svn id where the patch was commited to the gcc tree. 2012-09-15 07:41:23 +00:00
sbd
5a39b2214b Move the setting of _USE_GCC_SHLIB=yes on SunOS from the gcc buildlink3 to
mk/compiler/gcc.mk
2012-09-13 10:17:14 +00:00
sbd
e90a856ee2 Add a note about the PKGREVISION number and lang/gcc47-libs 2012-09-13 10:11:50 +00:00
sbd
f348ada677 When buildlinking with lan/gcc47 add a build dependence on lang/gcc47 and
when needed a runtime dependence on {gcc47,gcc47-libs}.
2012-09-13 10:11:02 +00:00
sbd
9fa035a5c5 Add "$(prefix)/$(target_noncanonical)/lib/%M" to the RPATH gcc adds to
all programs and shared libraries.

Bump PKGREVISION.
2012-09-13 07:19:11 +00:00
sbd
9bd9a459da Always use dlopen and pthread. 2012-08-20 07:22:09 +00:00
sbd
49b027f60f Set BUILDLINK_PKGSRCDIR usnig '=' not '?=' and correct a comment. 2012-08-20 07:19:12 +00:00
jperkin
038e8425d3 Update binutils detection on Solaris to match current reality. 2012-07-23 12:47:55 +00:00
marino
0aad19bbd7 lang/gcc47: Fix DragonFly32 floating point handling
Like i386-FreeBSD, the i386-DragonFly floating point unit uses a 53-bit
mantissa.  GCC uses the TARGET_96_ROUND_53_LONG_DOUBLE macro to know
which platforms behave this way.

Unfortunately, setting this macro to 1 breaks precision on Ada, and
leaving it at 0 breaks precision on c/c++ long double handling.  However
lang/gcc47 likely will never support Ada, so we'll favor c/c++.  This
is only an issue for i386; the setting on x86_64 should be zero as it
uses 64-bit precision.
2012-07-12 13:47:23 +00:00
marino
8dc22a22b0 lang/gcc47: Add support for DragonFly
GCC47 was marked NOT-FOR-DRAGONFLY, so support has been added.

* DragonFly-specific files added via patch mechanism
* Some existing patches modified to add DragonFly configuration items
* dl_iterate_phdr error handling support added (FreeBSD support was altered,
  NetBSD and OpenBSD support is commented out)
* The java language is taken off as a default option

On the i386 platform, the compiler will build from a full bootstrap, but
one of the later stages fails on x86_64.  It fails to find libstdc++.so.6
even though the previous stage library was built and -B, -L flags point
to it.  The cause of the platform-specific build failure isn't clear --
The workaround is to disable the bootstrap on DragonFly so that the compiler
is built in one stage instead of three.  This workaround could have been
limited to the x86_64-DragonFly platform only, but currently is applied to
i386-DragonFly too.
2012-06-23 22:13:02 +00:00
marino
01f8ecf080 lang/gcc47: Update distinfo due to prior commit
The netbsd/ctype_base.h patch was added in the previous update without
adding a new entry to distinfo.
2012-06-22 03:52:26 +00:00
joerg
6855a2cecb Redo netbsd/ctype_base.h patch to not pollute the namespace as much with
sys/param.h.
2012-06-08 15:42:28 +00:00
dholland
7e751949e4 Set BUILDLINK_ABI_DEPENDS correctly (with +=, not ?=)
It turns out there were a lot of these.
2012-05-07 01:53:12 +00:00
joerg
50814e8914 Fix PLIST on !Linux 2012-05-05 22:15:06 +00:00