The NetBSD Project

CVS log for pkgsrc/devel/gettext-lib/buildlink3.mk

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / devel / gettext-lib

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.40 / (download) - annotate - [select for diffs], Sun Nov 3 10:39:12 2019 UTC (6 months, 4 weeks ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, HEAD
Changes since 1.39: +4 -4 lines
Diff to previous 1.39 (colored)

devel: align variable assignments

pkglint -Wall -F --only aligned --only indent -r

No manual corrections.

Revision 1.39 / (download) - annotate - [select for diffs], Tue Jun 18 10:36:04 2019 UTC (11 months, 2 weeks ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2
Changes since 1.38: +4 -5 lines
Diff to previous 1.38 (colored)

gettext-lib: Revert previous.

Adding gettext libraries unconditionally can cause issues in a small number of
packages which deliberately try to build multilib, where the non-default arch
ends up failing as the gettext libraries are the wrong ELF class.

This will instead be fixed directly in glib2 which appears to be the root cause
of the recent fallout.

Revision 1.38 / (download) - annotate - [select for diffs], Sat Jun 8 09:34:29 2019 UTC (11 months, 3 weeks ago) by jperkin
Branch: MAIN
Changes since 1.37: +5 -4 lines
Diff to previous 1.37 (colored)

gettext-lib: Always add -lintl on SunOS.

This effectively turns on BROKEN_GETTEXT_DETECTION=yes on SunOS and adds
-lintl whenever a package pulls in gettext-lib.  The SunOS linker is
more strict than others and will ensure that library dependencies are
explicit.  Recent changes to gettext-lib and glib made the dependency
implicit and caused a lot of fallout.

Use BUILDLINK_LDFLAGS instead of BUILDLINK_LIBS so that it actually gets
added through buildlink, not only when packages honour ${LIBS}.

Revision 1.37 / (download) - annotate - [select for diffs], Sat Jan 4 11:14:37 2014 UTC (6 years, 4 months ago) by richard
Branch: MAIN
CVS Tags: 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
Changes since 1.36: +3 -3 lines
Diff to previous 1.36 (colored)

reverse latest commit as suggested by obache@ by keeping BUILDLINK_FNAME_TRANSFORM
but suppressing BUILDLINK_INCDIRS for gettext-lib.
for history, please refer to the thread where this suggestion initially was made:
http://mail-index.netbsd.org/pkgsrc-changes/2012/09/01/msg077728.html

Revision 1.36 / (download) - annotate - [select for diffs], Wed Jan 1 11:32:34 2014 UTC (6 years, 5 months ago) by richard
Branch: MAIN
Changes since 1.35: +2 -2 lines
Diff to previous 1.35 (colored)

gettext-lib/buildlink3.mk adds include/gettext to INCDIRS, so don't collapse
the subdirectory gettext to avoid spewing "directory not found" warnings.

Revision 1.35 / (download) - annotate - [select for diffs], Sun Sep 2 14:08:38 2012 UTC (7 years, 9 months ago) by marino
Branch: MAIN
CVS Tags: 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
Changes since 1.34: +2 -1 lines
Diff to previous 1.34 (colored)

devel/gettext-lib: Change buildlink location of libintl.h

The previous change to devel/gettext-lib moved the libintl header to
include/gettext.  For platforms that don't have native libintl, this
header needs to be at include inside the buildlink directory.  This
patch makes that happen.

Contributed-by: OBATA Akio

Revision 1.34 / (download) - annotate - [select for diffs], Wed Aug 29 09:01:01 2012 UTC (7 years, 9 months ago) by sbd
Branch: MAIN
Changes since 1.33: +3 -1 lines
Diff to previous 1.33 (colored)

Problem:

1) The libintl.h from gettext-lib renames the gettext functions so that
   they are prefixed with 'libintl_' (So that the functions named in
   libintl don't conflict with any that maybe in libc).

2) gettext-tools is _always_ built with gettext-lib.

3) The tools architecture may make gettext-tools a build dependence or
   someone may choose to install gettext-tools.

4) The OS has built in gettext.

5) For some reason ${PREFIX}/include is add to the compiler search path and
   libintl.h from gettext-lib is found before the system one.

The result is that all the gettext functions are renamed to have the
'libintl_' prefix but libintl is not linked with and the following happens:

