The NetBSD Project

CVS log for pkgsrc/devel/ncurses/buildlink3.mk

[BACK] Up to [cvs.netbsd.org] / pkgsrc / devel / ncurses

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.42 / (download) - annotate - [select for diffs], Mon Dec 19 11:42:47 2011 UTC (5 months ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2012Q1-base, pkgsrc-2012Q1, pkgsrc-2011Q4-base, pkgsrc-2011Q4, HEAD
Changes since 1.41: +2 -1 lines
Diff to previous 1.41 (colored)

Need to include bsd.prefs.mk before using PKGPATH.

Revision 1.41 / (download) - annotate - [select for diffs], Sun Dec 18 20:51:41 2011 UTC (5 months ago) by sbd
Branch: MAIN
Changes since 1.40: +2 -2 lines
Diff to previous 1.40 (colored)

"included by ncursesw" means the ncursesw Makefile not just the buildlink
tree.

Revision 1.40 / (download) - annotate - [select for diffs], Thu Dec 15 07:37:38 2011 UTC (5 months, 1 week ago) by sbd
Branch: MAIN
Changes since 1.39: +8 -0 lines
Diff to previous 1.39 (colored)

Many packages will prefer ncursesw over ncurses if its available (say as
a native library), so unless devel/ncurses/buildlink3.mk is being included
by ncursesw don't allow ncursesw to be used by causing linkage failure.

Revision 1.39 / (download) - annotate - [select for diffs], Sun Dec 4 21:26:15 2011 UTC (5 months, 2 weeks ago) by sbd
Branch: MAIN
Changes since 1.38: +1 -11 lines
Diff to previous 1.38 (colored)

Revert my last (it needs more work).

Revision 1.38 / (download) - annotate - [select for diffs], Sun Dec 4 21:08:21 2011 UTC (5 months, 2 weeks ago) by sbd
Branch: MAIN
Changes since 1.37: +11 -1 lines
Diff to previous 1.37 (colored)

Many packages will prefer ncursesw over ncurses if its available so unless
this file is being included by ncursesw disable ncursesw autoconf
detection and if that doesn't work pretend we are ncursesw.

Revision 1.37 / (download) - annotate - [select for diffs], Mon Feb 28 11:02:46 2011 UTC (14 months, 3 weeks ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2011Q3-base, pkgsrc-2011Q3, pkgsrc-2011Q2-base, pkgsrc-2011Q2, pkgsrc-2011Q1-base, pkgsrc-2011Q1
Changes since 1.36: +5 -5 lines
Diff to previous 1.36 (colored)

Changes 5.8:
Interface changes
* turn on _XOPEN_CURSES definition in curses.h.
* change _nc_has_mouse to has_mouse, reflect its use in C++ and Ada95.
* add is_pad and is_subwin functions for opaque access to the WINDOW structure.
* add tiparm, based on review of X/Open Curses Issue 7.

Library Improvements
* add a terminal driver for Windows console, which supports a MinGW port to
  Windows.
* add extended functions which specify the SCREEN pointer for several curses
  functions which use the global SP.
* improve the NCURSES_NO_UTF8_ACS feature by adding a check for an extended
  terminfo capability U8.
* improve performance of tigetstr, etc., by using hashing code from tic.
* add WACS_xxx definitions to wide-character configuration for thick- and
  double-lines.
* modify init_pair to allow caller to create extra color pairs beyond the
  color_pairs limit, which use default colors.

Improvements to Programs
* add tabs program.
* modify tic's -I/-C dump to reformat acsc strings into canonical form (sorted,
  unique mapping).
* add checks in tic for inconsistent cursor-movement controls, and for
  inconsistent printer-controls.
* add special case to _nc_infotocap (used by tic and infocmp) to recognize the
  setaf/setab strings from xterm+256color and xterm+88color, and provide a
  reduced version which works with termcap.

Revision 1.36 / (download) - annotate - [select for diffs], Mon Jul 13 20:36:42 2009 UTC (2 years, 10 months ago) by ahoka
Branch: MAIN
CVS Tags: 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
Changes since 1.35: +2 -1 lines
Diff to previous 1.35 (colored)

Add BUILDLINK_INCDIRS. Fixes tmux build and more correct in general.

Revision 1.35 / (download) - annotate - [select for diffs], Sun Jul 12 17:41:25 2009 UTC (2 years, 10 months ago) by wiz
Branch: MAIN
Changes since 1.34: +2 -2 lines
Diff to previous 1.34 (colored)

Fix typos in comment.

Revision 1.34 / (download) - annotate - [select for diffs], Sun Jul 12 17:23:13 2009 UTC (2 years, 10 months ago) by ahoka
Branch: MAIN
Changes since 1.33: +24 -11 lines
Diff to previous 1.33 (colored)

Install ncurses headers to include/ncurses. This fixes a bug, when having
/usr/pkg/include in the header search path shadows some of the system's
curses headers (happens when building or developing curses application
outside of the pkgsrc build system).

Revision 1.33 / (download) - annotate - [select for diffs], Fri Mar 20 19:24:24 2009 UTC (3 years, 2 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2009Q2-base, pkgsrc-2009Q2, pkgsrc-2009Q1-base, pkgsrc-2009Q1
Changes since 1.32: +6 -14 lines
Diff to previous 1.32 (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.32 / (download) - annotate - [select for diffs], Wed Feb 27 21:32:45 2008 UTC (4 years, 2 months ago) by jlam
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.31: +3 -2 lines
Diff to previous 1.31 (colored)

If FOO is empty, then ${FOO:S/^/-l/} has a value of "-l".  This is not
what we want.  Instead, use another pattern to strip away lone "-l" in
BUILDLINK_LDADD.*.

Revision 1.31 / (download) - annotate - [select for diffs], Wed Feb 27 06:10:25 2008 UTC (4 years, 2 months ago) by jlam
Branch: MAIN
Changes since 1.30: +2 -2 lines
Diff to previous 1.30 (colored)

Protect against possibly empty BUILDLINK_LIBNAME.* variables when
defining BUILDLINK_LDADD.* by using a substitution instead of directly
prepending "-l".

Revision 1.30 / (download) - annotate - [select for diffs], Wed Feb 27 04:47:02 2008 UTC (4 years, 2 months ago) by jlam
Branch: MAIN
Changes since 1.29: +5 -4 lines
Diff to previous 1.29 (colored)

+ The termlib.buildlink3.mk file is meant to be included by packages
  that need basic termlib functionality, i.e. tgetent(), tgoto(),
  tputs(), etc.  Together with the termlib.builtin.mk file, they will
  use either a built-in termcap library, a built-in X/Open "enhanced"
  curses library, or ncurses to provide these functions.

+ Add BUILDLINK_LIBNAME.* definitions to the various curses buildlink3.mk
  and builtin.mk files that give the "base" library name of the curses
  library, e.g. curses, ncurses, etc.  These are used by the termlib
  files to set BUILDLINK_LIBNAME.termlib.

Revision 1.29 / (download) - annotate - [select for diffs], Tue Feb 26 17:21:13 2008 UTC (4 years, 2 months ago) by jlam
Branch: MAIN
Changes since 1.28: +3 -5 lines
Diff to previous 1.28 (colored)

Always make ncurses headers and libraries available as <curses.h> and
-lcurses so that GNU configure scripts that check for those ahead of
<ncurses.h> and -lncurses will still use ncurses instead of picking up
a system curses.

This was a regression introduced by my recent ncurses commits.

Revision 1.28 / (download) - annotate - [select for diffs], Mon Feb 25 04:19:34 2008 UTC (4 years, 2 months ago) by jlam
Branch: MAIN
Changes since 1.27: +22 -1 lines
Diff to previous 1.27 (colored)

+ Introduce a way for a user to set the default curses implementation
  used by packages that need curses.  From curses.buildlink3.mk:

  CURSES_DEFAULT
	This value represents the type of curses we wish to use on the
	system.  Setting this to "curses" means that the system curses
	implementation is fine.

	Possible: curses, ncurses, pdcurses

+ Move all code to detect a built-in version of curses into a
  curses.builtin.mk file.

+ Add code to {n,pd}curses/buildlink3.mk so make the headers and
  libraries usable as <curses.h> and -lcurses if _PKG_USE_CURSES is
  defined.  _PKG_USE_CURSES is only defined by curses.buildlink3.mk.

+ Improve the detection of native ncurses in ncurses/builtin.mk and
  allow headers and libraries to be usable as <ncurses.h> and -lncurses.

Revision 1.27 / (download) - annotate - [select for diffs], Sat Jul 8 23:10:46 2006 UTC (5 years, 10 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2007Q4-base, pkgsrc-2007Q4, pkgsrc-2007Q3-base, pkgsrc-2007Q3, pkgsrc-2007Q2-base, pkgsrc-2007Q2, pkgsrc-2007Q1-base, pkgsrc-2007Q1, pkgsrc-2006Q4-base, pkgsrc-2006Q4, pkgsrc-2006Q3-base, pkgsrc-2006Q3
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (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.26 / (download) - annotate - [select for diffs], Sat Jul 8 22:39:13 2006 UTC (5 years, 10 months ago) by jlam
Branch: MAIN
Changes since 1.25: +2 -1 lines
Diff to previous 1.25 (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.25 / (download) - annotate - [select for diffs], Thu Apr 6 06:21:53 2006 UTC (6 years, 1 month ago) by reed
Branch: MAIN
CVS Tags: pkgsrc-2006Q2-base, pkgsrc-2006Q2
Changes since 1.24: +3 -3 lines
Diff to previous 1.24 (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.24 / (download) - annotate - [select for diffs], Sun Oct 3 00:13:31 2004 UTC (7 years, 7 months ago) by tv
Branch: 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
Changes since 1.23: +2 -1 lines
Diff to previous 1.23 (colored)

Libtool fix for PR pkg/26633, and other issues.  Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.

Revision 1.23 / (download) - annotate - [select for diffs], Wed Mar 10 17:57:14 2004 UTC (8 years, 2 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2004Q3-base, pkgsrc-2004Q3, pkgsrc-2004Q2-base, pkgsrc-2004Q2, pkgsrc-2004Q1-base, pkgsrc-2004Q1
Changes since 1.22: +7 -161 lines
Diff to previous 1.22 (colored)

Split out the code that deals with checking whether the software is
built-in or not into a separate builtin.mk file.  The code to deal
checking for built-in software is much simpler to deal with in pkgsrc.

The buildlink3.mk file for a package will be of the usual format
regardless of the package, which makes it simpler for packagers to
update a package.

The builtin.mk file for a package must define a single yes/no variable
USE_BUILTIN.<pkg> that is used by bsd.buildlink3.mk to decide whether
to use the built-in software or to use the pkgsrc software.

Revision 1.22 / (download) - annotate - [select for diffs], Thu Feb 19 17:36:38 2004 UTC (8 years, 3 months ago) by jlam
Branch: MAIN
Changes since 1.21: +3 -1 lines
Diff to previous 1.21 (colored)

In the USE_NCURSES case, if we're not using the built-in ncurses, then
set BUILDLINK_USE_BUILTIN.ncurses to "no".

Revision 1.21 / (download) - annotate - [select for diffs], Thu Feb 19 14:56:33 2004 UTC (8 years, 3 months ago) by jlam
Branch: MAIN
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored)

I had the result backwards -- if ncurses is built-in and
/usr/lib/libnurses.so exists, then we want to use the built-in ncurses
if USE_NCURSES is set.

Revision 1.20 / (download) - annotate - [select for diffs], Wed Feb 18 16:35:27 2004 UTC (8 years, 3 months ago) by jlam
Branch: MAIN
Changes since 1.19: +23 -21 lines
Diff to previous 1.19 (colored)

Reorder some lines so that BUILDLINK_USE_BUILTIN.<pkg> set in the
environment overrides all other settings.

Revision 1.19 / (download) - annotate - [select for diffs], Tue Feb 17 16:02:52 2004 UTC (8 years, 3 months ago) by jlam
Branch: MAIN
Changes since 1.18: +6 -3 lines
Diff to previous 1.18 (colored)

Deal with USE_NCURSES if the built-in ncurses really is ncurses.

Revision 1.18 / (download) - annotate - [select for diffs], Thu Feb 12 02:35:06 2004 UTC (8 years, 3 months ago) by jlam
Branch: MAIN
Changes since 1.17: +13 -3 lines
Diff to previous 1.17 (colored)

Create a new variable PREFER_NATIVE that has the opposite semantics
as PREFER_PKGSRC.  Preferences are determined by the most specific
instance of the package in either PREFER_PKGSRC or PREFER_NATIVE.  If
a package is specified in neither or in both variables, then PREFER_PKGSRC
has precedence over PREFER_NATIVE.

Revision 1.17 / (download) - annotate - [select for diffs], Thu Feb 12 01:59:37 2004 UTC (8 years, 3 months ago) by jlam
Branch: MAIN
Changes since 1.16: +40 -40 lines
Diff to previous 1.16 (colored)

Reorganize code so that any dependencies are checked as part of deciding
whether the software is built-in or not.  This facilitates implementing
the forthcoming PKGSRC_NATIVE variable.

Revision 1.16 / (download) - annotate - [select for diffs], Wed Feb 11 11:30:50 2004 UTC (8 years, 3 months ago) by jlam
Branch: MAIN
Changes since 1.15: +23 -23 lines
Diff to previous 1.15 (colored)

Move the INCOMPAT_FOO checks to a more natural location within the
block that decides whether package FOO is built-in or not.  If the
platform is listed in IMCOMPAT_FOO, then treat FOO as being not
built-in.

Revision 1.15 / (download) - annotate - [select for diffs], Tue Feb 10 20:45:01 2004 UTC (8 years, 3 months ago) by jlam
Branch: MAIN
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

The BUILDLINK_DEPENDS.<pkg> lines should match between the buildlink3.mk
and any pre-existing buildlink2.mk files.

Revision 1.14 / (download) - annotate - [select for diffs], Fri Feb 6 19:04:24 2004 UTC (8 years, 3 months ago) by jlam
Branch: MAIN
Changes since 1.13: +4 -4 lines
Diff to previous 1.13 (colored)

If we're passing through MAKEFLAGS variables whose values may contain
spaces, use the :Q modifier instead of double-quoting the value.  This
avoids breakage when executing the just-in-time su targets.

Revision 1.13 / (download) - annotate - [select for diffs], Thu Feb 5 07:17:14 2004 UTC (8 years, 3 months ago) by jlam
Branch: MAIN
Changes since 1.12: +3 -5 lines
Diff to previous 1.12 (colored)

Make PREFER_PKGSRC just yes/no or a list of packages.  This makes it
simpler to understand.

Revision 1.12 / (download) - annotate - [select for diffs], Thu Feb 5 07:06:15 2004 UTC (8 years, 3 months ago) by jlam
Branch: MAIN
Changes since 1.11: +4 -5 lines
Diff to previous 1.11 (colored)

Rename BUILDLINK_PREFER_PKGSRC to PREFER_PKGSRC so that we can use its
value outside of buildlink-related files.

Revision 1.11 / (download) - annotate - [select for diffs], Thu Feb 5 06:58:03 2004 UTC (8 years, 3 months ago) by jlam
Branch: MAIN
Changes since 1.10: +9 -1 lines
Diff to previous 1.10 (colored)

Support a new global variable:

BUILDLINK_PREFER_PKGSRC
	This variable determines whether or not to prefer the pkgsrc
	versions of software that is also present in the base system.

	This variable is multi-state:
		defined, or "yes"	always prefer the pkgsrc versions
		not defined, or "no"	only use the pkgsrc versions if
					needed by dependency requirements

	This can also take a list of packages for which to prefer the
	pkgsrc-installed software.  The package names may be found by
	consulting the value added to BUILDLINK_PACKAGES in the
	buildlink[23].mk files for that package.

Revision 1.10 / (download) - annotate - [select for diffs], Sat Jan 24 03:12:32 2004 UTC (8 years, 4 months ago) by jlam
Branch: MAIN
Changes since 1.9: +8 -4 lines
Diff to previous 1.9 (colored)

Support BUILDLINK_DEPENDS.<pkg> being a list of values.

Revision 1.9 / (download) - annotate - [select for diffs], Wed Jan 21 04:28:06 2004 UTC (8 years, 4 months ago) by jlam
Branch: MAIN
Changes since 1.8: +51 -17 lines
Diff to previous 1.8 (colored)

* Fix stupid bug where this file worked for NetBSD and broke for all
  other platforms (a YES should have been a NO, plus it was in the wrong
  place!).  This should fix PR 24129.

* Add more sophisticated ncurses version detection for platforms that
  actually have real ncurses in the base system.  This should be a win
  for FreeBSD systems.

* Downgrade the required ncurses to 5.0.  The previous bump done in
  revision 1.8 wasn't necessary since ncurses never had a dependency on
  libiconv.

Revision 1.8 / (download) - annotate - [select for diffs], Mon Jan 19 10:34:26 2004 UTC (8 years, 4 months ago) by jlam
Branch: MAIN
Changes since 1.7: +6 -4 lines
Diff to previous 1.7 (colored)

Symlink curses.h to ${BUILDLINK_PREFIX.ncurses}/include/ncurses.h so that
this works for both overwrite and pkgviews installation types.

Revision 1.7 / (download) - annotate - [select for diffs], Sat Jan 10 17:47:38 2004 UTC (8 years, 4 months ago) by cjep
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

Whitespace fixes

Revision 1.6 / (download) - annotate - [select for diffs], Sat Jan 10 08:41:00 2004 UTC (8 years, 4 months ago) by jlam
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

Be a bit more accurate: we want to match a ".", not any character.

Revision 1.5 / (download) - annotate - [select for diffs], Mon Jan 5 11:05:45 2004 UTC (8 years, 4 months ago) by jlam
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

Use S/+$// instead of C/\+$// to save a backslash.  Very highly
recommended by seb :)

Revision 1.4 / (download) - annotate - [select for diffs], Mon Jan 5 09:34:23 2004 UTC (8 years, 4 months ago) by jlam
Branch: MAIN
Changes since 1.3: +4 -4 lines
Diff to previous 1.3 (colored)

Sprinkle a few double quotes here and there.

Revision 1.3 / (download) - annotate - [select for diffs], Mon Jan 5 09:31:31 2004 UTC (8 years, 4 months ago) by jlam
Branch: MAIN
Changes since 1.2: +21 -27 lines
Diff to previous 1.2 (colored)

Sow BUILDLINK_USE_BUILTIN.<pkg> and reap _NEED_<PKG> variables.

Revision 1.2 / (download) - annotate - [select for diffs], Sun Jan 4 23:34:05 2004 UTC (8 years, 4 months ago) by jlam
Branch: MAIN
Changes since 1.1: +4 -4 lines
Diff to previous 1.1 (colored)

Re-arrange to match example buildlink3.mk file in bsd.buildlink3.mk.

Revision 1.1 / (download) - annotate - [select for diffs], Sat Jan 3 23:06:43 2004 UTC (8 years, 4 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>