Commit graph

101 commits

Author SHA1 Message Date
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
jlam
585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
garbled
21796009f9 Disable aix64 when building gcc on AIX. It seems to cause wierd
problems.  I don't think gcc works properly on that target yet.
2005-03-05 01:19:30 +00:00
agc
475ab002d7 Add RMD160 digests 2005-02-24 09:03:05 +00:00
drochner
f91b583570 update to 3.3.5
There was just a build system fix which we weren't affected by afaict.
2005-01-21 15:08:14 +00:00
tv
0def789aba No target information is available for Interix; disable it here. 2004-10-08 14:42:55 +00:00
jlam
a92d5feb00 Make _WRAPPEES into a public variable so that we can more easily create
wrapper scripts in package-land.
2004-09-26 21:38:03 +00:00
jlam
1a280185e1 Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST.
All library names listed by *.la files no longer need to be listed
in the PLIST, e.g., instead of:

	lib/libfoo.a
	lib/libfoo.la
	lib/libfoo.so
	lib/libfoo.so.0
	lib/libfoo.so.0.1

one simply needs:

	lib/libfoo.la

and bsd.pkg.mk will automatically ensure that the additional library
names are listed in the installed package +CONTENTS file.

Also make LIBTOOLIZE_PLIST default to "yes".
2004-09-22 08:09:14 +00:00
jlam
051cca1478 Adapt to differences between the old buildlink3 wrapper scripts and the
new wrapper scripts.
2004-09-21 15:04:34 +00:00
jlam
4825e39a78 Set LIBTOOLIZE_PLIST to "yes" and remove obsolete code that performed the
same function.
2004-09-10 19:53:51 +00:00
jlam
13760a9c4a GCC generates and uses its own libtool to build shared libraries, and
the resulting shared library names don't necessarily match the NetBSD
names.  Instead of hardcoding the shared library names in the PLISTs,
only list the libtool archives in the PLISTs and dynamically determine
the shared library names at post-install time and insert them into
the PLIST.  This fixes PLIST errors on non-NetBSD platforms.

