Commit graph

619 commits

Author SHA1 Message Date
agc
ef268dcf91 Define a new target, "show-pkgsrc-dir", which prints the directory
from which an installed package can be re-installed.  This can be used
to build up a list of host specific packages, which is useful, for
example, in re-building all packages on a machine for a.out to ELF
transition.
2000-05-11 11:23:20 +00:00
agc
1faf8c57a1 Fix a pasto, pointed out by John Refling in PR 10094, which prevented
files from being ignored when making checksums for distfiles.
2000-05-11 08:14:35 +00:00
tron
211c58050d Remove obsolete entry for "MUTT_INTERNATIONAL". 2000-05-09 18:12:40 +00:00
abs
6642be2b54 Add NS_USE_BSDI to allow people to select the i386 BSDI binary for navigator
and communicator. Also rename PLIST files to reflect the real OS, and include
${BINNAME} (navigator/communicator)
2000-05-09 13:23:19 +00:00
fredb
2a225916a3 Document LYNX_SCREEN_LIB for lynx (actually, only lynx-current for now). 2000-05-08 02:01:45 +00:00
hubertf
5b891053b8 Add $PKG_ADMIN, "just in case this is used somewhere" :-) 2000-05-07 01:58:41 +00:00
danw
999c0cad32 When calling configure, set ac_given_INSTALL as well as INSTALL, to
work around a bug in how autoconf 2.13-generated scripts pass INSTALL
to sub-configures.
2000-05-02 18:44:37 +00:00
sakamoto
93d4a9d4d4 Add LINUX_LOCALES variable.
Used in linux-locale package to install specify language(s)
2000-04-28 10:30:36 +00:00
kim
b47fe97954 Document POSTFIX_PCRE and POSTFIX_VERP. 2000-04-27 01:10:00 +00:00
tron
efb6064cd3 Rename "SSL_DIR" variable to "SSLBASE" to be consistent with e.g.
"USE_MOTIF".
2000-04-26 21:16:10 +00:00
tron
70f8a03a2f Add new option "USE_SSL" for packages which require a SSL library. An
OpenSSL installation from "cryptosrc" is automatically utilizied. If
none is available the "openssl" package is used.
2000-04-26 21:09:02 +00:00
tron
3bd499e478 Don't use "MOTIFBASE" if "USE_MOTIF" was not defined. Patch supplied by
John Darrow in PR pkg/9914.
2000-04-25 20:19:56 +00:00
jwise
60cf0a246a Make previous more thorough:
In the USE_JAVA case, make PATH include ${JAVA_HOME}/bin, and set CLASSPATH in
CONFIGURE_ENV and SCRIPTS_ENV as well (no pkgs use this yet, but they could...)

This should make java packages build happily in bulk pkg builds where CLASSPATH
is not set or JAVA_HOME/bin is not in PATH on the system as a whole :-)
2000-04-24 22:39:11 +00:00
jwise
b77f29df69 If CLASSPATH is not set, assign a reasonable default. Although
pkgsrc/lang/jdk/pkg/MESSAGE advises people to set CLASSPATH, they
may not have by the time they build a dependent package, especially if
jdk was pulled in as a prerequisite...
2000-04-24 22:20:02 +00:00
kim
8520b168ca Set DEPENDS_TARGET=package during a "make package", and propagate
DEPENDS_TARGET to builds for dependencies.

This results in "make package" creating packages for all missing
dependencies as well, instead of merely installing them on the system.
This is a more consistent and intuitive behaviour.

Running "make install" will install the dependencies just like before
(no binary packages will be built).
2000-04-24 03:40:50 +00:00
wiz
9fc273abd9 update comment for ZIP_ENCRYPT -- it doesn't apply to unzip anymore 2000-04-20 04:02:55 +00:00
wiz
fd683ab63c make show-downlevel compare version numbers if a different version is
installed, instead of just saying that the version installed is older.
Useful e.g. for the -current packages which don't have -current in their
name (gimp, mutt, cvs et al.)
2000-04-19 15:02:31 +00:00
hubertf
6dd4923307 Fix print-pkg-size: when parsing the PLIST, use awk to prepend the
proper prefix (defaults to $PREFIX, but can be changed by
	@cwd from the PLIST).

