The NetBSD Project

CVS log for pkgsrc/mk/dlopen.buildlink3.mk

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / mk

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.18 / (download) - annotate - [select for diffs], Sat Oct 10 13:13:45 2015 UTC (3 years, 5 months ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-, HEAD
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

Append to PKG_FAIL_REASON rather than setting it so we don't overwrite other
potentially more useful failure messages.

Revision 1.17 / (download) - annotate - [select for diffs], Fri Mar 20 19:25:01 2009 UTC (10 years ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4, pkgsrc-2012Q3-base, pkgsrc-2012Q3, pkgsrc-2012Q2-base, pkgsrc-2012Q2, 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.16: +2 -4 lines
Diff to previous 1.16 (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.16 / (download) - annotate - [select for diffs], Wed Oct 17 10:43:38 2007 UTC (11 years, 5 months ago) by rillig
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, cwrapper, cube-native-xorg-base, cube-native-xorg
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored)

Made the .include lines simpler.

Revision 1.15 / (download) - annotate - [select for diffs], Mon Jun 4 08:10:32 2007 UTC (11 years, 9 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2007Q3-base, pkgsrc-2007Q3, pkgsrc-2007Q2-base, pkgsrc-2007Q2
Changes since 1.14: +15 -1 lines
Diff to previous 1.14 (colored)

Added documentation.

Revision 1.14 / (download) - annotate - [select for diffs], Fri Apr 27 15:02:37 2007 UTC (11 years, 10 months ago) by tron
Branch: MAIN
Changes since 1.13: +2 -1 lines
Diff to previous 1.13 (colored)

Set "BUILDLINK_LDFLAGS.dl" to "${BUILDLINK_LDFLAGS.dlcompat}" if we are
using the "dlcompat" package under Mac OS X.

Another attempt to fix PR pkg/36086.

Revision 1.13 / (download) - annotate - [select for diffs], Sat Feb 10 08:59:07 2007 UTC (12 years, 1 month ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2007Q1-base, pkgsrc-2007Q1, jlam-pkgviews-base, jlam-pkgviews
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

Replaced the deprecated PKG_SKIP_REASON with PKG_FAIL_REASON.

Revision 1.12 / (download) - annotate - [select for diffs], Sat Jul 8 23:11:17 2006 UTC (12 years, 8 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2006Q4-base, pkgsrc-2006Q4, 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:30 2006 UTC (12 years, 8 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.8.2.3, Wed Jun 7 15:25:39 2006 UTC (12 years, 9 months ago) by tv
Branch: tv-derecurse
Changes since 1.8.2.2: +0 -44 lines
FILE REMOVED

EOL the tv-derecurse branch; it has become too outdated.  The last live
revision can be fetched at the tv-derecurse-eol tag.

Revision 1.10 / (download) - annotate - [select for diffs], Mon Dec 5 22:07:07 2005 UTC (13 years, 3 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2006Q2-base, pkgsrc-2006Q2, pkgsrc-2006Q1-base, pkgsrc-2006Q1, pkgsrc-2005Q4-base, pkgsrc-2005Q4
Changes since 1.9: +7 -7 lines
Diff to previous 1.9 (colored)

Applied all quoting fixes found by "pkglint --autofix".

Revision 1.9 / (download) - annotate - [select for diffs], Sun Jun 26 13:11:22 2005 UTC (13 years, 8 months ago) by minskim
Branch: MAIN
CVS Tags: pkgsrc-2005Q3-base, pkgsrc-2005Q3
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

Darwin>=7.0 does not need devel/dlcompat.

Revision 1.8.2.2 / (download) - annotate - [select for diffs], Sun Nov 28 20:11:32 2004 UTC (14 years, 3 months ago) by tv
Branch: tv-derecurse
CVS Tags: tv-derecurse-eol
Changes since 1.8.2.1: +44 -0 lines
Diff to previous 1.8.2.1 (colored) to branchpoint 1.8 (colored)

Merge from HEAD.

Revision 1.8.2.1, Fri Nov 26 09:32:06 2004 UTC (14 years, 3 months ago) by tv
Branch: tv-derecurse
Changes since 1.8: +0 -44 lines
FILE REMOVED

file dlopen.buildlink3.mk was added on branch tv-derecurse on 2004-11-28 20:11:32 +0000

Revision 1.8 / (download) - annotate - [select for diffs], Fri Nov 26 09:32:06 2004 UTC (14 years, 3 months ago) by jlam
Branch: MAIN
CVS Tags: tv-derecurse-merge, tv-derecurse-base, pkgsrc-2005Q2-base, pkgsrc-2005Q2, pkgsrc-2005Q1-base, pkgsrc-2005Q1, pkgsrc-2004Q4-base, pkgsrc-2004Q4
Branch point for: tv-derecurse
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

Check that USE_BUILTIN.dl is "yes", not that it's just defined.

Revision 1.7 / (download) - annotate - [select for diffs], Fri Nov 26 07:05:19 2004 UTC (14 years, 3 months ago) by jlam
Branch: MAIN
Changes since 1.6: +19 -36 lines
Diff to previous 1.6 (colored)

Split dlopen.buildlink3.mk into two files: dlopen.buildlink3.mk, which
is included by packages that use dlopen(), and dlopen.builtin.mk,
which checks for the presence of built-in dl*() functions.  On Darwin,
including dlopen.buildlink3.mk will cause the devel/dlcompat package
to be used if the base system lacks a dlcompat library.

Revision 1.6 / (download) - annotate - [select for diffs], Fri Nov 26 01:58:47 2004 UTC (14 years, 3 months ago) by jlam
Branch: MAIN
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)

Fix the "MACHINE_PLATFORM" patterns by appending "-*".

Revision 1.5 / (download) - annotate - [select for diffs], Fri Nov 26 01:56:17 2004 UTC (14 years, 3 months ago) by jlam
Branch: MAIN
Changes since 1.4: +25 -1 lines
Diff to previous 1.4 (colored)

Define DL_{CFLAGS,LDFLAGS,LIBS} as compiler/linker flags for building
or linking code that uses dl*() functions.  Also re-structure a bit to
pave the way for a future dlopen.builtin.mk that handles -ldl on some
platforms and dlcompat on Darwin.

Revision 1.4 / (download) - annotate - [select for diffs], Fri Nov 26 01:40:42 2004 UTC (14 years, 3 months ago) by jlam
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

Missing a make variable modifier.

Revision 1.3 / (download) - annotate - [select for diffs], Thu Nov 25 22:18:34 2004 UTC (14 years, 3 months ago) by jlam
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

Don't recursively define _DLOPEN_REQUIRE_PTHREADS.

Revision 1.2 / (download) - annotate - [select for diffs], Thu Nov 25 21:43:19 2004 UTC (14 years, 3 months ago) by jlam
Branch: MAIN
Changes since 1.1: +3 -1 lines
Diff to previous 1.1 (colored)

Only include pthreads if we prefer native pthreads.  This allows building
pkgsrc without any pthreads if we don't want to.

Revision 1.1 / (download) - annotate - [select for diffs], Thu Nov 25 21:33:37 2004 UTC (14 years, 3 months ago) by jlam
Branch: MAIN

dlopen.buildlink3.mk should be added to packages that use dlopen() to
load shared objects.  Some platforms require pthreads to be linked
into the application if it uses dlopen() or else the applications will
core dump when they dlopen a shared module that _is_ linked with
pthread support.  Including dlopen.buildlink3.mk in a package Makefile
will cause pthread.buildlink3.mk to also be included.

It is up to the package to ensure that PTHREAD_{CFLAGS,LDFLAGS,LIBS}
(defined by pthread.buildlink3.mk) are passed to the compiler when
building/linking the applications, possibly by setting PTHREAD_AUTO_VARS
to "yes" in the package Makefile.

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>