Commit graph

140 commits

Author SHA1 Message Date
agc
475ab002d7 Add RMD160 digests 2005-02-24 09:03:05 +00:00
wiz
6e02d7ee41 Rename ALL_TARGET to BUILD_TARGET for consistency with other *_TARGETs.
Suggested by Roland Illig, ok'd by various.
2004-12-03 15:14:50 +00:00
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
wiz
4237d54a34 Unused. 2004-07-06 22:41:15 +00:00
gavan
ffa600bf7e I can't count. 2004-06-29 13:24:31 +00:00
gavan
42140f0b66 gcc installs in a subdirectory of ${BUILDLINK_PREFIX.gcc}, so make
sure that appropriate subdirectory is passed in BUILDLINK_LIBDIRS.gcc.

Fixes PR 26109. OK'd by grant.
2004-06-29 13:17:42 +00:00
snj
cc3900796e Convert to buildlink3. 2004-05-02 04:59:23 +00:00
jlam
e979cbd817 When building devel/gmake as a build dependency, build it without locale
support.  This makes it easier to "bootstrap" the installation of a
pkgsrc compiler without a lot of additional indirect build dependencies on
gettext, libiconv, libtool, etc.
2004-03-25 23:34:01 +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
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
jlam
2b4202c8b4 Buildlink the gcc libraries and headers early so that fake-la can find
them.
2004-02-24 10:02:23 +00:00
kristerw
da0229e8a4 gcc 2.95 does not support the x86_64 architecture. 2004-02-19 17:51:17 +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
b3ef0bf8cb Don't rely on _GCCARCHSUBDIR. 2004-02-02 12:19:10 +00:00
jlam
3fa5e2549e Add a buildlink3.mk file for use by bsd.compiler.mk. Note that we always
add the dependency regardless of the depth.
2004-02-01 14:09:45 +00:00
jlam
4356469d7f Use _GCC_REQD instead of GCC_REQD since we just want a single value. 2004-02-01 14:09:04 +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
ben
4f12f860b5 Apply patch from Harry Waddell in PR 23289 to chill in gcc 2.95.3, to
fix a build error when using gcc 3.  Also bumps PKGREVISION.
2003-12-18 15:44:24 +00:00
dmcmahill
56b89512f4 Make this patch be more selective so that this package will work
on NetBSD/alpha versions 1.6 and newer.  Previously, this package only
worked on pre-1.6.  Fixes problems noted in recent bulk builds.
2003-11-25 22:35:14 +00:00
grant
ada56b5a0b tidy up handling of LDFLAGS wrt USE_GCC_SHLIB a little. 2003-09-12 15:54:40 +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
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
grant
0c414e029b oops, we still want the mk files for non-pkgsrc purposes. unbump
PKGREVISIONs.
2003-07-13 13:16:03 +00:00
grant
7528b4d437 greatly simplify the handling of pkgsrc gcc, and eliminate a bug which
has allowed these packages to work :)

set CC, CXX, CPP and F77 in gcc{,3}/buildlink2.mk.

you now only need to define USE_GCC2 or USE_GCC3 to use the pkgsrc
gcc of your choice.

the share/examples/gcc/mk.conf and gcc3/mk.conf files are no longer
installed.

bump PKGREVISIONs.
2003-07-13 13:04:09 +00:00
jtb
3f9c40bb8e Add some patches against basesrc gcc implementing the "if-exists"
function in the specs file.  Enables the linker to pick
up crti.o and crtn.o if they exist.
2003-07-12 08:53:40 +00:00
seb
aaa7115491 Ooops I missed this INSTALL script while doing the conversion
to USE_NEW_TEXINFO (I should have added it to INSTALL_TEMPLATES).

Anyway as info files are now registered in a package specific info
directory file I guess it can be removed.
2003-07-06 14:28:35 +00:00
seb
03fb7511aa Reorder a bit so pkglint is happier. 2003-07-06 14:28:08 +00:00
seb
f49d84b8ff No need anymore to specify --infodir=... to configure.
Factorize some install commands.
2003-07-06 14:23:31 +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
seb
7948cb7b2e Convert to USE_NEW_TEXINFO.
Remove or trim "info related" patch files.
Install info files in package specific directory.
Hence the PLIST files are now nearly empty...

This should finish making these two packages really non-conflicting.

Bump PKGREVISION.
2003-07-04 16:27:24 +00:00
seb
b132988247 Install example mk.conf in package specific directory.
Adjust and make uniform various substitution variables and MESSAGE files.

No PKGREVISION bump right now.
2003-07-04 16:11:55 +00:00
jmc
184943d16a Make patches f,g,h work correctly. 2003-06-24 16:50:46 +00:00
grant
09c6ab20db add -L${PREFIX}/gcc-2.95.3/lib to LDFLAGS if USE_GCC_SHLIB is defined,
so packages built with this can find shared libstdc++.

s/-R/${RPATH_FLAG}/ while I'm here.
2003-06-05 02:20:03 +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
6283c74857 remove redundant comment 2003-05-28 08:59:19 +00:00
grant
a658cd9907 on Solaris, install into ${PREFIX}/${PKGNAME_NOREV} as per other
platforms, and remove the related Solaris MESSAGE and PLIST.

prevents gcc from always searching ${PREFIX}/{include,lib} for
include files and libraries which breaks buildlink2, preventing
some packages from being built, depending on what is already
installed.

noted by Mark Davies and others, and address my PR pkg/21122.

bump PKGREVISION.

note: if you update to this version, be sure to rebuild libtool-base
since the path to crti.o, crtbegin.o, etc is hardcoded in libtool at
compile-time.
2003-05-27 08:40:19 +00:00
grant
5776b4fd75 add pulling in buildlink includes/libraries from lang/gcc, or gcc3
when USE_GCC3 is defined.

ok'd by jlam@.
2003-05-27 07:01:56 +00:00
jschauma
fc313570c4 Remove build-dependency on bison by applying patch from Todd Vierling
provided in PR pkg/21227, which applies for lang/gcc as well as lang/gcc3.
2003-05-26 20:50:36 +00:00
jschauma
54a8f198e5 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.
2003-05-24 19:26:24 +00:00
jmmv
6c9d4140b4 Move the sample mk.conf file to share/examples/gcc/mk.conf, instead of
installing in in etc/ (and not honouring PKG_SYSCONFDIR). Bump PKGREVISION.
2003-05-02 08:22:12 +00:00
grant
72b8046267 only assume GNU toolchain on Linux and BSD and use try to use sane
defaults for "unknown" platforms.

drop unneeded parens, whitespace police.

(the last update was broken, oops)
2003-04-14 00:28:17 +00:00
grant
e54d67ee61 use the bootstrap target unless we know we are using gcc (either by
platform or by name).

use
2003-04-14 00:20:50 +00:00
grant
c25786c26b use gcc -dumpversion' instead of gcc --version', so this works
with both gcc2 and gcc3.

as suggested by Berndt Wulf on tech-pkg.
2003-04-10 13:13:28 +00:00