Sent in in PR 9888 by Takahiro Kambe <taca@sky.yamashina.kyoto.jp>
2000-04-15 16:13:07 +00:00
hubertf
5bfd37b7e5 Your package tools need to be updated to 3000/02/02 versions.
The installed package tools were last updated on 1999/01/01.    <====
  Please make and install the pkgsrc/pkgtools/pkg_install package.

Print out the second date from the right variable.
2000-04-13 23:19:20 +00:00
tron
bb3acfbf10 Remove description of obsolete "GLX_CHIPSET" variable. 2000-04-11 22:51:48 +00:00
hubertf
9d722decbb * small whitespace fix
* set DECOMPRESS_CMD to ${CAT} if EXTRACT_SUFX == ".tar"
2000-04-06 16:03:22 +00:00
fredb
e410dc661a Correct the sense of the example use of "BSD_PKG_MK". Error pointed out
by Hubert Feyrer.
2000-04-02 08:22:44 +00:00
wiz
f88a0a03d8 Add and document variable BASH_STATIC, as per pkg/8792 by Jim Bernard
<jbernard@mines.edu>.
2000-03-30 12:13:13 +00:00
tron
0cc9b5c48e Don't invoke "${CONFIGURE_SCRIPT}" with leading "./" so that an absolute
pathname will work properly.
2000-03-27 08:43:05 +00:00
fredb
92bbcf914b Document BSD_PKG_MK. 2000-03-26 19:56:25 +00:00
jlam
45c2310c69 In print-pkg-size target, pre-filter the input to "xargs ls -ld" to
shell escape any spaces in the filename.  This allows building with the
correct package size for things like StarOffice or Maelstrom.
2000-03-26 08:11:21 +00:00
enami
e310c9a242 Introduce three control variable for this package; EMACS_USE_{POP,X,X_TOOLKIT}.
The first one defaults to `yes' and latter two aren't defined by default (so,
the configure script will configure automagically).
2000-03-26 07:59:30 +00:00
fredb
b69ab5508b Deal with some hidden dependencies, commonly induced by Gnu configure, by
setting M4, and by adding M4 and YACC to CONFIGURE_ENV (YACC is already set,
for NetBSD, in "sys.mk"). If it turns out that a package really needs "gm4"
for "m4", or "bison -y" for "yacc", the corresponding variable will have to
be set in the package's Makefile (and the explicit dependency added, too).
2000-03-25 17:17:37 +00:00
wiz
f427f8274d remove now unused TRN_* variables, and add trn again to comment for
USE_INN.
2000-03-18 19:55:24 +00:00
jlam
454d48168c Nuke PGSQL_USE_TCL. Superseded by databases/{tcl,tk}-postgresql. 2000-03-18 17:57:58 +00:00
hubertf
32110c5f9b if DESTDIR is set, don't change PKG_DBDIR when PKGTOOLSVERSION
is not known (yet).
2000-03-13 17:47:07 +00:00
agc
755bef9345 Previous commit to bsd.pkg.mk caught some "SMART_MESSAGES" work - document
them now, in mk.conf.example, and add a small comment explaining what they
do.

When SMART_MESSAGES is defined, when compiling packages, the make(1)
target is displayed, and also the current stack of packages being built.
2000-03-13 14:24:27 +00:00
agc
2b9aa50765 Fix PACKAGE_DEPENDS_QUICK when installing on Solaris - escape the
argument from the shell, so that we can install packages on Solaris
again, and use canonical ${GREP} and ${AWK} programs.
2000-03-13 14:19:15 +00:00
wiz
9fe0402e1e Added variable for display depth rasmol gets compiled for, since
it only supports one per executable :-(
2000-03-13 04:44:18 +00:00
agc
dfd49da283 In informational messages to the user, use '=>' in preference to '>>',
so that cut-n-paste into send-pr will work correctly.

Fixes PR 9173 from ITOH Yasufumi.
2000-03-10 16:07:37 +00:00
hubertf
50f2df320b Change print-depends to look into /var/db/pkg, instead of pkgsrc
(implements $PACKAGE_DEPENDS_QUICK)

--

Thomas Klausner hinted me at some interresting problem WRT the
print-depends package. If something depends on suse_linus-6.*, that
package will register whatever suse_linux there is right now on the system
(in his case V6.1). What print-depends then does is also dig out any pkgs
required for suse_linux, based on what's in pkgsrc, which is of course
_wrong_, as this most likely doesn't match the installed version.[*] The
right thing instead is to print whatever the (currently installed)
suse_linux package depends on, which can be read from "pkg_info -qf"
output, looking at the @pkgdep lines.

Of course this only works if the pkg is actually installed, so it cannot
be used for README.html generation etc., but that's bad luck.

One positive aspect of using the @pkgdep list instead of going down
recursively is that this saves some time and processes. On my P133 it's
going down from ~11s to 0.5s for the pkgsrc/x11/kde package. During a
"make package" of kde itself (not counting the depending pkgs) this will
cut down like 20s (once for the fake-pkg target, and another one for the
pkg_create args - maybe a 3rd time for pkg_create in fake-pkg, but I don't
want to check that right now).

Anyways, a general solution would be to use the "pkg_info -qf | grep
@pkgdep" in print-depends instead of recursion (only!) in the places that
we know that the depends are installed. Which is the PKG_ARGS assignment
(for pkg_create) and the fake-pkg target.


[*] Plus it may be questioned that we should not go down recursively
    for pkg depends anyways, but this is used in too many subtle ways
    throughout the system to change.
2000-03-09 14:05:26 +00:00
hubertf
4c257865d4 Changes to make DESTDIR builds have a bit more chance to survive,
esp. WRT PKG_DBDIR; Plus one comment.
2000-03-09 13:54:50 +00:00
soren
654348726b Add ftp.dk.netbsd.org. 2000-03-05 22:30:57 +00:00
wiz
c8dbdb2596 delete more created files when NO_WRKDIR is set 2000-03-02 18:35:59 +00:00
tron
b2c6e7b6ed Add mirror on "ftp.informatik.rwth-aachen.de" to "MASTER_SITE_SUNSITE". 2000-03-01 10:53:07 +00:00
fredb
d22d091537 Special case DEINSTALLDEPENDS=ALL in deinstall target, so that update
target won't delete BUILD_DEPENDS packages. No one should be setting
DEINSTALLDEPENDS to ALL in /etc/mk.conf--it's done unconditionally by
the update target. Setting DEINSTALLDEPENDS to anything but NO or ALL
will still cause the BUILD_DEPENDS to be pkg_deleted.
2000-02-28 22:13:31 +00:00
hubertf
586e83db55 We don't support FETCH_DEPENDS for some time now, remove the
remaining code (fetch-depends calls, fetch-depends calling
_DEPENDS_USE).
2000-02-28 01:38:37 +00:00
hubertf
6f7bfe172b Also remove pkgs installed via BUILD_DEPENDS, they are not noted in the
installed pkg and this won't be caught by "pkg_delete -r".

There are still situations where pkgs can be left behind if they were
pulled in as BUILD_DEPENDS of any depends installed via the "depends"
target. Maybe Makefile-level recursion should be used instead of
"pkg_delete -r" to implement this...
2000-02-26 21:58:55 +00:00
hubertf
88ade01ee1 Only add DIST_SUBDIR to MASTER_SITE_OVERRIDE if MASTER_SITE_OVERRIDE
is actually set. Prevents "Variable MASTER_SITE_OVERRIDE is recursive"
message.

Found by Ezra Story <ezy@panix.com>
2000-02-25 05:46:27 +00:00
wiz
278a82fb86 removed obsoleted ${UVM} variable, all ports are UVM now, and have
been since approx. 1.4
2000-02-19 04:00:44 +00:00
hubertf
e29c26fdcb Extend MASTER_SITE_OVERRIDE properly (like MASTER_SITE_BACKUP), when
DIST_SUBDIR is set.

Noted by Bill Squier (groo@cs.stevens-tech.edu) in private mail.
2000-02-17 17:30:15 +00:00
wiz
f8f0f7d44f added entries for trn4; punctuation fix. 2000-02-16 18:47:55 +00:00
tron
fe9ac2c3f2 Don't enable IPv6 support if socks support is activated. 2000-02-13 10:33:22 +00:00
wiz
d69778581a revert last change, and make sure the PLIST actually exists
where it is used (after discussion with hubertf)
2000-02-12 23:46:05 +00:00
wiz
2f2f25cb05 move ${PLIST} generation to the right place, fixing installation of
compressed man pages. Also save one process (Hi David & Al!)
2000-02-12 22:00:04 +00:00