Commit graph

29 commits

Author SHA1 Message Date
grant
cc93c4acd8 remove some empty directories in post-install, so we do not create a
broken binary pkg.
2003-06-05 16:01:41 +00:00
jschauma
81e56aa315 The fastjar.info page covering 'jar' and 'grepjar' is also installed. 2003-06-05 00:26:02 +00:00
yyamano
c587e073bb Add missing "+".
Pointed out by Kouichirou Hiratsuka on tech-pkg-ja mailinglist.
2003-06-02 15:57:47 +00:00
jschauma
e366d0c694 Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.
Should anybody feel like they could be the maintainer for any of thewe packages,
please adjust.
2003-06-02 01:15:31 +00:00
grant
712c21283a s/USE_CXX/USE_GCC_SHLIB/ - there are more shared libraries than just
libstdc++ in gcc3.

when defined, USE_GCC_SHLIB ensures that the correct rpath is passed
to the linker, and a full dependency on the compiler package is
registered.

packages which define USE_GCC_SHLIB should not include
mk/gcc.buildlink2.mk (or gcc{,3}/buildlink2.mk) as it is handled
automatically.
2003-05-29 23:14:07 +00:00
grant
60d629fbd6 grammar fix in comment 2003-05-28 13:24:35 +00:00
grant
4b8148e743 define USE_GCC3, so that when this file is included, we use gcc3's
buildlink files.
2003-05-27 07:12:34 +00:00
grant
cbe64e803d add a buildlink2.mk for gcc-3.3. 2003-05-27 06:55:15 +00:00
jschauma
c3828425aa Apply patch provided by Todd Vierling in PR pkg/21227 to remove build-dependency
on bison, which is not necessary.
2003-05-26 20:39:10 +00:00
jdolecek
92b48d8592 use the tar.bz2 archive, it's 8MB smaller than .tar.gz
add UNLIMIT_RESOURCES=datasize, which appears to be necessary to compile
the package
2003-05-25 20:44:26 +00:00
grant
a57e65f403 file missed in last commit 2003-05-25 17:52:31 +00:00
grant
368e613496 Updated gcc3 to 3.3.
Tested on NetBSD-current and Solaris 9.

Caveats

    * The preprocessor no longer accepts multi-line string literals.
      They were deprecated in 3.0, 3.1, and 3.2.
    * The preprocessor no longer supports the -A- switch when appearing
      alone. -A- followed by an assertion is still supported.
    * Support for all the systems obsoleted in GCC 3.1 has been removed
      from GCC 3.3.
    * Checking for null format arguments has been decoupled from the rest
      of the format checking mechanism. Programs which use the format
      attribute may regain this functionality by using the new nonnull
      function attribute. Note that all functions for which GCC has a
      built-in format attribute, an appropriate built-in nonnull attribute
      is also applied.
    * The DWARF (version 1) debugging format has been deprecated and will
      be removed in a future version of GCC. Version 2 of the DWARF
      debugging format will continue to be supported for the foreseeable
      future.
    * The C and Objective-C compilers no longer accept the "Naming Types"
      extension (typedef foo = bar); it was already unavailable in C++.
      Code which uses it will need to be changed to use the "typeof"
      extension instead: typedef typeof(bar) foo. (We have removed this
      extension without a period of deprecation because it has caused
      the compiler to crash since version 3.0 and no one noticed until
      very recently. Thus we conclude it is not in widespread use.)
    * The -traditional C compiler option has been removed. It was
      deprecated in 3.1 and 3.2. (Traditional preprocessing remains
      available.) The <varargs.h> header, used for writing variadic
      functions in traditional C, still exists but will produce an error
      message if used.

New Targets and Target Specific Improvements [trimmed for length and
relevance to NetBSD]

    * The SPARC, HP-PA, SH4, and x86/pentium ports have been converted
      to use the DFA processor pipeline description.
    * The following NetBSD configurations for the SuperH processor family
      have been added:
          o SH3, big-endian, sh-*-netbsdelf*
          o SH3, little-endian, shle-*-netbsdelf*
          o SH5, SHmedia, big-endian, 32-bit default, sh5-*-netbsd*
          o SH5, SHmedia, little-endian, 32-bit default, sh5le-*-netbsd*
          o SH5, SHmedia, big-endian, 64-bit default, sh64-*-netbsd*
          o SH5, SHmedia, little-endian, 64-bit default, sh64le-*-netbsd*
    * The following changes have been made to the IA-32/x86-64 port:
          o SSE2 and 3dNOW! intrinsics are now supported.
          o Support for thread local storage has been added to the IA-32
            and x86-64 ports.
          o The x86-64 port has been significantly improved.

The full list of changes can be found at:

	http://gcc.gnu.org/gcc-3.3/changes.html
