Commit graph

595 commits

Author SHA1 Message Date
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
fredb
c5c1809be0 Be quiet about finding no gzipped man pages in PLIST. 2000-02-12 17:24:41 +00:00
tron
d22a026a29 Use preprocessed package list instead of package list source during
automatical manual page handling. Patch supplied by Brook Milligan in
PR pkg/9391.
2000-02-12 11:00:25 +00:00
wiz
76e696bfc8 remove bogus 'ftp' before URL 2000-02-05 14:10:27 +00:00
tron
c0cfc85bfd Update GNU mirror list. 2000-02-03 16:41:48 +00:00
hubertf
6ac5b1f78c Bump PKGTOOLS_REQD to 20000202. As a consequence of this
- unconditionally enable the size code
 - use wildcards consistently (PACKAGE_DEPENDS_WITH_PATTERNS=true)
2000-02-02 16:28:55 +00:00
rh
6d652f1908 Change the 'update' target to skip non-existent (removed) directories.
This fixes PR pkg/9181 by Richard Rauch.
2000-02-01 16:30:07 +00:00
hubertf
4e9881f898 SSH_CONF_DIR is also used in openssh 2000-01-27 15:22:44 +00:00
itojun
2b821a1bf9 make USE_INET6=YES a default, if the package is compiled on IPv6-ready
userland (checked by existence of /sbin/ping6).

with the change, the default value for USE_INET6 will be like this:
- non-NetBSD: undefined
- NetBSD releases prior and including 1.4.x: undefined
- NetBSD-current (pre-1.5) prior to IPv6 integration: undefined
- NetBSD-current after IPv6 integration: USE_INET6=YES

It is advised to obey the default.
2000-01-24 07:04:28 +00:00
wiz
49e253fff1 re-add line that got lost in revision 1.114 2000-01-23 02:30:26 +00:00
hubertf
81911d508c Document UPCLIENT_LOGIN, UPCLIENT_PASSWORD, UPCLIENT_HOSTID 2000-01-21 01:39:04 +00:00
agc
42c349e4ab Remove the attempt to patch a second time if a patch doesn't apply
cleanly the first time.  This is unnecessary now that fuzz has been
removed from pkgsrc patches.
2000-01-17 17:11:49 +00:00
jlam
a4692870d9 Document two new make variables which may be defined in mk.conf:
USE_CRYPTO:	YES, NO; Default: YES
	- whether or not net/speakfreely is compiled with support for
	  encrypted connections

USE_IDEA:	YES, NO; Default: package-dependent
	- whether or not to compile with support for patented IDEA;
	  used by net/speakfreely and security/ssh

Also, remove SSH_DONT_USE_IDEA.  This is still handled by ssh Makefile,
but is marked as deprecated.
2000-01-17 16:21:31 +00:00
agc
dc8097ac65 Introduce another definition WARN_NO_OBJECT_FMT, defaulting to yes, which
governs whether a package which was installed before OBJECT_FMT was added
to the BUILD_DEFS will display an warning message. To shut up the message,
set WARN_NO_OBJECT_FMT to "no".
2000-01-17 14:49:55 +00:00
agc
6da66b2b6d Avoid problems with the newly updated Perl package by expressing the
dependency as a wildcard:

DEPENDS+=            perl-*:${PKGSRCDIR}/lang/perl5
2000-01-17 14:33:46 +00:00
ad
dbca62244e - Sort MASTER_SITES_* examples.
- Add MASTER_SITES_* entries for the UK (Sunsite UK).
2000-01-15 12:22:30 +00:00
jwise
224a006405 Two nits with the show-shlib-type target:
1.) protect definition of show-shlib-type with `if !target(show-shlib-type)'
    so that it can be overriden in a pkg makefile

2.) move the definition in lang/jdk/Makefile before the include of bsd.pkg.mk
    to trigger this.

Without these changes, show-shlib-type was `ELF\na.out' on i386/ELF, so
it was still treated as ELF.

lang/jdk now works on i386/ELF  (yay!).


While there, fix JAVA_HOME default to be JDK_HOME if PKG_JVM is jdk
and JDK_HOME is defined.
2000-01-15 02:08:03 +00:00
jwise
ba5547e596 Correct default for ${JDK_HOME}, and document ${PKG_JVM), ${JAVA_HOME},
${JAKARTA_HOME} and ${JSDK_HOME}
2000-01-15 01:03:17 +00:00
agc
1a2b110324 Introduce another definition, FATAL_OBJECT_FMT_SKEW, defaulting to "yes".
This halts the execution if an installed package's object format is not
the same as the object format currently in use. It can be set to "no" on
the rare occasion where the interface to the pre-requisite packages is one
of a binary, not a library.
2000-01-14 11:58:21 +00:00
agc
003906a9b8 Add a check, inspired by Thor Lancelot Simon:
When an installed package is found as part of a DEPENDS pre-requisite,
check its object format.  If there is none in the installed package,
that package was probably built before 29th September 1999, which was
when the OBJECT_FMT definition was added to the BUILD_DEFS, so print a
warning and continue.  If the object format of the installed package
and ${OBJECT_FMT} are the same, then continue.  If the object format
of the installed package and ${OBJECT_FMT} differ, then print an error
message explaining the error, and exit.
2000-01-14 11:39:31 +00:00
jwise
cd74daddd2 Add a USE_JAVA= variable for packages which use java, and a PKG_JVM variable
for users to choose their own JVM.

USE_JAVA sets up DEPENDS and $JAVA_HOME appropriately, based on PKG_JVM.

Currently sane values of PKG_JVM are `jdk' and `kaffe', where the default
is `jdk' on NetBSD-*-i386, and `kaffe' elsewhere.
2000-01-13 17:40:42 +00:00
hubertf
c1caa86ba9 Fix the clean-depends target by using make(1) modifiers before variable
expansion, instead of letting sh(1) DTWT.

Noted by Kazuki Sakamoto <sakamoto@cec.co.jp>
2000-01-11 13:59:28 +00:00
hubertf
ee064f5420 adjust date for size code, also fix the comment 2000-01-11 13:19:03 +00:00
agc
07b897362b The size options have only available in pkg_create since 23rd November
1999, so make that the date for the test, not 9th September 1999.
2000-01-11 09:18:03 +00:00
hubertf
922d8f63e0 When checking and registerring dependencies, recognize dependencies that
match more than one package, and warn about it:

*** WARNING: Dependency on 'gnome-*' expands to several installed packages
    ( gnome-libs-1.0.53 gnome-core-1.0.53 gnome-print-0.9 ).
    Please check if this is really intended!

In such a case, the pattern ('gnome-*') should be tightened to only match
what's really intended (e.g. 'gnome-[0-9]*').
2000-01-10 19:43:37 +00:00