Commit graph

50 commits

Author SHA1 Message Date
jlam
c16221a4db Change the format of BUILDLINK_ORDER to contain depth information as well,
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.

For example, "make show-buildlink3" in fonts/Xft2 displays:

	zlib
	fontconfig
	    iconv
	    zlib
	    freetype2
	    expat
	freetype2
	Xrender
	    renderproto
2006-07-08 23:10:35 +00:00
jlam
9430e49307 Track information in a new variable BUILDLINK_ORDER that informs us
of the order in which buildlink3.mk files are (recursively) included
by a package Makefile.
2006-07-08 22:38:58 +00:00
jlam
1cf9796f3c BUILD_USE_MSGFMT and USE_MSGFMT_PLURALS are obsolete. Replace with
USE_TOOLS+=msgfmt.
2006-04-13 18:23:29 +00:00
rillig
96fc47c14f Aligned the last line of the buildlink3.mk files with the first line, so
that they look nicer.
2006-04-12 10:26:59 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
2006-04-06 06:21:32 +00:00
shannonjr
1d6e21738d Update to 3.4.6. This is a bugfix release. 2006-04-05 11:03:59 +00:00
jlam
6e0c050321 * Teach the tools framework how to supply the pkgsrc version of
makeinfo if no native makeinfo executable exists.  Honor TEXINFO_REQD
  when determining whether the native makeinfo can be used.

* Remove USE_MAKEINFO and replace it with USE_TOOLS+=makeinfo.

* Get rid of all the "split" argument deduction for makeinfo since
  the PLIST module already handles varying numbers of split info files
  correctly.

NOTE: Platforms that have "makeinfo" in the base system should check
      that the makeinfo entries of pkgsrc/mk/tools.${OPSYS}.mk are
      correct.
2006-03-05 16:27:22 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
shannonjr
796d40a3fb Update to 3.4.5. This is a bug fix release. 2006-01-04 18:06:17 +00:00
jlam
dc9594e09d Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mk
automatically detects whether we want the pkginstall machinery to be
used by the package Makefile.
2005-12-29 06:21:30 +00:00
rillig
579e977969 Ran "pkglint --autofix", which corrected some of the quoting issues in
CONFIGURE_ARGS.
2005-12-05 23:55:01 +00:00
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
rillig
e1fc743e11 The Solaris /bin/sh doesn't like two adjacent open parentheses. Removed
them completely, as they had been unnecessary. As ${MKDIR} already
includes the -p option, the ${TEST} is not necessary and has been
dropped, too. Fixes PR 32002.
2005-11-05 08:43:44 +00:00
rillig
9984e0604a Removed trailing white-space. 2005-09-28 14:15:48 +00:00
kristerw
740b939f18 Prevent paths to the build directories from being included in the
package for BUILD_F77.  Solves PR pkg/30628.

Bump PKGREVISION.
2005-07-09 00:16:53 +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
shannonjr
63e6bb6772 Update from 3.3.3 to 3.3.4. This is a bugfix release. There is a very
significant reduction in the number of regressions, particularily with
libstdc++.
2005-05-20 19:25:21 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
475ab002d7 Add RMD160 digests 2005-02-24 09:03:05 +00:00
tv
5e36931b25 Temporarily mark as not for Interix, until platform config and libtool fixed. 2005-01-21 20:52:24 +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
shannonjr
0cbac7c9e1 Add missing '-print' to FIND 2004-11-15 11:38:42 +00:00
shannonjr
67974c9371 If Fortran frontend is being built, dependency on gmp is added. This
follows the stated prerequisites in the gcc installation documentation.
2004-11-12 12:31:28 +00:00
shannonjr
a82e023ca3 Update to 3.4.3. This release is a bug-fix release, containing fixes for
regressions in GCC relative to previous releases of GCC.
2004-11-08 16:44:34 +00:00
shannonjr
ba3865dc7a Re: pkg/27775 programs compiled with gcc34 don't find gcc34's libraries
Added patch patterned after the one in lang/gcc3 to set rpath for libgcc
2004-11-05 12:40:23 +00:00
shannonjr
bedf3290f5 Revised to build dynamic (in addition to static) libgnat if Ada language
frontend is built.
2004-10-30 12:06:59 +00:00
shannonjr
8df02c4162 Revised to only define a full BUILDLINK_DEPMETHOD if USE_GCC_SHLIB is defined. 2004-10-30 10:35:34 +00:00
minskim
4dc3adf42b Not every implementation of find(1) accepts "file" and "link" as
arguments to "-type"; use "f" and "l" instead.
2004-10-29 14:57:03 +00:00
shannonjr
5fc3ae83af Upgrade from 3.4.1 to 3.4.2. gcc 3.4.2 is a bug fix release containing fixes
for regressions in GCC 3.4.1 relative to previous releases of GCC.
2004-09-21 13:32:40 +00:00
shannonjr
584b3677af 1) Locate adalib for bootstrap compiler with ${ALT_GCC} --print-file-name=adalib
rather than find. This behaves better if ${ALT_GCC} does not specify
   a gcc executable.
2) Change to uniform handling of ABI baseline-pairs for NetBSD. There
   must be agreement between the Makefile and libstdc++-v3/configure.host;
   this change ensures consistency by introducing ABI_BASELINE_PAIR
   variable used in both.
