Commit graph

77 commits

Author SHA1 Message Date
wiz
93b46879c7 Recursive bump for perl5-5.28.0 2018-08-22 09:43:40 +00:00
wiz
58a2a977a7 recursive bump after mpfr shlib major bump 2018-01-28 16:24:10 +00:00
maya
aa939c1da0 Fix build with newer texinfo (same patch as some newer GCC versions)
From mmoll via github
2017-07-16 19:26:26 +00:00
sevan
48b17812da Do not build with the gcc-java enabled by default.
Add a comment to note the removal of option.
Discussed on pkgsrc-users@
http://mail-index.netbsd.org/pkgsrc-users/2016/09/29/msg023796.html
2016-09-30 13:16:59 +00:00
wiz
2b0a009d0e Bump PKGREVISION for perl-5.24.0 for everything mentioning perl. 2016-07-09 06:37:46 +00:00
jperkin
db1332a441 Use OPSYSVARS. 2016-02-25 14:42:55 +00:00
jperkin
ac56158090 Attempt to bring sanity to how ABI and MACHINE_ARCH are set.
Previously there were at least 5 different ways MACHINE_ARCH could be set,
some statically and some at run time, and in many cases these settings
differed, leading to issues at pkg_add time where there was conflict
between the setting encoded into the package and that used by pkg_install.

Instead, move to a single source of truth where the correct value based on
the host and the chosen (or default) ABI is determined in the bootstrap
script.  The value can still be overridden in mk.conf if necessary, e.g.
for cross-compiling.

ABI is now set by default and if unset a default is calculated based on
MACHINE_ARCH.  This fixes some OS, e.g. Linux, where the wrong default was
previously chosen.

