Commit graph

32 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
agc
d81d19f8e0 Add RMD160 digests. 2005-02-24 12:51:41 +00:00
wiz
56a323d9d0 Change dependency to use teTeX2 per default instead of the obsolete teTeX1.
While here, replace the INSTALL/DEINSTALL scripts with @exec/@unexec lines.
Bump PKGREVISION for dependency change.
2005-01-17 12:51:29 +00:00
wiz
a661ce60c0 PKGREVISION bump after openssl-security-fix-update to 0.9.6m.
Buildlink files: RECOMMENDED version changed to current version.
2004-03-26 02:27:34 +00:00
agc
3ad1bdbf06 Move WRKSRC definition away from the first paragraph in a Makefile. 2004-01-20 12:18:15 +00:00
jmmv
eeee7fac9f Adjust dependancies and bump PKGREVISION due to:
- teTeX 1.0.x packages have been moved to teTeX1* directories.
- teTeX 2.0.x packages have been moved to teTeX* directories and their base
  name has been changed to teTeX (instead of teTeX2).
2003-12-24 13:02:00 +00:00
grant
ca3be631f2 s/netbsd.org/NetBSD.org/ 2003-07-17 22:50:55 +00:00
jmmv
0916498c1b Place WRKSRC where it belongs, to make pkglint happy; ok'ed by wiz. 2003-03-29 12:40:00 +00:00
dmcmahill
ff9c3a37ca add Verilog-A definitions 2002-08-27 03:00:12 +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
zuntum
d038a73ebd Move pkg/ files into package's toplevel directory 2001-10-31 22:52:58 +00:00
agc
1c989c3883 Move to sha1 digests, where appropriate and possible, and add distfile
sizes.
2001-04-20 12:41:48 +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
wiz
a87738b456 Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-17 17:42:09 +00:00
dmcmahill
55ebabdd2f add verilog support. tried to contact the last known author/maintainer
for lgrind to feed patch back to, but email bounced.
2001-02-15 07:18:57 +00:00
hubertf
402899809a Replace MIRROR_DISTFILES and NO_CDROM with the more descriptive and
more fine-grained NO_{BIN,SRC}_ON_{FTP,CDROM} definitions.

MIRROR_DISTFILES and NO_CDROM are now dead.
2000-08-18 22:46:29 +00:00
hubertf
116941f8c9 adjust DEPENDS 2000-06-15 11:29:38 +00:00
abs
df05aef71f Strip trailing '.', and/or leading '(a|an) ' 2000-01-05 15:37:50 +00:00
agc
f56dfe8833 Use 3 lines of context, but protect the RCS Id in a different way, in
patch-aa, and use a pre-patch step in the package Makefile to substitute
for RCS keywords. Regenerate patch file checksum.
1999-12-16 14:34:10 +00:00
rh
f3c715064b defuzz. patch-aa contains an RCS Id, so we have to reduce context lines
by one (patch blocks are large enough to still provide enough context).
1999-12-07 20:51:31 +00:00
rh
2e4772b474 defuzz 1999-11-27 23:23:18 +00:00
jwise
6c872d9249 One character change -- DEPENDS= --> DEPENDS+= 1999-11-19 17:15:12 +00:00
soren
3a94a4cd47 Use a relative path for bsd.pkg.mk instead of relying on the search path. 1999-09-28 20:40:02 +00:00
jwise
fd49b9466a Now that POST-DEINSTALL works (Thanks, Hubert!), rebuild teTeX's ls-R
database after deinstallation, rather than advising the user to do so.
1999-09-09 02:06:01 +00:00
jwise
ecbf4f855c Add INSTALL and DEINSTALL scripts, to handle the teTeX ls-R database.
Unfortunately, since DEINSTALL gets run before the actual de-installation
(if I understand correctly), the DEINSTALL script advises the user to
rebuild the database (and explains how) rather than doing it.
1999-09-08 19:29:16 +00:00
jwise
b0a36504cf Regenerate teTeX ls-R database after installing 1999-09-08 18:55:59 +00:00
drochner
a8ac21c9a6 update dependencies 1999-08-14 14:23:55 +00:00
agc
ff10f67cc4 Add md5 file for the package distfile, and a patch-sum file for the package's
patches.
1999-07-09 14:46:43 +00:00
agc
e703be3cdf Add NetBSD RCS Id as a comment. 1999-07-09 14:25:28 +00:00
garbled
388860d23f add USE_X11=yes 1999-04-26 19:25:05 +00:00
hubertf
29c13c7ba4 fix teTeX depends version 1999-04-06 02:15:00 +00:00
jwise
a58002bb36 Initial import of lgrind-3.5, a document pretty-printer for LaTeX. 1999-03-10 17:03:13 +00:00