summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
2000-03-18remove now unused TRN_* variables, and add trn again to comment forwiz1-18/+2
USE_INN.
2000-03-18Nuke PGSQL_USE_TCL. Superseded by databases/{tcl,tk}-postgresql.jlam1-6/+1
2000-03-13if DESTDIR is set, don't change PKG_DBDIR when PKGTOOLSVERSIONhubertf1-2/+2
is not known (yet).
2000-03-13Previous commit to bsd.pkg.mk caught some "SMART_MESSAGES" work - documentagc2-2/+10
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-13Fix PACKAGE_DEPENDS_QUICK when installing on Solaris - escape theagc1-62/+68
argument from the shell, so that we can install packages on Solaris again, and use canonical ${GREP} and ${AWK} programs.
2000-03-13Added variable for display depth rasmol gets compiled for, sincewiz1-1/+7
it only supports one per executable :-(
2000-03-10In informational messages to the user, use '=>' in preference to '>>',agc1-21/+21
so that cut-n-paste into send-pr will work correctly. Fixes PR 9173 from ITOH Yasufumi.
2000-03-09Change print-depends to look into /var/db/pkg, instead of pkgsrchubertf1-5/+18
(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-09Changes to make DESTDIR builds have a bit more chance to survive,hubertf1-3/+10
esp. WRT PKG_DBDIR; Plus one comment.
2000-03-05Add ftp.dk.netbsd.org.soren1-1/+2
2000-03-02delete more created files when NO_WRKDIR is setwiz1-2/+3
2000-03-01Add mirror on "ftp.informatik.rwth-aachen.de" to "MASTER_SITE_SUNSITE".tron1-2/+3
2000-02-28Special case DEINSTALLDEPENDS=ALL in deinstall target, so that updatefredb1-2/+2
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-28We don't support FETCH_DEPENDS for some time now, remove thehubertf1-11/+6
remaining code (fetch-depends calls, fetch-depends calling _DEPENDS_USE).
2000-02-26Also remove pkgs installed via BUILD_DEPENDS, they are not noted in thehubertf1-1/+12
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-25Only add DIST_SUBDIR to MASTER_SITE_OVERRIDE if MASTER_SITE_OVERRIDEhubertf1-2/+4
is actually set. Prevents "Variable MASTER_SITE_OVERRIDE is recursive" message. Found by Ezra Story <ezy@panix.com>
2000-02-19removed obsoleted ${UVM} variable, all ports are UVM now, and havewiz1-7/+1
been since approx. 1.4
2000-02-17Extend MASTER_SITE_OVERRIDE properly (like MASTER_SITE_BACKUP), whenhubertf1-1/+2
DIST_SUBDIR is set. Noted by Bill Squier (groo@cs.stevens-tech.edu) in private mail.
2000-02-16added entries for trn4; punctuation fix.wiz1-3/+19
2000-02-13Don't enable IPv6 support if socks support is activated.tron1-2/+3
2000-02-12revert last change, and make sure the PLIST actually existswiz1-2/+3
where it is used (after discussion with hubertf)
2000-02-12move ${PLIST} generation to the right place, fixing installation ofwiz1-3/+2
compressed man pages. Also save one process (Hi David & Al!)
2000-02-12Be quiet about finding no gzipped man pages in PLIST.fredb1-2/+2
2000-02-12Use preprocessed package list instead of package list source duringtron1-2/+2
automatical manual page handling. Patch supplied by Brook Milligan in PR pkg/9391.
2000-02-05remove bogus 'ftp' before URLwiz1-2/+2
2000-02-03Update GNU mirror list.tron1-3/+4
2000-02-02Bump PKGTOOLS_REQD to 20000202. As a consequence of thishubertf1-17/+6
- unconditionally enable the size code - use wildcards consistently (PACKAGE_DEPENDS_WITH_PATTERNS=true)
2000-02-01Change the 'update' target to skip non-existent (removed) directories.rh1-19/+46
This fixes PR pkg/9181 by Richard Rauch.
2000-01-27SSH_CONF_DIR is also used in opensshhubertf1-2/+2
2000-01-24make USE_INET6=YES a default, if the package is compiled on IPv6-readyitojun2-6/+15
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-23re-add line that got lost in revision 1.114wiz1-1/+2
2000-01-21Document UPCLIENT_LOGIN, UPCLIENT_PASSWORD, UPCLIENT_HOSTIDhubertf1-1/+9
2000-01-17Remove the attempt to patch a second time if a patch doesn't applyagc1-2/+1
cleanly the first time. This is unnecessary now that fuzz has been removed from pkgsrc patches.
2000-01-17Document two new make variables which may be defined in mk.conf:jlam1-6/+12
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-17Introduce another definition WARN_NO_OBJECT_FMT, defaulting to yes, whichagc2-3/+14
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-17Avoid problems with the newly updated Perl package by expressing theagc1-2/+2
dependency as a wildcard: DEPENDS+= perl-*:${PKGSRCDIR}/lang/perl5
2000-01-15- Sort MASTER_SITES_* examples.ad1-14/+22
- Add MASTER_SITES_* entries for the UK (Sunsite UK).
2000-01-15Two nits with the show-shlib-type target:jwise1-2/+7
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-15Correct default for ${JDK_HOME}, and document ${PKG_JVM), ${JAVA_HOME},jwise1-5/+25
${JAKARTA_HOME} and ${JSDK_HOME}
2000-01-14Introduce another definition, FATAL_OBJECT_FMT_SKEW, defaulting to "yes".agc2-3/+16
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-14Add a check, inspired by Thor Lancelot Simon:agc1-2/+11
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-13Add a USE_JAVA= variable for packages which use java, and a PKG_JVM variablejwise1-1/+19
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-11Fix the clean-depends target by using make(1) modifiers before variablehubertf1-2/+5
expansion, instead of letting sh(1) DTWT. Noted by Kazuki Sakamoto <sakamoto@cec.co.jp>
2000-01-11adjust date for size code, also fix the commenthubertf1-6/+6
2000-01-11The size options have only available in pkg_create since 23rd Novemberagc1-3/+3
1999, so make that the date for the test, not 9th September 1999.
2000-01-10When checking and registerring dependencies, recognize dependencies thathubertf1-3/+14
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-10Split print-pkg-depend-sizes into two pkgs, to work make processing ofhubertf1-14/+17
$DEPENDS with wildcards and relational depends possible. (The previous solution with :Q was not useful as this also quoted the seperator between the single depends, making the DEPENDS useless).
2000-01-10Properly protect any wildcards from being expanded (or attempted to ... :)hubertf1-2/+2
by the shell.
2000-01-10Use _PKG_SILENT and _PKG_DEBUG in print-pkg-size, to aid debugging.agc1-4/+6
Make the print-pkg-size target work on Solaris if there are no pre-requisite packages.
2000-01-09Fix size-registering code.hubertf1-69/+69
(Need to test PKGTOOLS_VERSION, not PKGTOOLS_REQD, to see if the new code is present; for PKGTOOLS_VERSION to get defined, some code needs to get moved around a bit, though)