Up to [cvs.NetBSD.org] / pkgsrc / mk
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.28 / (download) - annotate - [select for diffs], Sat Jan 13 20:26:47 2024 UTC (3 months ago) by riastradh
Branch: MAIN
CVS Tags: pkgsrc-2024Q1-base,
pkgsrc-2024Q1,
HEAD
Changes since 1.27: +2 -2
lines
Diff to previous 1.27 (colored) to selected 1.15 (colored)
buildlink3, mk/*.builtin.mk: Use TOOLS_CROSS_DESTDIR for file checks. These are always about the target system, which during cross builds, or native builds of cross-libtool-base, is relative to TOOLS_CROSS_DESTDIR. This is necessary for cross-libtool-base -- the one special package that is built as a native package as if it were cross-compiled, so _CROSS_DESTDIR is empty but TOOLS_CROSS_DESTDIR is the cross destdir -- because cross-libtool-base uses buildlink3 and dlopen.builtin.mk. No change to native builds because _CROSS_DESTDIR and TOOLS_CROSS_DESTDIR are both empty in native builds. XXX Perhaps almost every use of _CROSS_DESTDIR outside mk/pkgformat should be replaced by TOOLS_CROSS_DESTDIR.
Revision 1.27 / (download) - annotate - [select for diffs], Sat Nov 23 09:10:14 2013 UTC (10 years, 4 months ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2023Q4-base,
pkgsrc-2023Q4,
pkgsrc-2023Q3-base,
pkgsrc-2023Q3,
pkgsrc-2023Q2-base,
pkgsrc-2023Q2,
pkgsrc-2023Q1-base,
pkgsrc-2023Q1,
pkgsrc-2022Q4-base,
pkgsrc-2022Q4,
pkgsrc-2022Q3-base,
pkgsrc-2022Q3,
pkgsrc-2022Q2-base,
pkgsrc-2022Q2,
pkgsrc-2022Q1-base,
pkgsrc-2022Q1,
pkgsrc-2021Q4-base,
pkgsrc-2021Q4,
pkgsrc-2021Q3-base,
pkgsrc-2021Q3,
pkgsrc-2021Q2-base,
pkgsrc-2021Q2,
pkgsrc-2021Q1-base,
pkgsrc-2021Q1,
pkgsrc-2020Q4-base,
pkgsrc-2020Q4,
pkgsrc-2020Q3-base,
pkgsrc-2020Q3,
pkgsrc-2020Q2-base,
pkgsrc-2020Q2,
pkgsrc-2020Q1-base,
pkgsrc-2020Q1,
pkgsrc-2019Q4-base,
pkgsrc-2019Q4,
pkgsrc-2019Q3-base,
pkgsrc-2019Q3,
pkgsrc-2019Q2-base,
pkgsrc-2019Q2,
pkgsrc-2019Q1-base,
pkgsrc-2019Q1,
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-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
Changes since 1.26: +3 -5
lines
Diff to previous 1.26 (colored) to selected 1.15 (colored)
Use find-headers instead of find-files to detect builtin header files.
Revision 1.26 / (download) - annotate - [select for diffs], Fri Nov 1 11:58:48 2013 UTC (10 years, 5 months ago) by jperkin
Branch: MAIN
Changes since 1.25: +5 -8
lines
Diff to previous 1.25 (colored) to selected 1.15 (colored)
Move platform-specific code to the platform file.
Revision 1.25 / (download) - annotate - [select for diffs], Sun Apr 28 13:43:55 2013 UTC (10 years, 11 months ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2013Q3-base,
pkgsrc-2013Q3,
pkgsrc-2013Q2-base,
pkgsrc-2013Q2
Changes since 1.24: +6 -2
lines
Diff to previous 1.24 (colored) to selected 1.15 (colored)
Fixes builtin dl prefix other than /usr.
Revision 1.24 / (download) - annotate - [select for diffs], Fri May 4 08:31:14 2012 UTC (11 years, 11 months ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2013Q1-base,
pkgsrc-2013Q1,
pkgsrc-2012Q4-base,
pkgsrc-2012Q4,
pkgsrc-2012Q3-base,
pkgsrc-2012Q3,
pkgsrc-2012Q2-base,
pkgsrc-2012Q2
Changes since 1.23: +3 -2
lines
Diff to previous 1.23 (colored) to selected 1.15 (colored)
dlopen require pthread on OpenBSD too.
Revision 1.23 / (download) - annotate - [select for diffs], Sun Jul 4 16:25:13 2010 UTC (13 years, 9 months ago) by obache
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
Changes since 1.22: +5 -2
lines
Diff to previous 1.22 (colored) to selected 1.15 (colored)
Add builtin support for Haiku.
Revision 1.22 / (download) - annotate - [select for diffs], Thu Jun 17 18:09:40 2010 UTC (13 years, 10 months ago) by drochner
Branch: MAIN
CVS Tags: pkgsrc-2010Q2-base,
pkgsrc-2010Q2
Changes since 1.21: +45 -0
lines
Diff to previous 1.21 (colored) to selected 1.15 (colored)
back out previous -- it can cause problems at least with apache-1, and fixing things is too much during freeze
Revision 1.21 / (download) - annotate - [select for diffs], Wed Jun 16 19:57:08 2010 UTC (13 years, 10 months ago) by drochner
Branch: MAIN
Changes since 1.20: +1 -46
lines
Diff to previous 1.20 (colored) to selected 1.15 (colored)
drop the rule that programs which use dlopen() must link against libpthread -- it is generally under the program's control which modules to load, a general rule is just too much I've been using this modification for over a year without problems.
Revision 1.20 / (download) - annotate - [select for diffs], Fri Mar 20 19:25:01 2009 UTC (15 years, 1 month ago) by joerg
Branch: MAIN
CVS Tags: 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.19: +1 -3
lines
Diff to previous 1.19 (colored) to selected 1.15 (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.19 / (download) - annotate - [select for diffs], Fri Jan 23 14:21:38 2009 UTC (15 years, 2 months ago) by obache
Branch: MAIN
Changes since 1.18: +5 -2
lines
Diff to previous 1.18 (colored) to selected 1.15 (colored)
Update DLOPEN_REQUIRE_PTHREADS pattern again. Even on NetBSD>=5, need to link pthread if using pthread_create()/join().
Revision 1.18 / (download) - annotate - [select for diffs], Fri Jan 23 13:07:25 2009 UTC (15 years, 2 months ago) by obache
Branch: MAIN
Changes since 1.17: +2 -2
lines
Diff to previous 1.17 (colored) to selected 1.15 (colored)
Fixes DLOPEN_REQUIRE_PTHREADS patterns. NetBSD-3 was lost by previous commit, and NetBSD-5_BETA does not require pthread. (TODO: 4.99.*...)
Revision 1.17 / (download) - annotate - [select for diffs], Fri Jan 23 11:23:28 2009 UTC (15 years, 2 months ago) by obache
Branch: MAIN
Changes since 1.16: +2 -3
lines
Diff to previous 1.16 (colored) to selected 1.15 (colored)
Added NetBSD>=4 to the list of platforms which need pthreads linked into the application if it uses dlopen(). This pattern should be changed if confirmed fixed in NetBSD-current.
Revision 1.16 / (download) - annotate - [select for diffs], Wed Oct 3 08:56:07 2007 UTC (16 years, 6 months ago) by heinz
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,
cwrapper,
cube-native-xorg-base,
cube-native-xorg
Changes since 1.15: +2 -1
lines
Diff to previous 1.15 (colored)
Additional pattern matching NetBSD-3.1_STABLE-i386, forgotten in the last commit (Thanks to Jukka Salmi for noting this).
Revision 1.15 / (download) - annotate - [selected], Tue Oct 2 16:20:05 2007 UTC (16 years, 6 months ago) by heinz
Branch: MAIN
Changes since 1.14: +3 -2
lines
Diff to previous 1.14 (colored)
Added NetBSD 3 to the list of platforms which need pthreads linked into the application if it uses dlopen(). This change was triggered by the longstanding bug that mod_perl (due to perl itself) was built with threads but apache was not, thus leading to incompatibility between apache and mod_perl. Whether NetBSD 4 needs to be added as well is still an open question.
Revision 1.6.2.7, Wed Jun 7 15:25:39 2006 UTC (17 years, 10 months ago) by tv
Branch: tv-derecurse
Changes since 1.6.2.6: +0 -87
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.14 / (download) - annotate - [select for diffs], Sun Jun 26 13:11:22 2005 UTC (18 years, 9 months ago) by minskim
Branch: MAIN
CVS Tags: pkgsrc-2007Q2-base,
pkgsrc-2007Q2,
pkgsrc-2007Q1-base,
pkgsrc-2007Q1,
pkgsrc-2006Q4-base,
pkgsrc-2006Q4,
pkgsrc-2006Q3-base,
pkgsrc-2006Q3,
pkgsrc-2006Q2-base,
pkgsrc-2006Q2,
pkgsrc-2006Q1-base,
pkgsrc-2006Q1,
pkgsrc-2005Q4-base,
pkgsrc-2005Q4,
pkgsrc-2005Q3-base,
pkgsrc-2005Q3,
jlam-pkgviews-base,
jlam-pkgviews
Changes since 1.13: +4 -4
lines
Diff to previous 1.13 (colored) to selected 1.15 (colored)
Darwin>=7.0 does not need devel/dlcompat.
Revision 1.13 / (download) - annotate - [select for diffs], Thu Jun 9 05:59:51 2005 UTC (18 years, 10 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2005Q2-base,
pkgsrc-2005Q2
Changes since 1.12: +6 -1
lines
Diff to previous 1.12 (colored) to selected 1.15 (colored)
Clarify why dlopen.builtin.mk ignores PREFER_* values.
Revision 1.12 / (download) - annotate - [select for diffs], Wed Jun 8 08:13:05 2005 UTC (18 years, 10 months ago) by jlam
Branch: MAIN
Changes since 1.11: +4 -22
lines
Diff to previous 1.11 (colored) to selected 1.15 (colored)
The USE_BUILTIN.dl code got too complex in the previous commit. Simplify it so that USE_BUILTIN.dl is simply IS_BUILTIN.dl except for Darwin's special case. This makes PREFER_PKGSRC=yes work again on NetBSD instead of causing USE_BUILTIN.dl=no to be set, which is impossible.
Revision 1.11 / (download) - annotate - [select for diffs], Wed Jun 1 18:03:06 2005 UTC (18 years, 10 months ago) by jlam
Branch: MAIN
Changes since 1.10: +65 -37
lines
Diff to previous 1.10 (colored) to selected 1.15 (colored)
Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. Several changes are involved since they are all interrelated. These changes affect about 1000 files. The first major change is rewriting bsd.builtin.mk as well as all of the builtin.mk files to follow the new example in bsd.builtin.mk. The loop to include all of the builtin.mk files needed by the package is moved from bsd.builtin.mk and into bsd.buildlink3.mk. bsd.builtin.mk is now included by each of the individual builtin.mk files and provides some common logic for all of the builtin.mk files. Currently, this includes the computation for whether the native or pkgsrc version of the package is preferred. This causes USE_BUILTIN.* to be correctly set when one builtin.mk file includes another. The second major change is teach the builtin.mk files to consider files under ${LOCALBASE} to be from pkgsrc-controlled packages. Most of the builtin.mk files test for the presence of built-in software by checking for the existence of certain files, e.g. <pthread.h>, and we now assume that if that file is under ${LOCALBASE}, then it must be from pkgsrc. This modification is a nod toward LOCALBASE=/usr. The exceptions to this new check are the X11 distribution packages, which are handled specially as noted below. The third major change is providing builtin.mk and version.mk files for each of the X11 distribution packages in pkgsrc. The builtin.mk file can detect whether the native X11 distribution is the same as the one provided by pkgsrc, and the version.mk file computes the version of the X11 distribution package, whether it's built-in or not. The fourth major change is that the buildlink3.mk files for X11 packages that install parts which are part of X11 distribution packages, e.g. Xpm, Xcursor, etc., now use imake to query the X11 distribution for whether the software is already provided by the X11 distribution. This is more accurate than grepping for a symbol name in the imake config files. Using imake required sprinkling various builtin-imake.mk helper files into pkgsrc directories. These files are used as input to imake since imake can't use stdin for that purpose. The fifth major change is in how packages note that they use X11. Instead of setting USE_X11, package Makefiles should now include x11.buildlink3.mk instead. This causes the X11 package buildlink3 and builtin logic to be executed at the correct place for buildlink3.mk and builtin.mk files that previously set USE_X11, and fixes packages that relied on buildlink3.mk files to implicitly note that X11 is needed. Package buildlink3.mk should also include x11.buildlink3.mk when linking against the package libraries requires also linking against the X11 libraries. Where it was obvious, redundant inclusions of x11.buildlink3.mk have been removed.
Revision 1.7.2.1 / (download) - annotate - [select for diffs], Sat Jan 29 00:30:08 2005 UTC (19 years, 2 months ago) by salo
Branch: pkgsrc-2004Q4
Changes since 1.7: +3 -2
lines
Diff to previous 1.7 (colored) next main 1.8 (colored) to selected 1.15 (colored)
Pullup ticket 251 - requested by Johnny C. Lam compatibility fix for dlopen.builtin.mk Revisions pulled up: - pkgsrc/mk/dlopen.builtin.mk 1.10 Module Name: pkgsrc Committed By: jlam Date: Thu Jan 20 15:22:39 UTC 2005 Modified Files: pkgsrc/mk: dlopen.builtin.mk Log Message: Also match NetBSD security releases, e.g. 2.0.1, when deciding whether using dlopen() implies linking against libpthread. Idea for fix from PR pkg/29022 and probably also fixes PR pkg/28800.
Revision 1.6.2.6 / (download) - annotate - [select for diffs], Mon Jan 24 18:40:01 2005 UTC (19 years, 2 months ago) by tv
Branch: tv-derecurse
CVS Tags: tv-derecurse-eol
Changes since 1.6.2.5: +3 -2
lines
Diff to previous 1.6.2.5 (colored) to selected 1.15 (colored)
sync with HEAD
Revision 1.10 / (download) - annotate - [select for diffs], Thu Jan 20 15:22:39 2005 UTC (19 years, 3 months ago) by jlam
Branch: MAIN
CVS Tags: tv-derecurse-merge,
tv-derecurse-base,
pkgsrc-2005Q1-base,
pkgsrc-2005Q1
Changes since 1.9: +3 -2
lines
Diff to previous 1.9 (colored) to selected 1.15 (colored)
Also match NetBSD security releases, e.g. 2.0.1, when deciding whether using dlopen() implies linking against libpthread. Idea for fix from PR pkg/29022 and probably also fixes PR pkg/28800.
Revision 1.6.2.5 / (download) - annotate - [select for diffs], Mon Jan 10 16:15:25 2005 UTC (19 years, 3 months ago) by tv
Branch: tv-derecurse
Changes since 1.6.2.4: +2 -2
lines
Diff to previous 1.6.2.4 (colored) to selected 1.15 (colored)
sync with HEAD
Revision 1.9 / (download) - annotate - [select for diffs], Mon Jan 3 04:57:51 2005 UTC (19 years, 3 months ago) by minskim
Branch: MAIN
Changes since 1.8: +2 -2
lines
Diff to previous 1.8 (colored) to selected 1.15 (colored)
Make IS_BUILTIN.dl work on Interix. Patch provided by Hiramatsu Yoshifumi in PR pkg/28836.
Revision 1.6.2.4 / (download) - annotate - [select for diffs], Fri Dec 31 20:25:30 2004 UTC (19 years, 3 months ago) by tv
Branch: tv-derecurse
Changes since 1.6.2.3: +1 -3
lines
Diff to previous 1.6.2.3 (colored) to selected 1.15 (colored)
sync with HEAD
Revision 1.8 / (download) - annotate - [select for diffs], Thu Dec 23 14:27:04 2004 UTC (19 years, 3 months ago) by jlam
Branch: MAIN
Changes since 1.7: +1 -3
lines
Diff to previous 1.7 (colored) to selected 1.15 (colored)
Don't remove library options from the command line quite so aggressively. Allow the configure process a chance to detect on its own whether the named library exists or not by allowing those library options to pass through to the compiler on a test compile. A package that *needs* those library options to be removed can add the appropriate rm: BUILDLINK_TRANSFORM command to its package Makefile.
Revision 1.6.2.3 / (download) - annotate - [select for diffs], Fri Dec 3 19:15:00 2004 UTC (19 years, 4 months ago) by tv
Branch: tv-derecurse
Changes since 1.6.2.2: +3 -1
lines
Diff to previous 1.6.2.2 (colored) to selected 1.15 (colored)
sync with HEAD
Revision 1.7 / (download) - annotate - [select for diffs], Thu Dec 2 15:04:16 2004 UTC (19 years, 4 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2004Q4-base
Branch point for: pkgsrc-2004Q4
Changes since 1.6: +3 -1
lines
Diff to previous 1.6 (colored) to selected 1.15 (colored)
If we're using the builtin dlopen(), and libdl.* doesn't exist, then drop the "-ldl" option on the floor. This "fixes" packages that hardcode "-ldl" into the command line when linking software.
Revision 1.6.2.2 / (download) - annotate - [select for diffs], Sun Nov 28 20:11:32 2004 UTC (19 years, 4 months ago) by tv
Branch: tv-derecurse
Changes since 1.6.2.1: +86 -0
lines
Diff to previous 1.6.2.1 (colored) to selected 1.15 (colored)
Merge from HEAD.
Revision 1.6.2.1, Sun Nov 28 05:44:34 2004 UTC (19 years, 4 months ago) by tv
Branch: tv-derecurse
Changes since 1.6: +0 -86
lines
FILE REMOVED
file dlopen.builtin.mk was added on branch tv-derecurse on 2004-11-28 20:11:32 +0000
Revision 1.6 / (download) - annotate - [select for diffs], Sun Nov 28 05:44:34 2004 UTC (19 years, 4 months ago) by jlam
Branch: MAIN
Branch point for: tv-derecurse
Changes since 1.5: +6 -6
lines
Diff to previous 1.5 (colored) to selected 1.15 (colored)
Reverse the tests so that we actually check for the existence and not the non-existence of the library -- this more accurately reflects what we want to say.
Revision 1.5 / (download) - annotate - [select for diffs], Fri Nov 26 21:04:46 2004 UTC (19 years, 4 months ago) by jlam
Branch: MAIN
Changes since 1.4: +3 -2
lines
Diff to previous 1.4 (colored) to selected 1.15 (colored)
Match NetBSD-2.x_RCn as well as NetBSD-2.x.
Revision 1.4 / (download) - annotate - [select for diffs], Fri Nov 26 17:42:42 2004 UTC (19 years, 4 months ago) by jlam
Branch: MAIN
Changes since 1.3: +22 -22
lines
Diff to previous 1.3 (colored) to selected 1.15 (colored)
Move the section that defines DLOPEN_REQUIRE_PTHREAD outside of the CHECK_BUILTIN.dl-protected section so that it's value can be usd after dlopen.buildlink3.mk is included. This should fix PR pkg/28422.
Revision 1.3 / (download) - annotate - [select for diffs], Fri Nov 26 08:26:51 2004 UTC (19 years, 4 months ago) by jlam
Branch: MAIN
Changes since 1.2: +6 -2
lines
Diff to previous 1.2 (colored) to selected 1.15 (colored)
Don't auto-add -ldl to LIBS since most GNU configure scripts already check for this condition.
Revision 1.2 / (download) - annotate - [select for diffs], Fri Nov 26 08:15:25 2004 UTC (19 years, 4 months ago) by jlam
Branch: MAIN
Changes since 1.1: +5 -3
lines
Diff to previous 1.1 (colored) to selected 1.15 (colored)
Move all dlopen-handling code into dlopen.{builtin,buildlink3}.mk.
Revision 1.1 / (download) - annotate - [select for diffs], Fri Nov 26 07:05:19 2004 UTC (19 years, 4 months ago) by jlam
Branch: MAIN
Diff to selected 1.15 (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.