All of the magic is done in pkgsrc/lang/gcc3/language.mk.  This should
probably be generalized into something that could be used by all
packages that use libtool.
2004-09-08 10:22:01 +00:00
jlam
e7312f5c2d Use OPSYSVARS to set --enable-shared or --disable-shared based on the
value of ${OPSYS}.  Also, allow FreeBSD to build the GCC shared libraries.
2004-09-08 08:42:35 +00:00
jlam
ca70938428 Replace RPATH_FLAG with LINKER_RPATH_FLAG and COMPILER_RPATH_FLAG,
which are the full option names used to set rpath directives for the
linker and the compiler, respectively.  In places were we are invoking
the linker, use "${LINKER_RPATH_FLAG} <path>", where the space is
inserted in case the flag is a word, e.g. -rpath.  The default values
of *_RPATH_FLAG are set by the compiler/*.mk files, depending on the
compiler that you use.  They may be overridden on a ${OPSYS}-specific
basis by setting _OPSYS_LINKER_RPATH_FLAG and _OPSYS_COMPILER_RPATH_FLAG,
respectively.  Garbage-collect _OPSYS_RPATH_NAME and _COMPILER_LD_FLAG.
2004-08-27 06:29:06 +00:00
jlam
129ce057eb Check the version of as using the just-computed ${AS_PATH}, not ${AS}. 2004-07-30 20:48:39 +00:00
grant
c40debb342 always build gcc3 sub-packages with gcc3-c. 2004-07-03 12:15:22 +00:00
grant
0eafc481a6 gcc3 is at 3.3.4 now. 2004-07-03 06:50:55 +00:00
grant
8e920df78d fix path in MASTER_SITES. 2004-07-03 06:49:18 +00:00
drochner
9231317a1e oops, these are obsolete now 2004-07-02 15:41:26 +00:00
drochner
3be5d2a1b5 update to 3.3.4
bugfixes only afaict, no new features, no new files
2004-07-02 15:40:01 +00:00
shannonjr
5090ffc5c2 pkg/23871 Ada runtime is not relocatable (same as gcc Bug ada/12950)
part 1/2
2004-05-28 22:28:09 +00:00
tron
64390106f0 Readd checksum for "gcc-3.3.3.tar.bz2" which got accidently removed by
"make makedistinfo".
2004-05-23 14:25:54 +00:00
tron
c946c8b457 Add missing checksum for new patch file "patch-ac". 2004-05-23 14:24:45 +00:00
abs
066ddabcbf Update gcc3-ada to 3.3.3nb1
Update gcc3-c++ to 3.3.3nb1
Update gcc3-c	to 3.3.3nb2
Update gcc3-f77 to 3.3.3nb1
Update gcc3-java to 3.3.3nb1
Update gcc3-objc to 3.3.3nb1
Update gcc3 to 3.3.3nb1

gcc arm: fix GCC _P_R_ target/14302

        Apply gcc fix for gcc PR target/14302 to fix ARM compiler
        issues triggered by at least glib, glib2, and pkgconfig.

             2004-02-26  Richard Earnshaw  <rearnsha@arm.com>
                   Daniel Jacobowitz  <drow@mvista.com>

                   PR target/14302
                   * arm.h (ARM_GO_IF_LEGITIMATE_ADDRESS): Don't check the mode
                   size for minipool references.
2004-05-22 17:48:21 +00:00
jschauma
3e6ec66a6a Apparently, IRIX can do --enable-shared. However, regardless of what
IRIX system we are on, gcc can NOT be compiled (bootstrapped) as a
64bit binary.  Fortunately, IRIX64 can handle 32bit binaries, so that we
can force use of 32bit when using MIPSPro.

This allows gcc3-c to build fine under IRIX and IRIX64.
2004-05-16 03:16:42 +00:00
cjep
341efbf789 whitespace nits 2004-05-07 15:25:13 +00:00
jlam
cae6e66af3 Allow GCC_PREFIX to the in the rpath for binaries and libraries built as
part of the gcc3-* sub-packages.
2004-04-24 22:10:14 +00:00
seb
4db623d9f5 Apply sparc64 fix from gcc cvs via
src/gnu/dist/gcc/gcc/config/sparc/sparc.h revision 1.2.

Bump PKGREVISION of gcc3-c package.
2004-04-10 16:37:22 +00:00
seb
0b4b088a18 Actually make the move of patches directory and distinfo file effective. 2004-04-10 16:05:05 +00:00
seb
1cd5dcea8a Make all gcc3-* packages use a single distinfo file from gcc3/distinfo and
a single patch directory from gcc3/patches/.
Also Move gcc3-c/{Makefile.common,language.mk} into gcc3/.
2004-04-10 15:47:08 +00:00
drochner
bf761bc865 update to gcc-3.3.3 2004-03-02 14:46:33 +00:00
tron
d371bfefaa Fix dependence problem for other packages, too. 2004-02-14 13:49:25 +00:00
tron
08d2c8fd67 Update dependence on "gcc3-c++" package and bump package revision. 2004-02-14 13:47:00 +00:00
jlam
50e07b6657 Bump the PKGREVISION after fixing up the installed *.la files to remove
references to the buildlink work directories.
2004-02-13 15:13:00 +00:00
jlam
65bdf7098a "Update" lang/gcc3 to 3.3.2. This package is now a meta-package for
lang/gcc3-*.
2004-02-01 14:12:22 +00:00
jlam
66c8a08bc8 Changes to support new compiler selection framework. 2004-02-01 02:11:06 +00:00
grant
f1ab3f4ed4 replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make. 2004-01-24 13:51:13 +00:00
abs
0e4e4da57e Add USE_GCC3 to files/gcc3.mk to work better when included in mk.conf 2004-01-21 10:17:56 +00:00
grant
49262175f6 add a workaround for Solaris finding libintl.h in ${LOCALBASE}/include.
if configure finds this file, it expects to be able to use it, and
linking fails because /usr/lib/libintl.so isn't GNU libintl.

allows this to be built on Solaris while gettext-lib is installed.
2004-01-13 09:53:35 +00:00
wiz
2a367b58d9 Use S modifier instead of C; should fix first part of PR 23126. 2003-10-11 06:24:52 +00:00
grant
ada56b5a0b tidy up handling of LDFLAGS wrt USE_GCC_SHLIB a little. 2003-09-12 15:54:40 +00:00
tron
3020833522 Avoid error messages on systems where the "gcc3" package is not yet
installed.
2003-09-12 15:28:54 +00:00
grant
c934b0c4e0 start of improved compiler handling, mostly derived from the existing
gcc buildlink2.mk files and splitting the non-buildlink2.mk bits out
into compiler.mk.

this allows USE_GCC2 and USE_GCC3 to work with non-buildlink2 packages
again.
2003-09-12 13:03:38 +00:00
seb
56b682547a USE_NEW_TEXINFO is unnecessary now. 2003-08-09 10:59:08 +00:00
grant
e7e868feaa include major version number in COMMENT for distinction, some minor
COMMENT tweaks.
2003-08-08 09:31:00 +00:00
jmmv
f24ae18ebe Add PKG_GCC3_JAVA to BUILD_DEFS. 2003-07-28 21:49:15 +00:00
martin
361afca03b Bring in a patch from the base system gcc3 and adapt example gcc3.mk file
accordingly.

  From: matthew green <mrg@netbsd.org>
  To: source-changes@NetBSD.org
  Subject: CVS commit: src/gnu/dist/gcc/gcc
  Message-Id: <20030725175744.B6FC4B004@cvs.netbsd.org>

  Module Name:    src
  Committed By:   mrg
  Date:           Fri Jul 25 17:57:44 UTC 2003

  Modified Files:
          src/gnu/dist/gcc/gcc: cppspec.c
          src/gnu/dist/gcc/gcc/config: netbsd.h

  Log Message:
  make `cpp -gcc' the default on NetBSD.


  To generate a diff of this commit:
  cvs rdiff -r1.1.1.1 -r1.2 src/gnu/dist/gcc/gcc/cppspec.c
  cvs rdiff -r1.1.1.1 -r1.2 src/gnu/dist/gcc/gcc/config/netbsd.h
2003-07-26 17:37:04 +00:00
grant
3b9a5f5e2a fix GCC_VERSION so GCC_ARCHDIR is correctly set.
re-arrange gcc/Makefile a bit to more closely resemble gcc3/Makefile.
2003-07-23 22:30:12 +00:00
grant
0155927c43 s/netbsd.org/NetBSD.org/ 2003-07-17 21:41:05 +00:00
abs
5e4225a2a7 Update:
gcc3 to 3.3nb5
        gcc3-c to 3.3nb1
        gcc3-c++ to 3.3nb1
In gcc3.mk set CPP to '.../cpp -gcc' rather than '.../cpp'
Ensure __GNUC__ and similar are defined.
2003-07-17 09:07:54 +00:00