Commit graph

57 commits

Author SHA1 Message Date
jlam
e8132b3fbf Relinquish maintainership of packages to tech-pkg@NetBSD.org. 2004-04-24 22:46:08 +00:00
minskim
0fffcc439f Enable pkgviews installation. 2004-04-19 17:37:19 +00:00
jlam
47b3573672 Allow the last known version information to match all future versions of
XFree86 until we know for certain that it's different.  This makes us more
bulletproof to updates in xsrc.
2004-03-30 17:10:16 +00:00
jlam
88588c9c0b Use "XF86_VERSION" instead of "_XF86_VERSION" as the variable name since
we use it in several places within pkgsrc as a public variable.
2004-03-30 17:04:06 +00:00
jlam
6d92080aa2 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.
2004-03-29 05:43:28 +00:00
jlam
7db11b582a 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.
2004-03-18 09:12:08 +00:00
jlam
d0b4c54eb6 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.
2004-03-10 17:57:14 +00:00
recht
4de5532b13 Use tab instead of spaces for indentation to make pkglint happy. 2004-02-29 00:22:43 +00:00
jlam
356defdb76 Add BUILDLINK_DEPENDS.<pkg> for dependencies in a section that is invoked
only if we're not using the built-in versions of the package.
2004-02-19 19:12:26 +00:00
jlam
555f2ef6ff Move the settings, which force the use of builtin versions of dependencies
if the builtin version of the package is being used, into a global
location so that they're always executed.
2004-02-19 18:51:01 +00:00
jlam
d51a733eeb If we're using the built-in version of the software, then we must also
be using built-in versions of any other software pulled in via
buildlink3.mk files.
2004-02-18 16:53:52 +00:00
jlam
bf6e059da4 Reorder some lines so that BUILDLINK_USE_BUILTIN.<pkg> set in the
environment overrides all other settings.
2004-02-18 16:35:27 +00:00
jlam
eb8b7b047d Be more complete in matching versions of XFree86. In particular, match
the one that comes with -current.
2004-02-17 13:44:34 +00:00
jlam
0eb0b64bfb Don't include other buildlink3.mk files if we're just checking whether the
software is built-in.
2004-02-17 09:13:33 +00:00
jlam
53f9831d73 Revert and inadvertant change. 2004-02-16 21:04:39 +00:00
jlam
fd248f8330 Move the BUILDLINK_FILES definition to the right place so that they're
symlinked even if we use the built-in Xrender.
2004-02-16 21:03:14 +00:00
jlam
292b88ea48 If Xrender>=0.8, then automatically use render>=0.8. 2004-02-16 18:33:01 +00:00
jlam
c2c51c39b9 Require render>=0.8 to build Xrender-0.8.*. 2004-02-16 18:32:36 +00:00
jlam
bbbada1244 Modify checks for the version number of XFree86-provided Xrender library
so that they will be more accurate.  Also properly include the buildlink.mk
files for render.
2004-02-16 12:43:06 +00:00
jlam
501c5fa8ad Remove redundant USE_X11. 2004-02-16 12:39:55 +00:00
jlam
3548105a91 Remove patches that are unnecessary because we override the generated
libtool script.
2004-02-16 10:21:03 +00:00
jmmv
ab17dd00b3 PKGCONFIG_OVERRIDE is relative to WRKSRC. 2004-02-14 18:26:26 +00:00
jlam
3ebe053d90 LIBTOOL_OVERRIDE and SHLIBTOOL_OVERRIDE are now lists of shell globs
relative to ${WRKSRC}.  Remove redundant LIBTOOL_OVERRIDE settings that
are automatically handled by the default setting in bsd.pkg.mk.
2004-02-14 17:21:49 +00:00
jlam
d2b62c66fb 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.
2004-02-12 02:35:06 +00:00
jlam
1edfa505ed 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.
2004-02-12 01:59:37 +00:00
xtraeme
7e9d73f48e Fix PKGNAME. (xrender -> Xrender) 2004-02-09 06:24:05 +00:00
xtraeme
302bdac6fa bl3ify, while here remove PLIST_SUBST now we have libtool-1.5.2, it's
not longer needed (at least on FreeBSD).
2004-02-09 04:13:06 +00:00
jlam
7699290f10 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.
2004-02-06 19:04:24 +00:00
jlam
317cc72791 Make PREFER_PKGSRC just yes/no or a list of packages. This makes it
simpler to understand.
2004-02-05 07:17:14 +00:00
jlam
e7133cac25 Rename BUILDLINK_PREFER_PKGSRC to PREFER_PKGSRC so that we can use its
value outside of buildlink-related files.
2004-02-05 07:06:15 +00:00
jlam
07a9d8dfb2 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.
2004-02-05 06:58:02 +00:00
jlam
01a5abff01 Support BUILDLINK_DEPENDS.<pkg> being a list of values. 2004-01-24 03:12:31 +00:00
jlam
6dd299ffdf Using Xrender implies using X11. 2004-01-24 01:52:14 +00:00
jlam
d279e6f535 Use S/+$// instead of C/\+$// to save a backslash. Very highly
recommended by seb :)
2004-01-05 11:05:44 +00:00
jlam
c9ff27d270 Sow BUILDLINK_USE_BUILTIN.<pkg> and reap _NEED_<PKG> variables. 2004-01-05 09:31:31 +00:00
jlam
47bb2aae5f Re-arrange to match example buildlink3.mk file in bsd.buildlink3.mk. 2004-01-04 23:34:04 +00:00
fredb
90394b31aa It seems that the package libXrender has a few symbols absent in the 4.3.0
libXrender, so treat that as a minor bump and upgrade the dependency. It
seems that all packages that depend on Xrender do so indirectly, through
a dependency on Xft2, which already depends on Xrender 0.8.2, so skip the
PKGREVISION bumps. The only effect of this should be to prevent dependents
from gaining the shared library dependency on both the X and package libs.
2003-11-10 02:26:53 +00:00
jdolecek
0bf3d32849 depend on Xrender 0.8 (rather than 0.8.3), so that the Xrender bundled
with XFree 4.x would match the dependency (if present), instead of
forcing use of the Xrender package
2003-11-07 20:21:52 +00:00
dmcmahill
33bc437a20 fix PLIST problems on Solaris by setting the libtool (1.5) versioning type
to sunos.  No effect on non-solaris systems.
2003-10-31 02:13:17 +00:00
grant
b86c0392bd whitespace police 2003-10-30 11:20:56 +00:00
xtraeme
96359688a3 Fix installation on systems where libXrender.so.$(MAJOR_VERSION).$(MINOR_VERSION)
was not built (at least FreeBSD/Linux).
2003-10-03 20:11:41 +00:00
jlam
57635c2e5d Match the buildlink3.mk guidelines set out in revision 1.22 of
bsd.buildlink3.mk.
2003-09-30 10:18:57 +00:00
jlam
f339438669 Conform to latest buildlink3.mk guidelines using *_BUILDLINK3_MK guards
to protect more parts of buildlink3.mk files against multiple inclusion.
2003-09-30 00:42:32 +00:00
jlam
aaa25bfe59 Rewrite buildlink3.mk files to match the updated buildlink3.mk template
in bsd.buildlink3.mk: the *_BUILDLINK3_MK multiple inclusion guards are
removed and we ensure that things that should be defined only once really
are defined only once by using section-specific or variable-specific
guards.
2003-09-28 12:54:52 +00:00
recht
08419aa147 Add missing PKGCONFIG_OVERRIDE.
Bump PKGREVISION because of the changed *.pc files.
ok'ed by wiz@
2003-09-22 21:55:55 +00:00
wiz
9205383062 Update to 0.8.3.
Remove Xext dependency; split in Xrender and render; use automake;
add animate cursor support; some other fixes.
2003-09-19 17:22:14 +00:00
jlam
0aa210c78e Provide definitions for BUILDLINK_PREFIX.<pkg> when the dependency may be
satisfied by a base system (X11R6) component.
2003-09-14 01:47:51 +00:00
jlam
c74a02ee07 Need to use :C instead of :S to get the "pop" action to work properly. 2003-09-13 23:21:19 +00:00
jlam
440bc402a1 Move BUILDLINK_CHECK_BUILTIN.<pkg> documentation into bsd.buildlink3.mk. 2003-09-05 11:39:02 +00:00
jlam
54f69b4eda Add some buildlink3.mk files needed by x11-links>=0.13. 2003-09-02 07:12:16 +00:00