The NetBSD Project

CVS log for pkgsrc/mk/

[BACK] Up to [] / pkgsrc / mk

Request diff between arbitrary revisions

Default branch: MAIN
Current tag: MAIN

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

update PKG_{FAIL,SKIP}_REASON with +=

Revision 1.25 / (download) - annotate - [select for diffs], Thu Jan 1 18:55:10 2015 UTC (4 years, 6 months ago) by ryoon
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.24: +3 -3 lines
Diff to previous 1.24 (colored)

Add db6

Revision 1.24 / (download) - annotate - [select for diffs], Wed Jun 2 12:11:52 2010 UTC (9 years, 1 month ago) by adam
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, 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
Changes since 1.23: +3 -3 lines
Diff to previous 1.23 (colored)

Added databases/db5 version 5.0.21

Revision 1.23 / (download) - annotate - [select for diffs], Fri Mar 20 19:25:01 2009 UTC (10 years, 3 months 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.22: +2 -4 lines
Diff to previous 1.22 (colored)

Simply and speed up files and processing.
This changes the 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 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.22 / (download) - annotate - [select for diffs], Wed Nov 26 09:10:30 2008 UTC (10 years, 7 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2008Q4-base, pkgsrc-2008Q4
Changes since 1.21: +7 -2 lines
Diff to previous 1.21 (colored)

Added _VARGROUPS and the source of the error message.

Revision 1.21 / (download) - annotate - [select for diffs], Thu Jan 31 12:45:08 2008 UTC (11 years, 5 months ago) by rillig
Branch: MAIN
CVS Tags: 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.20: +29 -36 lines
Diff to previous 1.20 (colored)

Rewrote the header comment, since it was very hard to understand. Now it
follows the common scheme.

Revision 1.20 / (download) - annotate - [select for diffs], Wed Oct 17 10:43:36 2007 UTC (11 years, 9 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2007Q4-base, pkgsrc-2007Q4
Changes since 1.19: +3 -3 lines
Diff to previous 1.19 (colored)

Made the .include lines simpler.

Revision 1.19 / (download) - annotate - [select for diffs], Sun Jan 14 15:00:54 2007 UTC (12 years, 6 months 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.18: +3 -2 lines
Diff to previous 1.18 (colored)

Inserted an empty line between two paragraphs, so they look a little
more aesthetic.

Revision 1.18 / (download) - annotate - [select for diffs], Sat Nov 4 22:18:41 2006 UTC (12 years, 8 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2006Q4-base, pkgsrc-2006Q4
Changes since 1.17: +20 -15 lines
Diff to previous 1.17 (colored)


Revision 1.17 / (download) - annotate - [select for diffs], Sat Jul 8 23:11:17 2006 UTC (13 years ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2006Q3-base, pkgsrc-2006Q3
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (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 files included as well as the depth at
which they are included.

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


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

Track information in a new variable BUILDLINK_ORDER that informs us
of the order in which files are (recursively) included
by a package Makefile.

Revision 1.15 / (download) - annotate - [select for diffs], Tue Jan 3 18:33:07 2006 UTC (13 years, 6 months ago) by gdt
Branch: MAIN
CVS Tags: pkgsrc-2006Q2-base, pkgsrc-2006Q2, pkgsrc-2006Q1-base, pkgsrc-2006Q1
Changes since 1.14: +41 -9 lines
Diff to previous 1.14 (colored)

Enhances comments to better explain to package authors how this file
should be used, and to motivate the "use only the default version"
approach.  Based on private email with jlam@, but of course errors are mine.

Revision 1.14 / (download) - annotate - [select for diffs], Thu Jul 21 02:54:51 2005 UTC (13 years, 11 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2005Q4-base, pkgsrc-2005Q4, pkgsrc-2005Q3-base, pkgsrc-2005Q3
Changes since 1.13: +3 -5 lines
Diff to previous 1.13 (colored)

databases/db/ was changed a long, long time ago to use
"db2" as the "BUILDLINK_PACKAGES" variable.  Drop the use of
_BDB_PKGBASE.*.  This fixes the settings for BDBBASE and BDB_LIBS if
BDB_DEFAULT is "db2".

Revision 1.13 / (download) - annotate - [select for diffs], Sun Jan 9 23:56:21 2005 UTC (14 years, 6 months ago) by jlam
Branch: MAIN
CVS Tags: tv-derecurse-merge, tv-derecurse-base, pkgsrc-2005Q2-base, pkgsrc-2005Q1-base, pkgsrc-2005Q1
Branch point for: pkgsrc-2005Q2
Changes since 1.12: +41 -70 lines
Diff to previous 1.12 (colored)

Modify so that we choose a single, well-known package
for all Berkeley DB dependencies instead of choosing the best installed
DB package by default:

1. BDB_DEFAULT is set in /etc/mk.conf for the life of pkgsrc and
   represents the package we use when either (1) a db-1.85 interface
   isn't required, or (2) a db-1.85 interface *is* required, but it's
   not builtin.  It defaults to "db4" but can be any of db[234].

2. BDB185_DEFAULT is set in /etc/mk.conf for the life of pkgsrc and
   represents the package we use when a db-1.85 interface is required.
   It defaults to "db1" if it's builtin, or to ${BDB_DEFAULT}

3. If we want db1, then we use the package named in BDB185_DEFAULT.
   If we don't want db1, then we use the package named in BDB_DEFAULT.

4. If ${BDB_DEFAULT} isn't listed in BDB_ACCEPTED for a package, then
   that package will be marked with PKG_FAIL_REASON as "${BDB_DEFAULT}
   not a supported Berkeley DB type for ${PKGNAME}."

Using the above scheme, on NetBSD, the default of BDB_DEFAULT=db4 and
BDB185_DEFAULT=db1 will cause db1 to be used whenever we want a db-1.85
interface and db4 to be used for all other packages.

Revision 1.12 / (download) - annotate - [select for diffs], Mon Nov 15 17:54:49 2004 UTC (14 years, 8 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2004Q4-base, pkgsrc-2004Q4
Branch point for: tv-derecurse
Changes since 1.11: +49 -59 lines
Diff to previous 1.11 (colored)

Rework the Berkeley DB detection in buildlink3:

  * Add a file that detects whether DB-1.85 functionality
    exists in the base system, and remove the distinction between
    "native" and the other Berkeley DB packages -- we now refer to
    db[1234].  This paves the way for any future databases/db1 package.

  * USE_DB185 shouldn't need to be set by any packages -- its correct
    value is now automatically determined by depending
    on whether we explicitly request db1 or not.  By default, if you
    include, you want DB-1.85 functionality and
    USE_DB185 defaults to "yes", but if you explicitly remove db1 from
    the list of acceptable DBs, then USE_DB185 defaults to "no".

  * Set BDB_LIBS to the library options needed to link against the DB
    library when is included.

  * We only add the DB library to the linker command automatically if
    we want DB-1.85 functionality; otherwise assume that the package
    configure process can figure out how to probe for the correct
    headers and libraries.

Edit package Makefiles to nuke redundant settings of USE_DB185.

Revision 1.11 / (download) - annotate - [select for diffs], Sat Jul 10 03:05:46 2004 UTC (15 years ago) by grant
Branch: MAIN
CVS Tags: pkgsrc-2004Q3-base, pkgsrc-2004Q3
Changes since 1.10: +14 -1 lines
Diff to previous 1.10 (colored)

provide BUILDLINK_{CPPFLAGS,LDFLAGS,LIBS}.bdb, taken from whichever db
implementation is being used, including native. tested on NetBSD with
db1 in libc, Linux with db1 in libdb, db2, db3 and db4.

Revision 1.10 / (download) - annotate - [select for diffs], Sun May 30 10:40:02 2004 UTC (15 years, 1 month ago) by grant
Branch: MAIN
CVS Tags: pkgsrc-2004Q2-base, pkgsrc-2004Q2
Changes since 1.9: +4 -6 lines
Diff to previous 1.9 (colored)

correctly set BDB_TYPE when native db is not available, eg. Solaris,
IRIX using the first BDB_ACCEPTED.

Revision 1.9 / (download) - annotate - [select for diffs], Wed May 26 20:26:29 2004 UTC (15 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

Fix typo in comment.

Revision 1.8 / (download) - annotate - [select for diffs], Mon Apr 26 09:39:38 2004 UTC (15 years, 2 months ago) by jlam
Branch: MAIN
Changes since 1.7: +7 -11 lines
Diff to previous 1.7 (colored)

Use a table instead of cascading if..else to dispatch to the correct for inclusion.  Remove reference to BUILDLINK_PREFIX.db2
which doesn't exist (fixed by using the table).

Revision 1.7 / (download) - annotate - [select for diffs], Sun Apr 25 15:06:10 2004 UTC (15 years, 2 months ago) by minskim
Branch: MAIN
Changes since 1.6: +11 -3 lines
Diff to previous 1.6 (colored)

Accept /usr/include/db.h as a valid db-1.85 header file only when
"^\#define.*HASHVERSION.*2$" is found.

Revision 1.6 / (download) - annotate - [select for diffs], Thu Apr 15 11:11:57 2004 UTC (15 years, 3 months ago) by wiz
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

Only add BDBBASE to BUILD_DEFS once.

Revision 1.5 / (download) - annotate - [select for diffs], Mon Apr 12 15:13:30 2004 UTC (15 years, 3 months ago) by minskim
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

"db" is not a valid value for BDB_TYPE; use "db2" instead.

Revision 1.4 / (download) - annotate - [select for diffs], Fri Mar 26 18:48:52 2004 UTC (15 years, 3 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2004Q1-base, pkgsrc-2004Q1
Changes since 1.3: +10 -5 lines
Diff to previous 1.3 (colored)

Reverse the use of USE_DB185 in -- it defaults to
"yes" and packages that can't use the DB-1.85 API should set it to "no".
This makes the native DB the preferred DB if it exists.

Revision 1.3 / (download) - annotate - [select for diffs], Thu Mar 18 09:12:13 2004 UTC (15 years, 4 months ago) by jlam
Branch: MAIN
Changes since 1.2: +21 -21 lines
Diff to previous 1.2 (colored)

Fix serious bug where BUILDLINK_PACKAGES wasn't being ordered properly
by moving the inclusion of 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 file for <pkg> correctly ensured that <pkg> was removed
from BUILDLINK_PACKAGES and appended to the end.  However, since the
inclusion of any other files within that
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], Thu Mar 11 08:33:52 2004 UTC (15 years, 4 months ago) by jlam
Branch: MAIN
Changes since 1.1: +2 -3 lines
Diff to previous 1.1 (colored)

Use the correct PKGBASE when referring to the "db2" package.  Also remove
a pasto that caused using the native bdb to also depend on db4.

Revision 1.1 / (download) - annotate - [select for diffs], Wed Mar 10 18:06:06 2004 UTC (15 years, 4 months ago) by jlam
Branch: MAIN is used to select a Berkeley DB implementation for
use by pkgsrc.  It will automatically depend on either db, db3, or db4
if the native one isn't sufficient.  The two variables that control its
behaviour are:

BDB_DEFAULT is a user-settable variable whose value is the default
       Berkeley DB implementation to use.

BDB_ACCEPTED is a package-settable list of Berkeley DB implementations
       that may be used by the package.

E.g., if you always want to use DB4 as the Berkeley DB for all of the
packages, then you can just set:


in your /etc/mk.conf.

Packages that currently include db*/ should be made to
include instead.

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