The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.32 / (download) - annotate - [select for diffs], Mon Apr 11 04:22:34 2016 UTC (2 years, 11 months ago) by dbj
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-, HEAD
Changes since 1.31: +4 -4 lines
Diff to previous 1.31 (colored)

update PKG_{FAIL,SKIP}_REASON with +=

Revision 1.31 / (download) - annotate - [select for diffs], Thu Jan 1 07:51:47 2015 UTC (4 years, 2 months ago) by dholland
Branch: MAIN
CVS Tags: pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1
Changes since 1.30: +3 -3 lines
Diff to previous 1.30 (colored)

Use PKG_SKIP_REASON instead of PKG_FAIL_REASON for some cases where
the problem is either situational (e.g. the various RESTRICTED-like
cases) or unfixable in pkgsrc (no pthreads, ipv6, etc. on platform).

Conversely, if the wrong version of mysql is installed, that's a
PKG_FAIL_REASON.

Revision 1.30 / (download) - annotate - [select for diffs], Fri Nov 1 12:19:29 2013 UTC (5 years, 4 months ago) by jperkin
Branch: MAIN
CVS Tags: 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
Changes since 1.29: +10 -4 lines
Diff to previous 1.29 (colored)

Use pthread.builtin.mk to do builtin checks rather than performing our
own version.

Revision 1.29 / (download) - annotate - [select for diffs], Sat Feb 6 11:06:19 2010 UTC (9 years, 1 month ago) by obache
Branch: MAIN
CVS Tags: 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
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored)

Haiku does not have /usr/include/pthread.h,
but have native pthread support and pthread.h in include path.

