The NetBSD Project

CVS log for pkgsrc/pkgtools/libnbcompat/buildlink3.mk

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / pkgtools / libnbcompat

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.20: download - view: text, markup, annotated - select for diffs
Tue Feb 18 13:06:28 2025 UTC (20 months, 3 weeks ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base, pkgsrc-2026Q3, pkgsrc-2026Q2-base, pkgsrc-2026Q2, pkgsrc-2026Q1-base, pkgsrc-2026Q1, pkgsrc-2025Q4-base, pkgsrc-2025Q4, pkgsrc-2025Q3-base, pkgsrc-2025Q3, pkgsrc-2025Q2-base, pkgsrc-2025Q2, pkgsrc-2025Q1-base, pkgsrc-2025Q1, HEAD
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +9 -19 lines
libnbcompat: Convert to a proper package.

Building this inline meant an excessive number of copies were built
during bootstrap, one for every package that required it.  Now only
one package is built, significantly reducing bootstrap time.

From Jonathan Perkin <jperkin@smartos.org>
via drecklypkg commit b671d8cd0be775fe2245d1cb5ba402f17ae95e94

Revision 1.19
Thu Sep 6 21:29:26 2007 UTC (19 years, 2 months ago) by jlam
Branches: MAIN
CVS tags: pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2012Q4-base, pkgsrc-2012Q4, pkgsrc-2011Q4-base, pkgsrc-2011Q4, pkgsrc-2011Q2-base, pkgsrc-2011Q2, pkgsrc-2009Q4-base, pkgsrc-2009Q4, 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-base, cwrapper, cube-native-xorg-base, cube-native-xorg
FILE REMOVED
Changes since revision 1.18: +1 -1 lines
Drop libnbcompat/buildlink3.mk and force all packages that use
libnbcompat to use it "in place".  libnbcompat is just really special,
and is of almost no use to anything other than the pkgsrc bootstrap
process.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Thu May 31 10:18:49 2007 UTC (19 years, 5 months ago) by rillig
Branches: MAIN
CVS tags: pkgsrc-2007Q2-base, pkgsrc-2007Q2
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -1 lines
Updated libnbcompat to 20070531.

Changes since 20070507:

Completely rewrote the fgetln implementation, since the previous version
couldn't handle files that don't end with a '\n' character. Tested on IRIX,
NetBSD and Solaris.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Sat Jul 8 23:11:05 2006 UTC (20 years, 4 months ago) by jlam
Branches: MAIN
CVS tags: pkgsrc-2007Q1-base, pkgsrc-2007Q1, pkgsrc-2006Q4-base, pkgsrc-2006Q4, pkgsrc-2006Q3-base, pkgsrc-2006Q3
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +2 -2 lines
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.16: download - view: text, markup, annotated - select for diffs
Sat Jul 8 22:39:34 2006 UTC (20 years, 4 months ago) by jlam
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -1 lines
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.15: download - view: text, markup, annotated - select for diffs
Sun Jul 2 10:30:30 2006 UTC (20 years, 4 months ago) by rillig
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +5 -6 lines
Indented the make directives properly to fix pkglint warnings.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Wed Apr 12 10:27:31 2006 UTC (20 years, 7 months ago) by rillig
Branches: MAIN
CVS tags: pkgsrc-2006Q2-base, pkgsrc-2006Q2
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -2 lines
Aligned the last line of the buildlink3.mk files with the first line, so
that they look nicer.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Thu Apr 6 06:22:36 2006 UTC (20 years, 7 months ago) by reed
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -2 lines
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.12: download - view: text, markup, annotated - select for diffs
Sat Sep 11 19:05:16 2004 UTC (22 years, 2 months ago) by jlam
Branches: MAIN
CVS tags: pkgsrc-2006Q1-base, pkgsrc-2006Q1, 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, pkgsrc-2004Q3-base, pkgsrc-2004Q3
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -2 lines
Bump build dependency to latest libnbcompat.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Mon Aug 23 03:32:12 2004 UTC (22 years, 2 months ago) by jlam
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -2 lines
Update pkgtools/libnbcompat to 20040822.  Changes from version 20040814
include:

* Rework the way that poll() is detected so that it more closely
  follows how the rest of the replacement functions are detected.

* Split err*() and warn*() functions into separate err.c and warn.c
  files so that we can more finely isolate the objects files pulled
  in by the linker.  This should fix building textproc/nbsed on Solaris.

* Move more definitions from nbcompat.h into nbcompat/*.h.  This makes
  it more clear which NetBSD headers are expected to provide which
  function declarations and macro definitions.

* Clean out nbconfig.h by moving all of the relevant definitions into
  the correct nbcompat/*.h files.

* Update all of the library functions to the latest from src HEAD.
  Also change the way that sources are modified when imported -- we
  now include <nbcompat.h> before the first system header, include
  <nbcompat/*.h> versions of headers instead of system ones where
  available, and "#if 0" the sections that make no sense when being
  built outside of the NetBSD source tree.  This should make future
  updates from src HEAD, e.g. for security updates or bug fixes,
  easier.

* Move all private headers into a subdirectory and include the headers
  from the private directory.  This avoids any nameclashes with system
  headers with the same name.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Mon Aug 16 17:24:56 2004 UTC (22 years, 3 months ago) by jlam
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -2 lines
Update pkgtools/libnbcompat to 20040814.  Changes from version 20040813
include:

    * Adding a regex(3) implementation for those platforms that don't
      have one, e.g. IRIX 5.3.

    * Allow nbcompat.h to be included multiple times in case it's needed
      to override values of set by config.h in bootstrap packages.  This
      should fix problems with building pkg_install and pax on platforms
      that have /usr/include/glob.h.

    * Remove namespace.h, which should be a no-op since we're building
      a userland library separate from the NetBSD sources.

    * Remove HAVE_CONFIG_H checks from sources since we're always going
      to have and and we're always going to be including it.

    * Rename all inclusion guards in nbcompat/*.h to be _NBCOMPAT_*_H_ so
      that it won't get triggered by any settings in system headers.

This has been tested on:

	FreeBSD-4.8/i386	Debian Linux 3.0 (woody)
	IRIX 6.5		MacOS X 10.2.8
	MacOS X 10.3.5		NetBSD-1.6.2/i386
	NetBSD-2.0_BETA/i386	Red Hat Linux 7.3
	Solaris 7/sparc		Solaris 8/sparc
	Solaris 9/sparc

Revision 1.9: download - view: text, markup, annotated - select for diffs
Fri Aug 13 04:38:02 2004 UTC (22 years, 3 months ago) by jlam
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -2 lines
Update pkgtools/libnbcompat to 20040813.  Changes from version 20040809
include working around an apparent bug in an autoconf macro defined in
aclocal.m4.  This should now cause getopt_long() to be built on systems
that are missing getopt.h.  This version of libnbcompat has been tested
on the following platforms:

	FreeBSD-4.8/i386
	MacOS X 10.2.8
	NetBSD-1.6.2/i386

Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Aug 10 18:47:55 2004 UTC (22 years, 3 months ago) by jlam
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -2 lines
Update pkgtools/libnbcompat to 20040809.  Changes from version 20040805
include:

   * Re-adding a default value for pkg_use_nbcompat_vis; this was
     causing the configure script to fail on platforms that had funky
     versions of vis().  This should fix reported problems on Solaris 8
     and on IRIX 5.3.

   * Added setgroupent() and setpassent() compatibility functions so
     that pwcache.c will build without complaining about an incompatible
     pointer type assignment.

   * Remove unused tests for <arpa/nameser.h>, <netdb.h>, h_errno and
     hstrerror().  These were originally used to bootstrap lukemftp, but
     tnftp doesn't need libnbcompat to build nowadays, so we don't need
     these anymore.

   * Cleanup: in cases where we test for a function using AC_REPLACE_FUNCS,
     move the function prototype into a nbcompat header that is the
     same name as the NetBSD header that contains that declaration,
     and include that file in place of the original one within
     nbcompat.h.

This version has been tested to build on the following systems:

	FreeBSD-4.8/i386	NetBSD-1.6.2/i386
	FreeBSD-5.2.1/i386	NetBSD-2.0_BETA/i386
	IRIX 6.5		Red Hat Linux 8.0
	MacOS X 10.3.4		Solaris 8
	MacOS X 10.3.5		Solaris 9

Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri Aug 6 16:55:09 2004 UTC (22 years, 3 months ago) by jlam
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -2 lines
Update pkgtools/libnbcompat to 20040805.  Changes from version 20040512
include:

  (1) Add a statvfs() implementation based on statfs(), and remove the
      statfs() NetBSD-compatibility implementation.  statvfs() is used
      in src/usr.sbin/pkg_install on the HEAD branch.

  (2) Add a fnmatch() implementation, needed by IRIX.  fnmatch() is used
      in src/usr.sbin/pkg_install on the HEAD branch.

  (3) Remove fseeko(), inet_ntop(), inet_pton(), sl_*() strptime(), and
      timegm() as they're not used by any of the bootstrap packages that
      require libnbcompat (pax, mtree, pkg_install).  All that's left is
      what's necessary to bootstrap those three packages.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Fri Mar 5 19:25:39 2004 UTC (22 years, 8 months ago) by jlam
Branches: MAIN
CVS tags: pkgsrc-2004Q2-base, pkgsrc-2004Q2, pkgsrc-2004Q1-base, pkgsrc-2004Q1
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +7 -4 lines
Reorder location and setting of BUILDLINK_PACKAGES to match template
buildlink3.mk file in revision 1.101 of bsd.buildlink3.mk.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue Feb 10 20:45:02 2004 UTC (22 years, 9 months ago) by jlam
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -2 lines
The BUILDLINK_DEPENDS.<pkg> lines should match between the buildlink3.mk
and any pre-existing buildlink2.mk files.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat Jan 24 03:26:48 2004 UTC (22 years, 9 months ago) by jlam
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2 lines
Append to BUILDLINK_DEPENDS.<pkg> instead of setting a default value.  In
the normal case when BUILDLINK_DEPENDS.<pkg> isn't specified, it receives
a value only once due to the multiple inclusion protection in the
bulldlink3.mk files.  In the case where a package includes several
buildlink3.mk files that each want a slightly different version of another
dependency, having BUILDLINK_DEPENDS.<pkg> be a list allows for the
strictest <pkg> dependency to be matched.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Jan 5 11:05:46 2004 UTC (22 years, 10 months ago) by jlam
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -2 lines
Use S/+$// instead of C/\+$// to save a backslash.  Very highly
recommended by seb :)

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Jan 4 23:34:07 2004 UTC (22 years, 10 months ago) by jlam
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +8 -11 lines
Re-arrange to match example buildlink3.mk file in bsd.buildlink3.mk.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sat Jan 3 23:06:45 2004 UTC (22 years, 10 months ago) by jlam
Branches: MAIN
Initial sprinkling of work-in-progress buildlink3.mk files for using the
buildlink3 framework.

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>