3) Bump revision number.
2004-08-11 19:08:15 +00:00
shannonjr
27e69cf5c4 Add ABI description file for sparc64--netbsd2.x 2004-08-11 09:49:42 +00:00
shannonjr
b05a15ec40 Add ABI description file for i386-netbsd1.x 2004-08-10 16:20:08 +00:00
shannonjr
6bf47762a8 Introduce several changes so that package builds successfully on
alpha--netbsd1.6.2:
1) Rename the baseline_symbols.txt files that define abi and implement
   logic in Makefile that uses these according to architecture and
   NetBSD version (1.x versus 2.x)
2) Add several patches that allow code to compile on alpha--netbsd1.6.2
3) Revise Makefile so that libiconv is found under NetBSD 1.6.2
2004-08-10 15:11:14 +00:00
shannonjr
f8208e57b6 The make target is install not ${INSTALL}. Thank you Georg Schwarz for
pointing this out.
2004-08-08 11:12:13 +00:00
shannonjr
e3c6f26ab9 Override "host" in configure only for NetBSD. This was requested because
the operating system for irix was not as expected. The choice for NetBSD
is maintained for backward compatibility.
2004-08-06 20:56:15 +00:00
shannonjr
671fe8e9b3 Changed dependancy from gcc34>=3.4.1nb3 to gcc34>=${_GCC_REQD}
following the practice in gcc3-c.
2004-08-02 09:59:12 +00:00
shannonjr
8558aa3745 Check the version of as using the just-computed ${AS_PATH}, not ${AS},
following the change to gcc3/Makefile.common submitted by jlam@netbsd.org
2004-08-01 10:14:16 +00:00
shannonjr
9a9f3eea71 Recompute patchsum to go with revision to patch-ae:
Change for AMD64: The patch incorrectly AMD64 to be identified
as x86_64--netbsdelf when it is identified as x86_64--netbsd.
This effect the building of the Ada front-end on the AMD64 target only.
2004-07-30 14:44:13 +00:00
shannonjr
aadc99c41d Change for AMD64: The patch incorrectly AMD64 to be identified
as x86_64--netbsdelf when it is identified as x86_64--netbsd.
This effect the building of the Ada front-end on the AMD64 target only.
2004-07-30 14:37:45 +00:00
shannonjr
a56bf6f82c 1) Fixed two Ada bootstrap issues reported by Matthias Drochner:
a) The BUILD_ADA must be YES (strictly capitalized) for the
      pre-configure target to work, which is inconsistent.
   b) For me (using ALT_GCC), the directory .work/.gcc was not
      present at pre-configure time, which made some "cd" fail.
2) Makefile cleanup as recommended by Lubomir.
3) pkglint cleanup
4) Increment PKGREVISION
2004-07-28 21:30:19 +00:00
shannonjr
b7fd610486 1) Renamed patch-libstdc++-v3_configure_host to follow naming convention
2) Removed USE_GCC33ADA option. gcc3-ada may still be used as a bootstrap
   Ada compiler by specifying ALT_GCC
2004-07-28 12:14:49 +00:00
shannonjr
e7d2deb170 1) Removed two patches because the problem, corrected by the patches, has
been corrected in 3.4.1 source
2) Incremented PKGREVISION
3) Corrected attempt to elimiate hardcoded
   GCC_PLATFORM=${MACHINE_GNU_ARCH}--netbsdelf2.0
2004-07-28 07:37:19 +00:00
shannonjr
449b71fcbb 1) Revised ABI specification (baseline_symbols.txt) to go with release 3.4.1
2) Added include statment for zlib/buildlink3.mk to Makefile to go with
   CONFIGURE_ARGS+=--with-system-zlib already there. Thank you
   Georg Schwarz <geos@epost.de> for pointing out this ommision.
3) Incorporated logic from gcc3 that determines whether to add
   binutils dependency or not.
4) Eliminated hardcoded target of netbsdelf2.0 as a step toward supporting
   other architectures.
2004-07-26 21:55:37 +00:00
shannonjr
ba0fda83f5 Update from 3.4.1 RC1 to 3.4.1 (release). I do not believe that any actual
changes to the gcc codebase occurred with this delta.
2004-07-21 16:03:33 +00:00
seb
4483f0d960 Remove USE_NEW_TEXINFO, it is a noop now. 2004-07-09 22:04:16 +00:00
drochner
a0c7dff514 on 1.6.x, we need libiconv. Make sure the rpath includes ${LOCALBASE}. 2004-07-09 20:20:08 +00:00
drochner
b68866ae61 oops - have to order the includes / tests a bit differently to avoid
an unwanted dependency on pth on 1.6.x
2004-07-09 20:11:36 +00:00
drochner
6408296874 make this usable on 1.6.x, w/o native threads:
-disable thread support if no native threads are available
-require native threads only if ADA is built
2004-07-09 19:25:12 +00:00
shannonjr
fa3ec7c8c7 Modified buildlink3.mk to check for the existance of
${BUILDLINK_PREFIX.gcc34}/bin/gcc before calling it.
2004-07-01 08:18:07 +00:00
shannonjr
24aec08c13 This is the gcc 3.4 compiler suite. 2004-06-29 18:01:24 +00:00