Revision 1.28 / (download) - annotate - [select for diffs], Fri Mar 20 19:25:01 2009 UTC (10 years ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2009Q4-base, pkgsrc-2009Q4, pkgsrc-2009Q3-base, pkgsrc-2009Q3, pkgsrc-2009Q2-base, pkgsrc-2009Q2, pkgsrc-2009Q1-base, pkgsrc-2009Q1
Changes since 1.27: +2 -4 lines
Diff to previous 1.27 (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.27 / (download) - annotate - [select for diffs], Wed Jan 23 17:35:20 2008 UTC (11 years, 2 months ago) by tnn
Branch: MAIN
CVS Tags: pkgsrc-2008Q4-base, pkgsrc-2008Q4, pkgsrc-2008Q3-base, pkgsrc-2008Q3, pkgsrc-2008Q2-base, pkgsrc-2008Q2, pkgsrc-2008Q1-base, pkgsrc-2008Q1, cwrapper, cube-native-xorg-base, cube-native-xorg
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored)

Use bsd.fast.prefs.mk in some very commonly included locations.

Revision 1.26 / (download) - annotate - [select for diffs], Wed Nov 7 07:49:02 2007 UTC (11 years, 4 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2007Q4-base, pkgsrc-2007Q4
Changes since 1.25: +5 -1 lines
Diff to previous 1.25 (colored)

Made "show-all-pthread" work.

Revision 1.25 / (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-2007Q3-base, pkgsrc-2007Q3, pkgsrc-2007Q2-base, pkgsrc-2007Q2, pkgsrc-2007Q1-base, pkgsrc-2007Q1, jlam-pkgviews-base, jlam-pkgviews
Changes since 1.24: +4 -4 lines
Diff to previous 1.24 (colored)

Replaced the deprecated PKG_SKIP_REASON with PKG_FAIL_REASON.

Revision 1.24 / (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.23: +2 -2 lines
Diff to previous 1.23 (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.23 / (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.22: +2 -1 lines
Diff to previous 1.22 (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.17.2.4, Wed Jun 7 15:25:39 2006 UTC (12 years, 9 months ago) by tv
Branch: tv-derecurse
Changes since 1.17.2.3: +1 -1 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.22 / (download) - annotate - [select for diffs], Thu Apr 6 06:23:06 2006 UTC (12 years, 11 months ago) by reed
Branch: MAIN
CVS Tags: pkgsrc-2006Q2-base, pkgsrc-2006Q2
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (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.21 / (download) - annotate - [select for diffs], Fri Nov 4 14:36:23 2005 UTC (13 years, 4 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2006Q1-base, pkgsrc-2006Q1, pkgsrc-2005Q4-base, pkgsrc-2005Q4
Changes since 1.20: +41 -79 lines
Diff to previous 1.20 (colored)

Shortened and restructured the header comment. Now the interface to this
file is described in terms of input and output variables.

Revision 1.17.2.3 / (download) - annotate - [select for diffs], Tue May 17 18:29:44 2005 UTC (13 years, 10 months ago) by tv
Branch: tv-derecurse
CVS Tags: tv-derecurse-eol
Changes since 1.17.2.2: +9 -9 lines
Diff to previous 1.17.2.2 (colored)

sync [all but bsd.pkg.mk] with HEAD

Revision 1.20 / (download) - annotate - [select for diffs], Wed Apr 13 16:16:50 2005 UTC (13 years, 11 months ago) by rillig
Branch: MAIN
CVS Tags: tv-derecurse-merge, pkgsrc-2005Q3-base, pkgsrc-2005Q3, pkgsrc-2005Q2-base, pkgsrc-2005Q2
Changes since 1.19: +10 -10 lines
Diff to previous 1.19 (colored)

Fixed quoting errors. Approved by jlam.

Revision 1.17.2.2 / (download) - annotate - [select for diffs], Tue Nov 30 15:06:34 2004 UTC (14 years, 3 months ago) by tv
Branch: tv-derecurse
Changes since 1.17.2.1: +1 -1 lines
Diff to previous 1.17.2.1 (colored)

merge from HEAD

Revision 1.19 / (download) - annotate - [select for diffs], Mon Nov 29 17:27:14 2004 UTC (14 years, 3 months ago) by seb
Branch: MAIN
CVS Tags: tv-derecurse-base, pkgsrc-2005Q1-base, pkgsrc-2005Q1, pkgsrc-2004Q4-base, pkgsrc-2004Q4
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)

Since last revision PTHREAD_AUTO_VARS defaults to 'no'.

Revision 1.17.2.1 / (download) - annotate - [select for diffs], Sun Nov 28 20:11:32 2004 UTC (14 years, 3 months ago) by tv
Branch: tv-derecurse
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

Merge from HEAD.

Revision 1.18 / (download) - annotate - [select for diffs], Thu Nov 25 19:34:03 2004 UTC (14 years, 4 months ago) by jlam
Branch: MAIN
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

Default PTHREAD_AUTO_VARS to the safer value of "no".  Most packages
that use pthreads already implement their own probes for pthreads, so
we don't need to auto-add the compiler/linker flags.

Revision 1.17 / (download) - annotate - [select for diffs], Wed Nov 17 21:05:24 2004 UTC (14 years, 4 months ago) by jlam
Branch: MAIN
Branch point for: tv-derecurse
Changes since 1.16: +10 -1 lines
Diff to previous 1.16 (colored)

PTHREAD_AUTO_VARS is "yes" or "no" for whether the values of the
variables PTHREAD_{CFLAGS,CPPFLAGS,LDFLAGS,LIBS} should be automatically
added to their respective variables.  Defaults to "yes".

Packages that only require some parts to be linked the the pthreads
compiler/linker options should set this to "no" and selectively add
those options via patches to the right makefiles..

Revision 1.16 / (download) - annotate - [select for diffs], Fri Nov 12 22:34:15 2004 UTC (14 years, 4 months ago) by jlam
Branch: MAIN
Changes since 1.15: +1 -2 lines
Diff to previous 1.15 (colored)

Move PREFER_NATIVE_PTHREADS default setting to from pthread.buildlink3.mk
to defaults/mk.conf, where all defaults should live.

Revision 1.15 / (download) - annotate - [select for diffs], Fri Nov 12 06:39:20 2004 UTC (14 years, 4 months ago) by jlam
Branch: MAIN
Changes since 1.14: +1 -2 lines
Diff to previous 1.14 (colored)

Remove redundant uses of PTHREAD_{CFLAGS,LDFLAGS} now that they're added
automatically by pthread.buildlink3.mk.  Also, factor out the pthread
library out of PTHREAD_LDFLAGS into a standalone variable PTHREAD_LIBS
and use it in packages where necessary (usually the ones that don't
have a GNU configure script).

Revision 1.14 / (download) - annotate - [select for diffs], Fri Nov 12 05:20:01 2004 UTC (14 years, 4 months ago) by jlam
Branch: MAIN
Changes since 1.13: +26 -45 lines
Diff to previous 1.13 (colored)

(1) Split out the native (built-in) pthread detection in
    pthread.buildlink3.mk into a separate file, pthread.builtin.mk,
    that is handled using the usual builtin.mk logic.

(2) If pthread.buildlink3.mk is included by a package Makefile, then
    automatically add the necessary compiler and linker flags to
    compile and link pthread-enabled/reentrant code.  For native
    pthreads, this means passing -pthread to the compiler and linker.
    For the userland pthread replacement, we pass -D_REENTRANT and
    -lpthread instead.

(3) Add PTHREAD_{CFLAGS,LDFLAGS,LIBS} in both CONFIGURE_ENV and MAKE_ENV
    when pthread.buildlink3.mk is included so that the configure and
    build processes can use these values.  Remove these definitions
    from bsd.pkg.mk since PTHREAD_* variables are all declared within
    pthread.buildlink3.mk.

XXX For now, PTHREAD_LDFLAGS is a superset of PTHREAD_LIBS until
XXX packages that use use PTHREAD_LDFLAGS can be fixed.

Revision 1.13 / (download) - annotate - [select for diffs], Wed Nov 10 18:46:07 2004 UTC (14 years, 4 months ago) by jlam
Branch: MAIN
Changes since 1.12: +1 -3 lines
Diff to previous 1.12 (colored)

Backout previous pending further testing.  There are rumors of problems
with -pthread/-pthreads GCC options detection that may be difficult to
overcome.

Revision 1.12 / (download) - annotate - [select for diffs], Wed Nov 10 17:29:37 2004 UTC (14 years, 4 months ago) by jlam
Branch: MAIN
Changes since 1.11: +3 -1 lines
Diff to previous 1.11 (colored)

If we are using native pthreads, then add "pthread" to BUILDLINK_PACKAGES
so that the buildlink3 framework knows to use the various
BUILDLINK_*.pthread variables.  This fixes a long-standing and long-
overlooked bug in pthread.buildlink3.mk that has existed since the
buildlink3 framework was initially committed.

As a result of this change, modifications to packages to introduce
PTHREAD_{CFLAGS,LDFLAGS} in various places to either the configure script
or into Makefiles are probably no longer needed.

Revision 1.11 / (download) - annotate - [select for diffs], Tue Jul 27 11:30:55 2004 UTC (14 years, 8 months ago) by xtraeme
Branch: MAIN
CVS Tags: pkgsrc-2004Q3-base, pkgsrc-2004Q3
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

eww, replace another [ with ${TEST}.

Revision 1.10 / (download) - annotate - [select for diffs], Tue Jul 27 11:28:41 2004 UTC (14 years, 8 months ago) by xtraeme
Branch: MAIN
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)

s/echo/${ECHO}/

Revision 1.9 / (download) - annotate - [select for diffs], Thu Jul 1 13:09:39 2004 UTC (14 years, 8 months ago) by wiz
Branch: MAIN
Changes since 1.8: +2 -3 lines
Diff to previous 1.8 (colored)

Do not use continuation -- line is short
enough, and this silences a pkglint warning.

Revision 1.8 / (download) - annotate - [select for diffs], Mon Jun 21 21:57:00 2004 UTC (14 years, 9 months ago) by xtraeme
Branch: MAIN
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

Check for libpthread.so.* file with -f instead of echo as suggested by
grant, because previous check was not working fine, I tested it under
OpenBSD 3.5 and now just works.

Revision 1.7 / (download) - annotate - [select for diffs], Mon Jun 21 00:06:37 2004 UTC (14 years, 9 months ago) by xtraeme
Branch: MAIN
Changes since 1.6: +12 -1 lines
Diff to previous 1.6 (colored)

Under OpenBSD there is no libpthread.so, just libpthread.so.X.X, and
BUILDLINK_LDADD.pthread was empty, so add a check to find the libraries
and if they are found, add -lpthread to BUILDLINK_LDADD.pthread, thanks
to grant beattie for the suggestion.

Reported and tested by Sergio Jimenez <tripledes at eslack dot org>.

Revision 1.6 / (download) - annotate - [select for diffs], Sat Jun 12 03:19:52 2004 UTC (14 years, 9 months ago) by grant
Branch: MAIN
CVS Tags: pkgsrc-2004Q2-base, pkgsrc-2004Q2
Changes since 1.5: +10 -2 lines
Diff to previous 1.5 (colored)

when using native threads, only set BUILDLINK_CFLAGS.pthread=-pthread on
systems known to support its (FreeBSD, NetBSD, Linux).

fixes breakage caused by passing -pthread to SunPro cc(1) and likely
also fixes platforms other than the above.

Revision 1.5 / (download) - annotate - [select for diffs], Wed Mar 31 20:18:46 2004 UTC (14 years, 11 months ago) by seb
Branch: MAIN
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored)

revert previous.

Revision 1.4 / (download) - annotate - [select for diffs], Mon Mar 29 15:16:58 2004 UTC (14 years, 11 months ago) by seb
Branch: MAIN
Changes since 1.3: +4 -4 lines
Diff to previous 1.3 (colored)

When PTHREAD_TYPE is 'native' set USE_BUILTIN.pthread to YES and
add 'pthread' to BUILDLINK_PACKAGES so that
BUILDLINK_{{LD,C}FLAGS,LDADD}.pthread actually have an effect.

This should fix the build of at least tcl/tk related packages now
that tcl and tk packages are thread-aware.

Remove comments about linking native pthread libraries and headers into
${BUILDLINK_DIR} as this does not happen.

Revision 1.3 / (download) - annotate - [select for diffs], Thu Mar 18 09:12:13 2004 UTC (15 years ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2004Q1-base, pkgsrc-2004Q1
Changes since 1.2: +5 -5 lines
Diff to previous 1.2 (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.2 / (download) - annotate - [select for diffs], Sun Jan 25 16:17:37 2004 UTC (15 years, 2 months ago) by jlam
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

Append to BUILDLINK_DEPENDS.<pkg> instead of overriding it so that the
most restrictive dependency is always part of the DEPENDS/BUILD_DEPENDS
list.

Revision 1.1 / (download) - annotate - [select for diffs], Sat Jan 3 23:06:44 2004 UTC (15 years, 2 months ago) by jlam
Branch: MAIN

Initial sprinkling of work-in-progress buildlink3.mk files for using the
buildlink3 framework.

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>