2003-05-25 16:29:20 +00:00
grant
26e325e4c1 fix thinko in last 2003-05-25 09:26:40 +00:00
grant
69965247c7 rename to gcc3, allowing this to co-exist with lang/gcc. suggested by
Jeremy C. Reed.

add a CONFLICT with gcc-3* and drop PKGREVISION.
2003-05-25 09:00:12 +00:00
jschauma
8efc4185a9 use ${INSTALL_INFO} rather than install-info, so that we don't accidently
use an old or non-compatible version that may be in the base system.
This makes this package install flawlessly under Linux, and even though it does
not directly address PR pkg/20880 (which I could not reproduce), it covers
similar problems.
2003-05-24 18:38:58 +00:00
wiz
a4b1c11de4 Add patch from Todd Vierling in PR 21226:
The following method overrides "libgcc_link_spec" in the generated specs
file, which gives you a compiler that automatically inserts the correct
rpath argument at link time.  This should work for any pkgsrc target
platform, as no platform-specific config overrides it.

Additionally, part of this fix changes the "scrubbed" LDFLAGS by
overriding that in CONFIGURE_ENV, rather than globally.  Other changes to
the pkgsrc Makefile (including one I plan to submit for threads support)
may need access to the "real" LDFLAGS, so overriding it wholesale in the
pkg Makefile is Bad.

Bump version to 3.2.2nb2.
2003-05-22 09:37:27 +00:00
jmmv
f1446ddf2b Drop trailing whitespace. Ok'ed by wiz. 2003-05-06 17:40:18 +00:00
jmmv
d73dd256ee Move the mk.conf style example file to share/examples/gcc/mk.conf, to avoid
polluting the etc directory (and not honouring PKG_SYSCONFDIR).
Bump PKGREVISION to 1.
2003-05-02 13:36:51 +00:00
salo
4d0ac3202c GNU texinfo >= 4.1 is required to build the info files shipped, fix wrong
check for MAKEINFO version too.  Addresses PR pkg/20930.
Make it PKGREVISION resilent.
G/C unused variables, delint.
2003-04-14 04:30:21 +00:00
grant
b9ef666852 drop unneeded parens 2003-04-13 10:51:19 +00:00
bouyer
169341a292 --enable-shared is fine for solaris too (modulo PR pkg/20697, which also
exists on NetBSD and probably linux), and --disable-shared cause problems
with some packages (e.g. ncurses).
2003-03-31 15:59:39 +00:00
jschauma
0c1d7c289c Use correct version in DESCR. 2003-03-28 21:46:05 +00:00
wiz
06154969ab Update to 3.2.2, from Juan RP in PR 20308.
Also build shared libs on Linux, from Jeremy C. Reed in PR 20735.
Changes since 3.2.1:
On the following i386-based systems GCC 3.2.1 broke the C ABI wrt.
functions returning structures: Cygwin, FreeBSD (GCC 3.2.1 as shipped with
FreeBSD 5.0 does not have this problem), Interix, a.out-based Linux and
NetBSD, OpenBSD, and Darwin. GCC 3.2.2 reverts this ABI change, and thus
restores ABI-compatibility with previous releases (except GCC 3.2.1) on
these platforms.
Lots of other bug fixes, see http://gcc.gnu.org/gcc-3.2/changes.html.
2003-03-22 02:59:32 +00:00
dmcmahill
b9207e80f6 on alpha, turn off optimization for the first part of the build. This
works around a bug with optimization in gcc-2.95.3 which prevents building
this pkg.

Optimization is still turned on during the build of the final libraries
and compilers.
2003-02-06 21:52:19 +00:00
jlam
d7f69e47ce Instead of including bsd.pkg.install.mk directly in a package Makefile,
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set
to "YES".  This enforces the requirement that bsd.pkg.install.mk be
included at the end of a package Makefile.  Idea suggested by Julio M.
Merino Vidal <jmmv at menta.net>.
2003-01-28 22:03:00 +00:00
grant
a0b4df5439 fix oops in last. 2003-01-11 04:31:53 +00:00
grant
7314efd759 Properly test for CC=gcc and generalise the logic to make this more
likely to build on non-NetBSD platforms.

Tested on Solaris 8.
2003-01-11 04:28:51 +00:00
uebayasi
e7842888d9 Regen distinfo. 2003-01-09 11:03:15 +00:00
uebayasi
c3d0fc5ae4 Initial import of GCC 3.2.1, the latest release of GNU Compiler
Collection, which currently contains front ends for C, C++,
Objective-C, Fortran, Java, and Ada.

For more detail, see

	http://gcc.gnu.org/gcc-3.2/

XXX Only tested on NetBSD/i386 -current.  Tests on Linux and Solaris
are very encouraged.

XXX buildlink2.mk is not provided, meaning no other packages can
depend on this for now.
2003-01-06 07:42:26 +00:00