As a result of the refactoring there is no need for LOWER_ARCH, with
references to it replaced by MACHINE_ARCH.  SPARC_TARGET_ARCH is also
removed.
2016-01-24 16:14:44 +00:00
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
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
prlw1
c77368e5a7 Fix for PR pkg/48683 based on a hint from wiz@. 2014-08-12 08:33:31 +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
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
pho
c1745c39c5 Add a comment to patches/patch-ac 2014-05-15 22:56:02 +00:00
pho
4282257459 PR pkg/48740 - Fix problems 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-ac:
  Remove the whitespace between $(LINKER_RPATH_FLAG) and the path.
  Otherwise the flag may be misinterpreted by linker (e.g. Apple's ld)
2014-05-15 22:53:46 +00:00
richard
76d22b20ba Backpatch tweaks to support pkgsrc gtexinfo v5 2014-05-06 15:28:16 +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
ff77b1c9f0 Deal with the 16bit ctype table move in NetBSD/current. Fix some cases
of ctype.h argument range errors.
2013-04-29 21:34:48 +00:00
rodent
1a6dc952b9 "For efficiency reasons, please include bsd.fast.prefs.mk instead of
bsd.prefs.mk."
2013-04-06 11:06:52 +00:00
joerg
53cb8f8c79 Fix build with clang. 2013-03-02 18:05:01 +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
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
hans
2edb9e3bc4 Make gcc-inplace-math work with new mpfr.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51935
2012-05-03 12:20:18 +00:00
hans
563f104ea1 Add option gcc-inplace-math to allow building devel/gmp and math/mpfr
along with gcc, as described at http://gcc.gnu.org/install/prerequisites.html
2012-04-13 11:01:32 +00:00
hans
cd8d0dd7d0 Move ICONVPREFIX definiton to nls option. 2012-04-13 10:35:38 +00:00
sbd
ff6500bafe Revert the below commit as it has been decided that plus (+) characters are
allowed in option names (pkglint has been updated).

---
   Module Name:	pkgsrc
   Committed By:	sbd
   Date:		Wed Apr  4 22:18:30 UTC 2012

   Modified Files:
	   pkgsrc/lang/gcc44: options.mk

   Log Message:
   Rename option "gcc-c++" to "gcc-cpp" (with legacy support) as pkglint
   complains with: "gcc-c++" is not a valid option name.


   To generate a diff of this commit:
   cvs rdiff -u -r1.7 -r1.8 pkgsrc/lang/gcc44/options.mk
2012-04-08 05:04:36 +00:00
sbd
95fdb648cd Rename option "gcc-c++" to "gcc-cpp" (with legacy support) as pkglint
complains with: "gcc-c++" is not a valid option name.
2012-04-04 22:18:29 +00:00
sbd
a2caee59e7 Update to GCC 4.4.7
GCC 4.4.7 is a bug-fix release containing fixes for regressions and serious
bugs in GCC 4.4.6.  This release marks the end of the maintainance of
the GCC 4.4 series.

This is the list of problem reports (PRs) from GCC's bug tracking system
that are known to be fixed in the 4.4.7 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.6.2
2012-03-15 07:43:30 +00:00
sbd
04dc8f8acb More dragonfly cleanup. 2012-03-15 07:25:12 +00:00
sbd
f25b10940e As this package is marked NOT-FOR-DRAGONFLY remove dragonfly patches
and pre-configure.

Also remove MESSAGE_SUBST.
2012-03-15 06:52:07 +00:00
sbd
315419e0d6 Pickup maintainership of gcc4 series packages.
This means I will also take care of adding newer gcc version.
2012-03-15 06:45:26 +00:00
sbd
4211aa7f38 Remove the gcc4X/preconfigure.mk files, they are unused and obsolete. 2012-03-12 08:27:45 +00:00
sbd
ee982b7f81 Remove the MESSAGE files from gcc34 and gcc4X, the messages is VERY outdated! 2012-03-12 08:23:54 +00:00
wiz
95cbf41c3d Reset maintainer. 2012-02-24 17:35:13 +00:00
hans
26ead14b79 Remove old BUILDLINK_FNAME_TRANSFORM, which seems to have been
cargo-culted from an older gcc package directly installing into
/usr/pkg. Add include/ to buildlinked files.
2012-02-01 21:17:05 +00:00
hans
2021c0e11b Convert to USE_TOOLS=zip. 2012-01-14 02:09:35 +00:00
wiz
4273ae52ab Use COMPILER_RPATH_FLAG instead of -Wl,-R.
Fixes OS X build.
From Kai-Uwe Eckhardt.
2011-12-22 14:14:22 +00:00
marino
5e33de4765 lang/gcc44: Mark NOT-FOR-DRAGONFLY
This package has never built on DragonFly, but it really is not needed as
the base compiler is gcc 4.4.7.  The sole package (databases/libcassandra)
that required lang/gcc44 was just changed to remove this requirement when
built on DragonFly.  This compiler is not worth the effort to fix for
DragonFly.
2011-11-29 19:14:53 +00:00
hans
fa4bea3173 Add the workaround for SunOS x86 ld bug that breaks .init sections.
Without it, programs using .init sections will just segfault. The
workaround comes from http://www.openssl.org/~appro/values.c

Tested on 5.10, not needed on 5.11.
2011-10-12 16:10:48 +00:00
hans
e3968cf780 To decide whether the visibility attribute can be supported on SunOS,
configure needs objdump.
2011-10-12 15:48:40 +00:00
hans
881258c0be Fix build on SunOS 5.10 2011-10-04 14:06:47 +00:00
hans
06a6e9438d When not using the GNU linker, gcc will always link shared libraries
against the shared version of libgcc. Always enable _USE_GCC_SHILB on
platforms that don't use the GNU linker, such as SunOS.
2011-07-14 19:54:55 +00:00
hans
25d90fe735 Reduce the dependencies on tools: bison, flex and gm4 are not really
needed to build gcc.
2011-07-14 12:52:35 +00:00
hans
282b6f9d10 Move option-specific dependencies, tools and variables to their
respective options. Reduces dependencies when not building C++ or Java.
2011-07-13 13:25:17 +00:00
hans
b1ea5cab48 Prefix the gcc options with gcc- and add descriptions for each option.
Requested by wiz.
2011-07-13 13:13:43 +00:00
hans
419086121e Use the options framework to select which language frontends to build
besides C. Just as before, the default is to build c++, java, fortran
and objc. Option java implies option c++.
2011-07-12 18:05:58 +00:00
wiz
1db7011fa5 Update to 4.4.6, from Kai-Uwe Eckhardt.
This is the list of problem reports (PRs) from GCC's bug tracking
system that are known to be fixed in the 4.4.6 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.4.6
2011-07-11 23:26:32 +00:00