Commit graph

75 commits

Author SHA1 Message Date
joerg
2d1ba244e9 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.
2009-03-20 19:23:50 +00:00
joerg
3d8ef5a52d Second round of explicit pax dependencies. As reminded by tnn@,
many packages used to use ${PAX}. Use the common way of directly calling
pax, it is created as tool after all.
2008-05-26 02:13:14 +00:00
jlam
8216d744ac Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
2008-03-04 16:38:11 +00:00
jwise
d713eea2be Per Juan RP, use pkgsrc-users@ as MAINTAINER of unmaintained pkgs. 2007-03-21 19:44:10 +00:00
jwise
334802060f I'm not using any of these packages any more, and have not been keeping up
on maintaining them.  Switch MAINTAINER to tech-pkg, so I can focus on those
which I am still using.
2007-03-21 18:55:47 +00:00
jlam
c16221a4db 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
2006-07-08 23:10:35 +00:00
jlam
9430e49307 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.
2006-07-08 22:38:58 +00:00
jlam
60f791e1e6 Move the check-shlibs target from bsd.pkg.mk to bsd.pkg.check.mk where
it will live with other "check" targets run after package installation.

Get rid of SHLIB_HANDLING, whose meaning had mutated over the years
from one thing to another.  Currently, it is used to basically note
whether the system's "ldd" command can be usefully run on the package's
binaries and libraries.  Rename this variable to CHECK_SHLIBS_SUPPORTED
for more clarity.

CHECK_SHLIBS is now a variable set exclusively by the user in /etc/mk.conf
to note whether the check for missing run-time search paths is performed
after a package is installed.  It defaults to "no" unless PKG_DEVELOPER
is set.
2006-05-22 22:22:02 +00:00
rillig
9fc2d7d281 Removed the superfluous "quotes" and 'quotes' from variables that don't
need them, for example RESTRICTED and SUBST_MESSAGE.*.
2006-04-22 09:22:05 +00:00
rillig
96fc47c14f Aligned the last line of the buildlink3.mk files with the first line, so
that they look nicer.
2006-04-12 10:26:59 +00:00
reed
5abef9be14 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).
2006-04-06 06:21:32 +00:00
jlam
dc9594e09d Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mk
automatically detects whether we want the pkginstall machinery to be
used by the package Makefile.
2005-12-29 06:21:30 +00:00
wiz
25ba98362b Add RMD160 checksum. 2005-10-20 18:13:30 +00:00
jlam
cf4dfe44a5 Use REQD_DIRS instead of MAKE_DIRS for directories under ${PREFIX} so
that these directories will be conditionally removed (based on reference
counts), regardless of the value of PKG_CONFIG.  Bump the PKGREVISION
for packages that were modified as a result.
2005-08-20 19:16:21 +00:00
jlam
bd2788d930 Merge CONF_FILES/SUPPORT_FILES and CONF_FILES_PERMS/SUPPORT_FILES_PERMS
as the INSTALL and DEINSTALL scripts no longer distinguish between
the two types of files.  Drop SUPPORT_FILES{,_PERMS} and modify the
packages in pkgsrc accordingly.
2005-08-19 18:12:36 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
475ab002d7 Add RMD160 digests 2005-02-24 09:03:05 +00:00
jmmv
da5adc365e Convert the Java related packages to use the alternatives system. To do
this, we only need some simple logic in java-env.mk to automatically
generate an ALTERNATIVES file for us.

There are two exceptions, though: fastjar and jikes (pointed out by tv@),
which do not use this file; they have to be handled manually.

Bump PKGREVISION for all affected packages.

