The NetBSD Project

CVS log for pkgsrc/devel/readline/builtin.mk

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.17 / (download) - annotate - [select for diffs], Fri Feb 29 22:41:13 2008 UTC (4 years, 2 months ago) by jlam
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, pkgsrc-2010Q2-base, pkgsrc-2010Q2, 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, 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, HEAD
Changes since 1.16: +4 -4 lines
Diff to previous 1.16 (colored)

Rename termlib.* to termcap.* to better document exactly what packages
are trying to use (the termcap t*() API).

Revision 1.16 / (download) - annotate - [select for diffs], Wed Feb 27 18:16:37 2008 UTC (4 years, 2 months ago) by jlam
Branch: MAIN
Changes since 1.15: +13 -8 lines
Diff to previous 1.15 (colored)

+ Teach the readline buildlink3.mk and builtin.mk files to determine
  the correct terminal library that must be linked along with -lreadline.
  On NetBSD, this is -ltermcap.  On Linux, this should be either -ltinfo
  or -lcurses.  On Solaris, this should be -lcurses.

+ Add a "termlib" dependency to the devel/readline package that allows
  for linking against -lcurses.  Bump the PKGREVISON to 1.

Revision 1.15 / (download) - annotate - [select for diffs], Fri Dec 29 15:11:20 2006 UTC (5 years, 4 months ago) by joerg
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
Changes since 1.14: +4 -2 lines
Diff to previous 1.14 (colored)

OpenBSD ships GNU readline with integrated libhistory. Use the
transformation framework to handle it. Reported and tested by
Brad Knotwell. Thanks to the OpenBSD guys on the other side of
the room for the clarification.

Revision 1.14 / (download) - annotate - [select for diffs], Thu Apr 6 06:21:55 2006 UTC (6 years, 1 month ago) by reed
Branch: MAIN
CVS Tags: pkgsrc-2006Q3-base, pkgsrc-2006Q3, pkgsrc-2006Q2-base, pkgsrc-2006Q2
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (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.13 / (download) - annotate - [select for diffs], Thu Mar 30 18:39:57 2006 UTC (6 years, 1 month ago) by jlam
Branch: MAIN
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

Ensure that _BLTN_H_READLINE is defined by find-files.mk.

Revision 1.12 / (download) - annotate - [select for diffs], Thu Mar 30 18:06:17 2006 UTC (6 years, 1 month ago) by jlam
Branch: MAIN
Changes since 1.11: +8 -5 lines
Diff to previous 1.11 (colored)

Avoid extra stat() calls by not repeatedly checking whether a file
exists on the disk -- we can just check whether a variable defined by
find-files.mk is "__nonexistent__" or not.

Revision 1.11 / (download) - annotate - [select for diffs], Fri Jul 1 17:24:02 2005 UTC (6 years, 10 months ago) by minskim
Branch: MAIN
CVS Tags: pkgsrc-2006Q1-base, pkgsrc-2006Q1, pkgsrc-2005Q4-base, pkgsrc-2005Q4, pkgsrc-2005Q3-base, pkgsrc-2005Q3
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

Exclude Darwin>=8.0 from _INCOMPAT_READLINE_LIBRARY because it has a
readline library from NetBSD 2.0.

Revision 1.10 / (download) - annotate - [select for diffs], Wed Jun 1 18:02:45 2005 UTC (6 years, 11 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2005Q2-base, pkgsrc-2005Q2
Changes since 1.9: +86 -81 lines
Diff to previous 1.9 (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.9 / (download) - annotate - [select for diffs], Wed Jan 26 16:17:16 2005 UTC (7 years, 3 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2005Q1-base, pkgsrc-2005Q1
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

Linking against libedit also requires linking against libtermcap.
This was already done in the "-lreadline" case, but also needed to be
done for the "-lhistory" case.

Revision 1.8 / (download) - annotate - [select for diffs], Sun Nov 28 06:41:04 2004 UTC (7 years, 5 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2004Q4-base, pkgsrc-2004Q4
Changes since 1.7: +17 -28 lines
Diff to previous 1.7 (colored)

Rewrite lib-checking code to use the standard variables and method to
check and store the presence of libreadline and libedit.  Also, don't
assume that just because libreadline.* exists that GNU readline exists.
Instead, use the presence of particular macros in the readline.h header
as a check for GNU readline.

Revision 1.7 / (download) - annotate - [select for diffs], Sat Oct 16 17:13:34 2004 UTC (7 years, 7 months ago) by minskim
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

Add Interix-*-* to _INCOMPAT_READLINE because libedit of Interix doesn't
provide any readline functions.  Noted by HIRAMATSU Yoshifumi in
PR pkg/27275.

Revision 1.6 / (download) - annotate - [select for diffs], Tue Jul 13 01:20:32 2004 UTC (7 years, 10 months ago) by danw
Branch: MAIN
CVS Tags: pkgsrc-2004Q3-base, pkgsrc-2004Q3
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

add Darwin to INCOMPAT_READLINE to work around PR 26268

Revision 1.5 / (download) - annotate - [select for diffs], Mon May 31 10:00:42 2004 UTC (7 years, 11 months ago) by grant
Branch: MAIN
CVS Tags: pkgsrc-2004Q2-base, pkgsrc-2004Q2
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

oops; move _READLINE_H and _READLINE_READLINE_H definitions outside
the conditional as they are needed later on.

Revision 1.4 / (download) - annotate - [select for diffs], Mon May 31 09:55:36 2004 UTC (7 years, 11 months ago) by grant
Branch: MAIN
Changes since 1.3: +9 -5 lines
Diff to previous 1.3 (colored)

also test for the readline.h header file when determining whether we
have builtin readline.

fixes a problem under Slackware 9.1 where the aaa_elflibs package (which
must be installed) provides shared libraries for base system programs
linked against them, but does not provide the .so symlink nor the header
files needed for development, so can't be used for pkgsrc.

Revision 1.3 / (download) - annotate - [select for diffs], Mon Mar 29 05:43:30 2004 UTC (8 years, 1 month ago) by jlam
Branch: MAIN
Changes since 1.2: +11 -11 lines
Diff to previous 1.2 (colored)

Match the template builtin.mk file in bsd.builtin.mk, and make the two
packages that use builtin.mk files (graphics/xpm and pkgtools/x11-links)
use the new format correctly.

Revision 1.2 / (download) - annotate - [select for diffs], Sat Mar 13 18:39:16 2004 UTC (8 years, 2 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2004Q1-base, pkgsrc-2004Q1
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

Typo: && should be || to get the correct test semantics.

Revision 1.1 / (download) - annotate - [select for diffs], Wed Mar 10 17:57:14 2004 UTC (8 years, 2 months ago) by jlam
Branch: MAIN

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.

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>