Commit graph

42 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
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
wiz
393af94024 Add RMD160 checksums to the SHA1 ones. 2005-02-23 17:36:09 +00:00
adrianp
08c1e7cf27 Move pre-configure target to post-patch. This allows other subpackages
to define their own pre-configure target which is needed.
2005-01-22 17:26:22 +00:00
grant
908e765695 since perl is now built with threads on most platforms, the perl archlib
module directory has changed (eg. "darwin-2level" vs.
"darwin-thread-multi-2level").

binary packages of perl modules need to be distinguishable between
being built against threaded perl and unthreaded perl, so bump the
PKGREVISION of all perl module packages and introduce
BUILDLINK_RECOMMENDED for perl as perl>=5.8.5nb5 so the correct
dependencies are registered and the binary packages are distinct.

addresses PR pkg/28619 from H. Todd Fujinaka.
2004-12-20 11:30:55 +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
58203b1ed6 bl3ify 2004-04-25 02:21:06 +00:00
agc
24a46ed346 Move WRKSRC definition away from the first paragraph in a Makefile. 2004-01-20 12:28:26 +00:00
salo
e939813553 Updated to 0.7009. Fixes build with perl 5.8.x.
Addresses PR pkg/23209 by Christian Gall.
2003-11-25 12:08:00 +00:00
seb
9d1b33c937 Fix pathname to patched file so "sub packages" of p5-gtk
- which have a different WRKSRC - can actually be built.
2003-09-07 18:17:02 +00:00
wiz
195d6b3786 Package sharing this file should also use the same patches; set
PATCHDIR (per suggestion from mrg).
2003-09-04 07:34:59 +00:00
mrg
ddf27bda9c actually make sure the subpackages depend on p5-gtk itself! 2003-07-22 00:00:43 +00:00
wiz
43fa0c7cb6 PKGREVISION bump for libiconv update. 2003-07-13 13:50:19 +00:00
mrg
82a4fce427 part 1 to fix PR pkg/21891: split common parts of p5-gtk and it's sub
packages out, and have a generic method of building a sub package.
2003-06-23 07:14:47 +00:00
wiz
35678d2b3a Fix dir in depends line. From Soren Jacobsen in PR 21508. 2003-05-09 08:02:38 +00:00
jmmv
8a555528c0 PKGREVISION goes after PKGNAME. 2003-05-05 19:05:05 +00:00
jmmv
7fe1fe9f87 Line up PKGREVISION whitespace. 2003-05-05 14:41:54 +00:00
wiz
7166660e08 Dependency bumps, needed because of devel/pth's major bump, and related
dependency bumps.
2003-05-02 11:53:34 +00:00
wiz
71bc55e86f buildlink1 -> buildlink2. Use perl5/module.mk. 2002-10-13 11:43:59 +00:00
zuntum
d3db18607d Move pkg/ files into package's toplevel directory 2001-10-31 22:03:21 +00:00
veego
63ad910dee SVR4 packages have a limit of 9 chars for a package name.
The automatic truncation in gensolpkg doesn't work for packages which
have the same package name for the first 5-6 chars.
e.g. amanda-server and amanda-client would be named amanda and amanda.
Now, we add a SVR4_PKGNAME and use amacl for amanda-client and amase for
amanda-server.
All svr4 packages also have a vendor tag, so we have to reserve some chars
for this tag, which is normaly 3 or 4 chars. Thats why we can only use 6
or 5 chars for SVR4_PKGNAME. I used 5 for all the packages, to give the
vendor tag enough room.
All p5-* packages and a few other packages have now a SVR4_PKGNAME.
2001-10-18 15:20:01 +00:00
jlam
3fe187ec20 Update x11/p5-gtk to version 0.7008. Major changes from version 0.7004
include:

	* bug fixes
	* added perl var changes event source: you can now get a callback
	  when the value of a perl variable changes.
	* install more documentation (Gtk::cookbook)
	* optimize both memory used and speed of loading/execution
	* add the ability to query packages, signals and object arguments.
2001-10-03 18:12:32 +00:00
skrll
7c75053771 Move to sha1 digests, and add distfile sizes. 2001-04-19 11:07:33 +00:00
agc
8f972b049a + 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 12:12:16 +00:00
wiz
755d3dd8c0 Update to 0.7004 per pkg/11595 by Damon Brodie. Bugfix release. 2001-02-28 14:01:14 +00:00
wiz
a486f11406 Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-17 17:06:11 +00:00
jlam
00c6194ccc Update p5-gtk to 0.7003 -- a year and a half's worth of changes to track
GTK+ and fix building on newer versions of Perl.
2000-08-28 20:30:31 +00:00
jlam
18cba9d7fa Convert packages to use PERL5_PACKLIST (part 1). These were the easy
ones to do, and each compiled and installed/de-installed apparently
correctly.

As a side effect of the dynamic PLIST, we no longer need to have separate
-static and -shared PLISTs.  It's now easier than ever to make a perl5
package for NetBSD :)
2000-08-27 07:10:59 +00:00
tron
fd8f256cc5 Use wildcard dependence for "gtk+" package. 1999-10-23 00:05:15 +00:00
abs
3365dcb7a5 Consistency:
Capitalise, remove trailing '.', remove many leading 'a', or 'the'.
1999-09-21 17:20:03 +00:00
rh
6c7e0a91ff Update dependency on gtk+-1.2.4 1999-08-28 09:43:06 +00:00
tron
4c1a6ff88f Update dependence for "gtk+" package to version 1.2.2. 1999-05-02 14:35:56 +00:00
garbled
388860d23f add USE_X11=yes 1999-04-26 19:25:05 +00:00
tron
13bccdbb65 Update dependence for "gtk+" package to version 1.2.1. 1999-04-16 20:16:40 +00:00
hubertf
37dd656c38 Update to 0.5120
Lots of changes, mostly to make this working again, and with the latest
and greatest gtk release.
1999-04-12 17:57:23 +00:00
agc
79e49eaba2 s/netbsd/${LOWER_OPSYS}/g 1999-04-08 18:51:48 +00:00
tron
33e22c14b3 Update dependence for "gtk+" package. 1999-03-04 09:30:44 +00:00
tron
9ac126f07c Depend on version 1.1.12 of "gtk+" package. 1999-01-16 05:49:56 +00:00
tron
3732ba1c4b Depend on "gtk+-1.1.9". 1998-12-19 00:10:00 +00:00
tron
56d7760135 Depend on "gtk+-1.1.3". 1998-11-21 22:59:33 +00:00
garbled
e720c4e372 Initial import of p5-gtk-0.4.
perl bindings for gtk
1998-11-04 07:57:25 +00:00