Commit graph

30 commits

Author SHA1 Message Date
wiz
43de7f8bc0 Now that no package uses USE_GCC_SHLIB any longer, remove support
for it from compiler.mk.

Move the variable of the same name used by compiler/gcc.mk and
the gcc* buildlink3 files into private namespace (_USE_GCC_SHLIB).
2004-11-22 22:24:46 +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
wiz
4237d54a34 Unused. 2004-07-06 22:41:15 +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
grant
629666f3b9 this can only be built with gcc:
"f/proj.h", line 35: #error: "You have to use gcc 2.x to build g77."
2004-06-17 13:09:42 +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
seb
00cc0486ea Garbage collect BUILDLINK_PKGBASE.<pkg> from buildlink3: it is not anymore
used since revision 1.139 of mk/buildlink3/bsd.buildlink3.mk.
2004-05-17 21:32:33 +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
jlam
7db11b582a Fix serious bug where BUILDLINK_PACKAGES wasn't being ordered properly
by moving the inclusion of buildlink3.mk files outside of the protected
region.  This bug would be seen by users that have set PREFER_PKGSRC
or PREFER_NATIVE to non-default values.

BUILDLINK_PACKAGES should be ordered so that for any package in the
list, that package doesn't depend on any packages to the left of it
in the list.  This ordering property is used to check for builtin
packages in the correct order.  The problem was that including a
buildlink3.mk file for <pkg> correctly ensured that <pkg> was removed
from BUILDLINK_PACKAGES and appended to the end.  However, since the
inclusion of any other buildlink3.mk files within that buildlink3.mk
was in a region that was protected against multiple inclusion, those
dependencies weren't also moved to the end of BUILDLINK_PACKAGES.
2004-03-18 09:12:08 +00:00
jlam
46cf8098c1 Rename the internal package variable referred to by buildlink[23]. No
functional change.
2004-03-18 04:19:39 +00:00
jlam
59bdf89739 If the ${PKGBASE} of a package doesn't match the token passed to
BUILDLINK_PACKAGES, then set BUILDLINK_PKGBASE.<pkg> explicitly so that
we can map from <pkg> to BUILDLINK_PKGBASE.<pkg>.
2004-03-16 18:23:26 +00:00
jlam
9ff0e10340 Reorder location and setting of BUILDLINK_PACKAGES to match template
buildlink3.mk file in revision 1.101 of bsd.buildlink3.mk.
2004-03-05 19:25:06 +00:00
drochner
bf761bc865 update to gcc-3.3.3 2004-03-02 14:46:33 +00:00
markd
d022ffe41e Add missing libfrtbegin.a 2004-03-01 11:39:58 +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
b2645adf50 Check if a variable is defined before checking its value. 2004-02-13 00:27:28 +00:00
jlam
0ff2e7acc8 Fix the check for the GCC3_INSTALLTO_SUBPREFIX so that it matches the
behaviour in gcc3-c/Makefile.common.
2004-02-13 00:16:00 +00:00
jlam
6472620f7b bsd.compiler.mk no longer adds dependencies or includes buildlink*.mk files
if it's being included by bsd.prefs.mk, so we can safely move the
BUILDLINK_DEPENDS line to its usual location.
2004-02-05 03:45:13 +00:00
jlam
b5863b4805 List the correct directories for finding GCC libraries so that they will
be added automatically to library and run-time library search paths.
2004-02-05 00:28:35 +00:00
jlam
2f79dc83ee bl3ify the gcc3-* packages. Also provide buildlink[23].mk files for use
by bsd.compiler.mk.  Note that in the buildlink3.mk files, the dependency
is always added regardless of the BUILDLINK_DEPTH.  This is because these
buildlink3.mk files may be included by bsd.prefs.mk, which is often
included other buildlink3.mk files, and we need to ensure that regardless
of the depth, we are using the correct compiler.
2004-02-01 14:05:46 +00:00
drochner
dfe4f86754 update to gcc-3.3.2 (bugfix release) 2003-12-03 11:28:55 +00:00
drochner
35d4c3d35c the USE_GCC3 make variable causes conflicts with the monolithic
gcc3 pkg. Until we have a sane solution, delete it for now.
Addresses PR pkg/22773 by John R. Shannon.
2003-09-16 15:47:19 +00:00
drochner
6597df538a update to 3.3.1 2003-08-11 14:15:58 +00:00
grant
e7e868feaa include major version number in COMMENT for distinction, some minor
COMMENT tweaks.
2003-08-08 09:31:00 +00:00
drochner
9ccfc92afb elaborate the INSTALLTO_SUBPREFIX thing a bit more: modify the
PKGNAME if we are installing to an alternative location so that the
pkg system doesn't complain about conflicts.
Now it is possible to install a gcc3 tree to some location where
it can be used to bootstrap another instance of itself...
2003-07-16 20:23:58 +00:00
drochner
f1bd37d7e6 The file affected by the bugfix (unroll.c) is potentially used by all
language backends.
2003-07-09 15:23:53 +00:00
drochner
26acfcb094 oops, I was assuming the .info files are put into the packlist
automatically. Not true appearently.
2003-07-08 16:07:03 +00:00
drochner
7497ad9c29 some cleanup:
-USE_NEW_TEXINFO, saves some patches
-symlink libiberty.a into build tree instead of buildlink/lib,
 saves some patches
-put common make rules into Makefile.common (for all) and
 buildaddon.mk (for all but the base "c" pkg)
2003-07-08 15:04:53 +00:00
grant
886b31b982 set GCC_VERSION for use in GCC_ARCHDIR. remove a superfluous comment
about GCC_PREFIX.

XXX why is GCC_PREFIX ${PREFIX}/gcc3 ?
2003-07-06 12:31:57 +00:00
drochner
bf1c6cfe93 Split the gcc3 pkg into per-language pieces.
Needs some cleanup and integration; eventually lang/gcc3 can turn into
a meta-pkg.
2003-07-06 12:15:03 +00:00