${FILENAME}: undefined reference to `libintl_gettext'
${FILENAME}: undefined reference to `libintl_textdomain'
${FILENAME}: undefined reference to `libintl_bindtextdomain'
collect2: error: ld returned 1 exit status

Solution:
Hide libintl.h from gettext-lib in ${PREFIX}/include/gettext then add that
to the compiler search path when realy needed.

This should permanently fix PR's pkg/24326 pkg/36201 pkg/40153 pkg/43129
pkg/44009 and pkg/44016.

Bump PKGREVISION.

Revision 1.33 / (download) - annotate - [select for diffs], Fri Apr 15 09:24:33 2011 UTC (9 years, 1 month ago) by adam
Branch: MAIN
CVS Tags: 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
Changes since 1.32: +2 -1 lines
Diff to previous 1.32 (colored)

Added BUILDLINK_ABI_DEPENDS

Revision 1.32 / (download) - annotate - [select for diffs], Tue Apr 12 17:41:28 2011 UTC (9 years, 1 month ago) by adam
Branch: MAIN
Changes since 1.31: +4 -4 lines
Diff to previous 1.31 (colored)

Changes 0.18.1:
* msggrep: A '$' anchor in a regular expression now also matches the end of
  the string, even if it does not end in a newline.
* Dependencies:
  The libraries and programs are now linked with libunistring if this library
  is already installed.
* Installation options:
  The configure option --with-cvs is deprecated. The 'autopoint' program will
  now use the 'git' program by default to compress its archive. If the
  configure option --without-git is specified, 'autopoint' will not rely on
  'git', but will instead rely on a locally installed a 3 MB large archive.

Changes 0.18:
* Runtime behaviour:
  - On MacOS X and Windows systems, <libintl.h> now extends setlocale() and
    newlocale() so that their determination of the default locale considers
    the choice the user has made in the system control panels.
  - On MacOS X systems, the gettext()/dgettext()/... functions now respect the
    locale of the current thread, if a thread-specific locale has been set.
* PO file format:
  There is a new field 'Language' in the header entry.  It denotes the language
  code (plus optional country code) for the PO file.  This field can be used
  by automated tools, such as spell checkers.  It is expected to be more
  reliable than looking at the file name or at the 'Language-Team' field in
  the header entry.
  msgmerge, msgcat, msgen have a new option --lang that allows to specify
  this field.  Additionally, msgmerge fills in this new field by looking at
  the 'Language-Team' field (if the --lang option is not given).
* xgettext and PO file format:
  For messages with plural forms, programmers can inform the translators
  about the range of possible values of the numeric argument, like this:
    /* xgettext: range: 0..15 */
  This information 'range: 0..15' is stored in the PO file as a flag attached
  to the message.  Translators can produce better translations when they know
  that the numeric argument is small.
* Colorized PO files:
  msgattrib, msgcomm, msgconv, msgen, msgfilter, msggrep, msginit, msgmerge,
  msgunfmt, msguniq, xgettext now have options --color and --style, like msgcat
  has since version 0.17.
* msgmerge is up to 10 times faster when the PO and POT files are large.
  This speedup was contributed by Ralf Wildenhues.
* msgcmp has a new option -N/--no-fuzzy-matching, like msgmerge has since
  version 0.12.
* msgfilter now sets environment variables during the invocation of the
  filter, indicating the msgid and location of the messge being processed.
* xgettext now can extract plural forms from Qt 4 programs. The recommended
  xgettext command-line options for this case are:
    --qt --keyword=tr:1,1t --keyword=tr:1,2c,2t --keyword=tr:1,1,2c,3t
* xgettext --language=GCC-source now recognizes also the format strings
  used in the Fortran front-end of the GCC compiler, and marks them as
  'gfc-internal-format'.
* autopoint can now be used to update several PO directories all together.

Revision 1.31 / (download) - annotate - [select for diffs], Fri Mar 20 19:24:13 2009 UTC (11 years, 2 months ago) by joerg
Branch: MAIN
CVS Tags: 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
Changes since 1.30: +6 -13 lines
Diff to previous 1.30 (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.30 / (download) - annotate - [select for diffs], Wed Feb 27 22:10:34 2008 UTC (12 years, 3 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.29: +22 -3 lines
Diff to previous 1.29 (colored)

Greatly simplify the logic that tries to determine whether -lintl
needs -liconv in order to satisfy linkage requirements.  This is now
patterned after the approach taken with readline and termlib.

Examples on NetBSD for a package that includes only
gettext-lib/buildlink3.mk:

PREFER_NATIVE=	yes
PREFER_PKGSRC=	# empty
# This uses the native gettext and native iconv, with:
#	BUILDLINK_LDADD.gettext == "-lintl"

PREFER_NATIVE=	yes
PREFER_PKGSRC=	iconv
# This uses the native gettext and native iconv, with:
#	BUILDLINK_LDADD.gettext == "-lintl"

PREFER_NATIVE=	yes
PREFER_PKGSRC=	gettext
# This uses the pkgsrc gettext and native iconv, with:
#	BUILDLINK_LDADD.gettext == "-lintl"

PREFER_NATIVE=	yes
PREFER_PKGSRC=	gettext iconv
# This uses the pkgsrc gettext and pkgsrc iconv, with:
#	BUILDLINK_LDADD.gettext == "-lintl -liconv"

PREFER_NATIVE=	# empty
PREFER_PKGSRC=	yes
# This uses the pkgsrc gettext and pkgsrc iconv, with:
#	BUILDLINK_LDADD.gettext == "-lintl -liconv"

PREFER_NATIVE=	iconv
PREFER_PKGSRC=	yes
# This uses the pkgsrc gettext and native iconv, with:
#	BUILDLINK_LDADD.gettext == "-lintl"

PREFER_NATIVE=	gettext
PREFER_PKGSRC=	yes
# This uses the native gettext and native iconv, with:
#	BUILDLINK_LDADD.gettext == "-lintl"

PREFER_NATIVE=	gettext iconv
PREFER_PKGSRC=	yes
# This uses the native gettext and native iconv, with:
#	BUILDLINK_LDADD.gettext == "-lintl"

Revision 1.29 / (download) - annotate - [select for diffs], Wed Jan 23 17:35:20 2008 UTC (12 years, 4 months ago) by tnn
Branch: MAIN
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored)

Use bsd.fast.prefs.mk in some very commonly included locations.

Revision 1.28 / (download) - annotate - [select for diffs], Mon Sep 24 18:33:52 2007 UTC (12 years, 8 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2007Q4-base, pkgsrc-2007Q4, pkgsrc-2007Q3-base, pkgsrc-2007Q3
Changes since 1.27: +10 -3 lines
Diff to previous 1.27 (colored)

In gettext-lib/buildlink3.mk, check whether we need to pull in the
libiconv/buildlink3.mk file based on whether or not we're using the
built-in gettext-lib or not.  This is clearer than what existed in
revision 1.33 of gettext-lib/builtin.mk and fixes the problem introduced
in revision 1.34.

Revision 1.27 / (download) - annotate - [select for diffs], Sat Jul 8 23:10:42 2006 UTC (13 years, 10 months ago) by jlam
Branch: MAIN
CVS Tags: 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:08 2006 UTC (13 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:49 2006 UTC (14 years, 1 month ago) by reed
Branch: MAIN
CVS Tags: pkgsrc-2006Q2-base, pkgsrc-2006Q2
Changes since 1.24: +2 -2 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 Feb 5 22:45:54 2006 UTC (14 years, 3 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2006Q1-base, pkgsrc-2006Q1
Changes since 1.23: +2 -3 lines
Diff to previous 1.23 (colored)

Update gettext to 0.14.5. Many bugfixes and improvements,
including support for relocable programs, Qt support,
separation of the PO processing functions into a separate
library and more.

Reorganise the gettext infrastructure by splitting of the
tools into devel/gettext-tools, which will be used by the tools
framework. The remaining devel/gettext package contains
gettextize and autopoint aka the infrastructure to embbed gettext
into a package.

Due to the ABI and API changes, a recursive revision bump will
follow.

Take blaim by receiving the maintainer hat.

With input from jlam@, reed@ and wiz@.

Revision 1.23 / (download) - annotate - [select for diffs], Wed Jun 1 18:02:43 2005 UTC (15 years ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2005Q4-base, pkgsrc-2005Q4, pkgsrc-2005Q3-base, pkgsrc-2005Q3, pkgsrc-2005Q2-base, pkgsrc-2005Q2
Changes since 1.22: +3 -2 lines
Diff to previous 1.22 (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.22 / (download) - annotate - [select for diffs], Tue Apr 19 14:55:30 2005 UTC (15 years, 1 month ago) by epg
Branch: MAIN
Changes since 1.21: +2 -3 lines
Diff to previous 1.21 (colored)

Include ../../converters/libiconv/buildlink3.mk in buildlink3.mk,
and let it worry about whether libiconv is built-in or not.  Remove
all references to libiconv from builtin.mk.

The logic in builtin.mk was broken and unnecessary, leading to a
build failure on at least some Linux systems (such as Debian woody
without any gettext packages installed).

Revision 1.21 / (download) - annotate - [select for diffs], Sun Oct 3 00:13:27 2004 UTC (15 years, 8 months ago) by tv
Branch: MAIN
CVS Tags: pkgsrc-2005Q1-base, pkgsrc-2005Q1, pkgsrc-2004Q4-base, pkgsrc-2004Q4
Changes since 1.20: +2 -1 lines
Diff to previous 1.20 (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.20 / (download) - annotate - [select for diffs], Mon May 17 21:32:34 2004 UTC (16 years ago) by seb
Branch: MAIN
CVS Tags: pkgsrc-2004Q3-base, pkgsrc-2004Q3, pkgsrc-2004Q2-base, pkgsrc-2004Q2
Changes since 1.19: +1 -2 lines
Diff to previous 1.19 (colored)

Garbage collect BUILDLINK_PKGBASE.<pkg> from buildlink3: it is not anymore
used since revision 1.139 of mk/buildlink3/bsd.buildlink3.mk.

Revision 1.19 / (download) - annotate - [select for diffs], Thu Mar 18 09:12:10 2004 UTC (16 years, 2 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2004Q1-base, pkgsrc-2004Q1
Changes since 1.18: +2 -3 lines
Diff to previous 1.18 (colored)

Fix serious bug where BUILDLINK_PACKAGES wasn't being ordered properly
by moving the inclusion of buildlink3.mk 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
buildlink3.mk file for <pkg> correctly ensured that <pkg> was removed
from BUILDLINK_PACKAGES and appended to the end.  However, since the
inclusion of any other buildlink3.mk files within that buildlink3.mk
was in a region that was protected against multiple inclusion, those
dependencies weren't also moved to the end of BUILDLINK_PACKAGES.

Revision 1.18 / (download) - annotate - [select for diffs], Tue Mar 16 18:23:27 2004 UTC (16 years, 2 months ago) by jlam
Branch: MAIN
Changes since 1.17: +2 -1 lines
Diff to previous 1.17 (colored)

If the ${PKGBASE} of a package doesn't match the token passed to
BUILDLINK_PACKAGES, then set BUILDLINK_PKGBASE.<pkg> explicitly so that
we can map from <pkg> to BUILDLINK_PKGBASE.<pkg>.

Revision 1.17 / (download) - annotate - [select for diffs], Wed Mar 10 17:57:14 2004 UTC (16 years, 2 months ago) by jlam
Branch: MAIN
Changes since 1.16: +9 -146 lines
Diff to previous 1.16 (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.16 / (download) - annotate - [select for diffs], Wed Feb 18 16:35:27 2004 UTC (16 years, 3 months ago) by jlam
Branch: MAIN
Changes since 1.15: +21 -19 lines
Diff to previous 1.15 (colored)

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

Revision 1.15 / (download) - annotate - [select for diffs], Thu Feb 12 02:35:06 2004 UTC (16 years, 3 months ago) by jlam
Branch: MAIN
Changes since 1.14: +13 -3 lines
Diff to previous 1.14 (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.14 / (download) - annotate - [select for diffs], Thu Feb 12 01:59:37 2004 UTC (16 years, 3 months ago) by jlam
Branch: MAIN
Changes since 1.13: +29 -28 lines
Diff to previous 1.13 (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.13 / (download) - annotate - [select for diffs], Wed Feb 11 11:30:49 2004 UTC (16 years, 3 months ago) by jlam
Branch: MAIN
Changes since 1.12: +14 -14 lines
Diff to previous 1.12 (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.12 / (download) - annotate - [select for diffs], Fri Feb 6 19:04:24 2004 UTC (16 years, 3 months ago) by jlam
Branch: MAIN
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (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.11 / (download) - annotate - [select for diffs], Thu Feb 5 07:17:14 2004 UTC (16 years, 3 months ago) by jlam
Branch: MAIN
Changes since 1.10: +3 -5 lines
Diff to previous 1.10 (colored)

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

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

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

Revision 1.9 / (download) - annotate - [select for diffs], Thu Feb 5 06:58:03 2004 UTC (16 years, 4 months ago) by jlam
Branch: MAIN
Changes since 1.8: +9 -1 lines
Diff to previous 1.8 (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.8 / (download) - annotate - [select for diffs], Sat Jan 24 03:12:32 2004 UTC (16 years, 4 months ago) by jlam
Branch: MAIN
Changes since 1.7: +16 -7 lines
Diff to previous 1.7 (colored)

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

Revision 1.7 / (download) - annotate - [select for diffs], Sun Jan 11 06:29:38 2004 UTC (16 years, 4 months ago) by jlam
Branch: MAIN
Changes since 1.6: +14 -15 lines
Diff to previous 1.6 (colored)

Add some double quotes and move a section into a protected region so we
don't keep re-evaluating it.

Revision 1.6 / (download) - annotate - [select for diffs], Tue Jan 6 19:13:13 2004 UTC (16 years, 4 months ago) by jlam
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

Use l:foo: instead of S:...: to remove a library.

Revision 1.5 / (download) - annotate - [select for diffs], Mon Jan 5 11:05:45 2004 UTC (16 years, 5 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:37:05 2004 UTC (16 years, 5 months ago) by jlam
Branch: MAIN
Changes since 1.3: +1 -2 lines
Diff to previous 1.3 (colored)

Don't need to set BUILDLINK_PREFIX.gettext explicitly as bsd.buildlink3.mk
does it correctly for us.

Revision 1.3 / (download) - annotate - [select for diffs], Mon Jan 5 09:31:31 2004 UTC (16 years, 5 months ago) by jlam
Branch: MAIN
Changes since 1.2: +21 -16 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 (16 years, 5 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 (16 years, 5 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>