While doing this, remove the java-wrapper package, obsoleted by the new
functionality provided by pkg_alternatives.
2005-01-30 23:18:37 +00:00
tv
85570525d2 Fix the "jre" symlink in the various Sun-based JDK packages; it was wrong
for quite some time after the ${PREFIX}/java migration.  Since pkgsrc now
has proper symlink handling in pkg_install, this can now be a simple
PLIST entry rather than an @exec/@unexec pair.
2004-10-11 14:07:36 +00:00
tv
4819d1527d Add java-env.mk support; bump PKGREVISION. 2004-07-29 00:50:59 +00:00
wiz
f1d962502c Unused. 2004-07-02 22:13:09 +00:00
wiz
0e75df64ca Add -f to mv for non-root users. 2004-07-02 13:42:39 +00:00
wiz
c05bb42d1e Add appropriate CPPFLAGS and PASSTHRU_DIRS variables so that packages
depending on this one can find the header files. Noted broken by snj.
2004-07-02 12:51:57 +00:00
wiz
d68ab92e25 To be on the safe side, bump PKGREVISION for the RPEFIX change. 2004-07-01 10:57:05 +00:00
wiz
e3f07cd841 Make bl3-ready -- do not set PREFIX, use paths relative to "real" PREFIX. 2004-07-01 00:00:43 +00:00
abs
02c869fa17 Add buildlink3.mk - based on wip/jdk13/buildlink3.mk 2004-06-28 16:59:34 +00:00
wiz
a09c1eb033 Fix (de)installation by removing a .orig file
from the install dir.
2004-02-23 22:10:48 +00:00
grant
6bd12fc012 apparently the checksum for the a.out pkg got lost from here
> 2 years ago. ressurect it.
2003-10-30 11:38:18 +00:00
grant
949f60df87 bump stack size when calling the java compiler from 8mb -> 12mb.
fixes build problem of apache-ant in a recent bulk build. from rtr@.
2003-10-30 11:30:10 +00:00
jschauma
cc0621ca9f Put these packages into a new pseudo-category called 'java'. 2003-08-23 15:13:56 +00:00
grant
0155927c43 s/netbsd.org/NetBSD.org/ 2003-07-17 21:41:05 +00:00
jmmv
f1446ddf2b Drop trailing whitespace. Ok'ed by wiz. 2003-05-06 17:40:18 +00:00
jlam
30d00c3cf8 Bump PKGREVISIONs for:
lang/blackdown-jdk13
	lang/jdk
	lang/sun-jdk13
	lang/sun-jdk14

Create a symlink from ${JAVA_HOME} to ${JAVA_HOME}/jre so that the proper
JDK hierarchy is found.  This addresses PR 20269 by Todd Vierling
<tv at pobox dot com>.  This makes misc/openoffice-linux find the Java2
installation again.
2003-02-11 04:23:14 +00:00
jlam
19173c8ac7 Bump PKGREVISION of lang/jdk to 3: we use bsd.pkg.install.mk to handle
copying of config files and handling of directories.
2003-02-03 23:48:07 +00:00
jlam
5c4953978d Add buildlink2.mk files for use by other package Makefiles. Each JVM
buildlink2.mk file creates a public variable "BUILDLINK_JAVA_PREFIX.<pkg>"
that may be used as the JAVA_HOME for that package.
2002-10-13 07:51:34 +00:00
jlam
de232f34b8 * Use buildlink2.
* Install with JAVA_HOME=${LOCALBASE}/java/jdk-1.1.8 instead of into
  ${LOCALBASE}/java/${PKGNAME}, which lead to the jdk installation moving
  even when the PKGREVISION is bumped.
* Cosmetic updates to the package Makefile.
* Sort the PLIST.
2002-10-13 07:48:52 +00:00
jlam
b24f715c50 Cosmetic changes to MESSAGE files for JVMs for readability. 2002-10-13 07:29:32 +00:00
wiz
e8817c9088 Complete standardization of messages according to latest pkglint. 2002-09-24 12:29:55 +00:00
schmonz
4ee13aec82 Entab. 2002-07-28 12:38:50 +00:00
jschauma
95e5641aa6 We allow several JDKs/JREs to coexist, installing them in separate
subdirectories under ${PREFIX}/java/ -- Change II of many.

Thus, install this jdk in ${PREFIX}/java/jdk-1.1.8, remove
CONFLICTS with other JDKs/JREs and bump PKGREVISION.
2002-07-27 21:32:48 +00:00
abs
c90ffd0d11 If we find ourself on Linux-*-i686, deal with it. 2002-03-01 01:58:35 +00:00
zuntum
98cf373d36 Move pkg/ files into package's toplevel directory 2001-11-01 00:32:23 +00:00
zuntum
a437fd43cc Move pkg/ files into package's toplevel directory 2001-11-01 00:20:13 +00:00
abs
74dbc5ed42 Enable for Linux-*-i386 2001-05-17 15:03:00 +00:00
agc
8118fe36ae Move to sha1 digests, and add distfile sizes. 2001-04-19 15:00:47 +00:00
agc
fb467f5ac2 + 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:22:34 +00:00
agc
82acd159f7 Move the COMMENT from being in its own file to a definition in the
package Makefile.
2001-02-17 09:06:56 +00:00
agc
96f3e3ed34 Fix typo 2001-02-09 17:59:46 +00:00
agc
ac6a7d3a2b + Create the symlinks relative to the cwd, so that we don't get erroneous
pathnames in there.

+ Treat libXm separately from the rest of the libs, since (a) it needs a
separate "intermediate" symlink as well, even for ELF libs, and (b) it
uses a completely different version number from the rest of the libs,
for obvious reasons
2001-02-09 17:48:39 +00:00
agc
5aaa40aeb1 On ELF systems, install symlinks to shared libs as well as the libs
themselves, in sync with the new PLIST style. Not tested on a.out
i386 platform, as I don't have one to hand.

Should address PR 12044, from Chris Jones.
2001-02-09 17:02:46 +00:00