The NetBSD Project

CVS log for pkgsrc/lang/gcc/buildlink3.mk

[BACK] Up to [cvs.netbsd.org] / pkgsrc / lang / gcc

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.15 / (download) - annotate - [select for diffs], Mon May 7 01:53:39 2012 UTC (2 weeks, 4 days ago) by dholland
Branch: MAIN
CVS Tags: HEAD
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

Set BUILDLINK_ABI_DEPENDS correctly (with +=, not ?=)
It turns out there were a lot of these.

Revision 1.14 / (download) - annotate - [select for diffs], Fri Mar 20 19:24:49 2009 UTC (3 years, 2 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2012Q1-base, pkgsrc-2012Q1, pkgsrc-2011Q4-base, pkgsrc-2011Q4, pkgsrc-2011Q3-base, pkgsrc-2011Q3, pkgsrc-2011Q2-base, pkgsrc-2011Q2, pkgsrc-2011Q1-base, pkgsrc-2011Q1, pkgsrc-2010Q4-base, pkgsrc-2010Q4, pkgsrc-2010Q3-base, pkgsrc-2010Q3, pkgsrc-2010Q2-base, pkgsrc-2010Q2, pkgsrc-2010Q1-base, pkgsrc-2010Q1, pkgsrc-2009Q4-base, pkgsrc-2009Q4, pkgsrc-2009Q3-base, pkgsrc-2009Q3, pkgsrc-2009Q2-base, pkgsrc-2009Q2, pkgsrc-2009Q1-base, pkgsrc-2009Q1
Changes since 1.13: +7 -14 lines
Diff to previous 1.13 (colored)

Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.

Revision 1.13 / (download) - annotate - [select for diffs], Tue Dec 12 21:52:36 2006 UTC (5 years, 5 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2008Q4-base, pkgsrc-2008Q4, pkgsrc-2008Q3-base, pkgsrc-2008Q3, pkgsrc-2008Q2-base, pkgsrc-2008Q2, pkgsrc-2008Q1-base, pkgsrc-2008Q1, pkgsrc-2007Q4-base, pkgsrc-2007Q4, pkgsrc-2007Q3-base, pkgsrc-2007Q3, pkgsrc-2007Q2-base, pkgsrc-2007Q2, pkgsrc-2007Q1-base, pkgsrc-2007Q1, pkgsrc-2006Q4-base, pkgsrc-2006Q4, cwrapper, cube-native-xorg-base, cube-native-xorg
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

Replace mk/bsd.prefs.mk includes with bsd.fast.prefs.mk includes.
The redundant parsing of bsd.prefs.mk is mostly avoided now and
parse time e.g. for x11/kdebase3 gets reduced by up to 10%.

Revision 1.12 / (download) - annotate - [select for diffs], Sat Jul 8 23:10:54 2006 UTC (5 years, 10 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2006Q3-base, pkgsrc-2006Q3
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

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

Revision 1.11 / (download) - annotate - [select for diffs], Sat Jul 8 22:39:22 2006 UTC (5 years, 10 months ago) by jlam
Branch: MAIN
Changes since 1.10: +2 -1 lines
Diff to previous 1.10 (colored)

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.

Revision 1.10 / (download) - annotate - [select for diffs], Thu Apr 6 06:22:11 2006 UTC (6 years, 1 month ago) by reed
Branch: MAIN
CVS Tags: pkgsrc-2006Q2-base, pkgsrc-2006Q2
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)

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).

Revision 1.9 / (download) - annotate - [select for diffs], Sun Feb 5 23:09:44 2006 UTC (6 years, 3 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2006Q1-base, pkgsrc-2006Q1
Changes since 1.8: +2 -1 lines
Diff to previous 1.8 (colored)

Recursive revision bump / recommended bump for gettext ABI change.

Revision 1.8 / (download) - annotate - [select for diffs], Mon Nov 22 22:24:46 2004 UTC (7 years, 6 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2005Q4-base, pkgsrc-2005Q4, pkgsrc-2005Q3-base, pkgsrc-2005Q3, pkgsrc-2005Q2-base, pkgsrc-2005Q2, pkgsrc-2005Q1-base, pkgsrc-2005Q1, pkgsrc-2004Q4-base, pkgsrc-2004Q4
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

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).

Revision 1.5.4.1 / (download) - annotate - [select for diffs], Tue Jul 6 22:36:25 2004 UTC (7 years, 10 months ago) by agc
Branch: pkgsrc-2004Q2
Changes since 1.5: +3 -2 lines
Diff to previous 1.5 (colored) next main 1.6 (colored)

Pullup ticket 43 to the pkgsrc-2004Q2 branch, requested by Gavan Fantom.

	Module Name:	pkgsrc
	Committed By:	gavan
	Date:		Tue Jun 29 13:17:42 UTC 2004

	Modified Files:
		pkgsrc/lang/gcc: buildlink3.mk

	Log Message:
	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.

and

	Module Name:	pkgsrc
	Committed By:	gavan
	Date:		Tue Jun 29 13:24:31 UTC 2004

	Modified Files:
		pkgsrc/lang/gcc: buildlink3.mk

	Log Message:
	I can't count.

Revision 1.7 / (download) - annotate - [select for diffs], Tue Jun 29 13:24:31 2004 UTC (7 years, 10 months ago) by gavan
Branch: MAIN
CVS Tags: pkgsrc-2004Q3-base, pkgsrc-2004Q3
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

I can't count.

Revision 1.6 / (download) - annotate - [select for diffs], Tue Jun 29 13:17:42 2004 UTC (7 years, 10 months ago) by gavan
Branch: MAIN
Changes since 1.5: +3 -2 lines
Diff to previous 1.5 (colored)

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.

Revision 1.5 / (download) - annotate - [select for diffs], Thu Mar 18 09:12:12 2004 UTC (8 years, 2 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2004Q2-base, pkgsrc-2004Q1-base, pkgsrc-2004Q1
Branch point for: pkgsrc-2004Q2
Changes since 1.4: +4 -5 lines
Diff to previous 1.4 (colored)

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.

Revision 1.4 / (download) - annotate - [select for diffs], Fri Mar 5 19:25:35 2004 UTC (8 years, 2 months ago) by jlam
Branch: MAIN
Changes since 1.3: +8 -5 lines
Diff to previous 1.3 (colored)

Reorder location and setting of BUILDLINK_PACKAGES to match template
buildlink3.mk file in revision 1.101 of bsd.buildlink3.mk.

Revision 1.3 / (download) - annotate - [select for diffs], Thu Feb 5 03:45:13 2004 UTC (8 years, 3 months ago) by jlam
Branch: MAIN
Changes since 1.2: +5 -2 lines
Diff to previous 1.2 (colored)

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.

Revision 1.2 / (download) - annotate - [select for diffs], Thu Feb 5 00:28:35 2004 UTC (8 years, 3 months ago) by jlam
Branch: MAIN
Changes since 1.1: +3 -1 lines
Diff to previous 1.1 (colored)

List the correct directories for finding GCC libraries so that they will
be added automatically to library and run-time library search paths.

Revision 1.1 / (download) - annotate - [select for diffs], Sun Feb 1 14:09:45 2004 UTC (8 years, 3 months ago) by jlam
Branch: MAIN

Add a buildlink3.mk file for use by bsd.compiler.mk.  Note that we always
add the dependency regardless of the depth.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>