Commit graph

40 commits

Author SHA1 Message Date
jlam
95fd1f6ec9 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.
2005-06-01 18:02:37 +00:00
lukem
1dff785ba5 Update to ups-nut 2.0.1 2005-05-21 01:46:10 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
d81d19f8e0 Add RMD160 digests. 2005-02-24 12:51:41 +00:00
wiz
6e02d7ee41 Rename ALL_TARGET to BUILD_TARGET for consistency with other *_TARGETs.
Suggested by Roland Illig, ok'd by various.
2004-12-03 15:14:50 +00:00
tv
c487cb967a 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.
2004-10-03 00:12:51 +00:00
xtraeme
1e73555403 Bump PKGREVISION and remove X11 support where appropiate. 2004-06-20 21:52:07 +00:00
snj
118b6ca25a Convert to buildlink3. 2004-04-11 01:54:20 +00:00
martin
f96b2ec78e Update ups-nut and ups-nut-cgi to version 2.0. 2004-04-05 22:38:09 +00:00
lukem
9ff9f37939 Update to 1.4.1, to sync with ups-nut 1.4.1. 2004-02-15 13:15:43 +00:00
grant
ca3be631f2 s/netbsd.org/NetBSD.org/ 2003-07-17 22:50:55 +00:00
adam
f2275a7606 Revision bumped because of gd shared library major bump 2003-06-23 11:18:42 +00:00
dmcmahill
d3718b001e include freetype2 buildlink2.mk file so this can work on non-XF4 systems.
Problem noted in recent alpha bulk build.
2003-02-05 18:36:47 +00:00
jlam
d7f69e47ce Instead of including bsd.pkg.install.mk directly in a package Makefile,
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set
to "YES".  This enforces the requirement that bsd.pkg.install.mk be
included at the end of a package Makefile.  Idea suggested by Julio M.
Merino Vidal <jmmv at menta.net>.
2003-01-28 22:03:00 +00:00
lukem
84e01f1a33 bump pkgrevision for cgi move 2002-12-17 12:03:01 +00:00
lukem
ea7becbda8 install cgi into libexec/cgi-bin instead of share/nut/cgi 2002-12-17 05:53:41 +00:00
lukem
94bcc2b664 Update from nut 0.50.0 to 1.2.1.
Many changes, too many to list here.
See:
	http://www.exploits.org/nut/release/1.2/new-1.2.1.txt
and (after installation):
	/usr/pkg/share/doc/nut/UPGRADING
2002-12-13 04:23:17 +00:00
dillo
a13fbf89bd get rid of autoconf build dependency by patching configure 2002-10-02 23:36:06 +00:00
jlam
a020ed9056 Merge packages from the buildlink2 branch back into the main trunk that
have been converted to USE_BUILDLINK2.
2002-08-25 21:50:52 +00:00
lukem
2e7c32a306 update to nut 0.50.0. notable changes:
- change from tcp/ip port 3305 to the IANA assigned 3493
- all old-style drivers have been deprecated:
	aeg bestfort bestuferrups engetron ipt-anzen
	mgeups multilink mustekups optiups sms
	toshiba1500 ups-trust425+625 upseyeux
- newvictron renamed to victronups
- newpowercom renamed to powercom, replacing previous powercom
  and ups-trust425+625 as well
2002-07-03 11:57:11 +00:00
lukem
a77301eaf5 Update from 0.45.3 to 0.45.5, to remain in sync with ups-nut.
Notable changes (separate to those from ups-nut):
- install nut .cgi related manual pages
2002-05-13 15:15:23 +00:00
fredb
b48eba1112 Give all packages which depend on "png" a version bump, and update
all dependencies on packages depending on "png" which contain shared
libraries, all for the (imminent) update to the "png" package.
[List courtesy of John Darrow, courtesy of "bulk-build".]
2002-03-13 17:36:35 +00:00
lukem
95457f844f Update to 0.45.3, to synchronise with ups-nut update. 2002-01-03 14:48:59 +00:00
jlam
f207998a1b Fix the config directory to point to ${PKG_SYSCONFDIR}. 2001-12-21 04:45:03 +00:00
jmc
2396b2daa6 Path to ups-nut forget one ../ in DEPENDS 2001-11-28 08:18:29 +00:00
jlam
73ac345874 Strongly buildlinkify. 2001-11-21 15:53:08 +00:00
lukem
409928b75a upsstats.cgi enhancements:
- remove unnecessary empty table element
- if ups var `runtime' is available, display it
2001-11-19 03:47:42 +00:00
lukem
ab5e21bfcd update to 0.45.2 to be in sync with ups-nut. see ups-nut for more details 2001-11-18 00:57:50 +00:00
zuntum
d038a73ebd Move pkg/ files into package's toplevel directory 2001-10-31 22:52:58 +00:00
lukem
de223eab6d update from 0.44.3-pre5 -> 0.45.1. changes as per ups-nut (see its commit log).
part of this includes local fixes to ensure that upsimage.cgi gets linked with
the appropriate -R option so that it can find its libraries.
2001-09-28 04:42:48 +00:00
jlam
f79573370a Mechanical changes to 375 files to change dependency patterns of the form
foo-* to foo-[0-9]*.  This is to cause the dependencies to match only the
packages whose base package name is "foo", and not those named "foo-bar".
A concrete example is p5-Net-* matching p5-Net-DNS as well as p5-Net.  Also
change dependency examples in Packages.txt to reflect this.
2001-09-27 23:17:41 +00:00
tron
a68a277b43 Use wildcard dependence on "autoconf" package. 2001-08-27 14:35:04 +00:00
agc
027c166bf7 Move to sha1 digests, and add distfile sizes. 2001-04-19 11:28:57 +00:00
agc
2d6b6a009c + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 11:43:32 +00:00
hubertf
e32afb6fea Change BUILD_DEPENDS semantics:
first component is now a package name+version/pattern, no more
executable/patchname/whatnot.

While there, introduce BUILD_USES_MSGFMT as shorthand to pull in
devel/gettext unless /usr/bin/msgfmt exists (i.e. on post-1.5 -current).

Patch by Alistair Crooks <agc@netbsd.org>
2001-03-27 03:19:43 +00:00
martin
f3460aea31 Update ups-nut-cgi to 0.44.3 prerelease 5.
Changes are too much to list here, see "Changes" in the distribution
for a detailed list. Various bugfixes and enhancements.
Package provided by collver@linuxfreemail.com.
2001-03-11 13:50:50 +00:00
wiz
a87738b456 Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-17 17:42:09 +00:00
fredb
46a9e2c3de Make that "autoreconf" -- there is no "autoremake". 2001-02-06 03:16:56 +00:00
tron
f2d262e0be Use full pathname "${LOCALBASE}/bin/auto..." in dependences and make
targets. This includes a fix for PR pkg/12125 by Tomasz Luchowski.
2001-02-05 09:00:54 +00:00
martin
e6ab7a0e38 Initial import of ups-nut-cgi package from collver@softhome.net;
additional tools for monitoring UPSes using ups-nut and cgi scripts.
Closes PR 11746.
2000-12-28 16:07:51 +00:00