summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
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)
2000-01-07Calculate current pkgtools version once (inline rather than viaabs1-21/+21
additional make call), and pass it in the environment to any recursive make calls. 'make fetch' in gnumeric on my system is now > 15% faster checking dependencies.
2000-01-06Document USE_MESA=, for battleball.fredb1-1/+7
2000-01-06protect some more wildcard dependencies from interacting with the shell.hubertf1-2/+2
fixes pr 9106 by abs@netbsd.org.
2000-01-06mention in comment for USE_GIF that it's also used by tiffwiz1-1/+2
2000-01-05Add quotes round one place where it may be useful, and add a "plist"hubertf1-2/+3
target to create the PLIST on the fly. (This is just an alias for the existing ${PLIST} target, but with that you have to type the full path which is inconvenient).
2000-01-04Document KERMIT_SUID_UUCP option.fredb1-1/+8
1999-12-29Use dot-files for the BUILD_VERSION- and BUILD_INFO_FILE.bad1-3/+3
1999-12-28${FIND} addedwiz1-1/+4
1999-12-23sort the list of binary packages when generating README.htmldmcmahill1-2/+2
1999-12-16This patch cleans up our message for unacceptable licenses:hubertf1-6/+13
miyu% make ===> xephem-3.1 Unacceptable license: no-commercial-use. To build this package, add this line to your /etc/mk.conf: ACCEPTABLE_LICENSES+=no-commercial-use To do this, we need to change the semantics of the IGNORE variable. It is no longer taken as one variable, but rather as one variable with several lines, seperated by whitespace. Each line will be printed on it's own. In addition, the code for the IGNORE_FAIL has been slightly moved around so IGNORE_SILENT can be used together with IGNORE_FAIL now. (does someone use this?).
1999-12-15Fix off by one count of packages in a category in README.htmlabs1-2/+3
1999-12-10document JDK_HOMEhubertf1-1/+6
1999-12-07Added LTCONFIG_OVERRIDE and LIBTOOL_OVERRIDE definition tosakamoto1-1/+17
substitute pkglibtool for the pkg's own libtool. "ltconfig" is script to make "libtool" script. "ltconfig" is executed by GNU's "configure" script at "do-configure" target. if USE_LIBTOOL and LTCONFIG_OVERRIDE defined, specified "ltconfig" is overrided to symlink pkglibtool to "libtool" instead of making "libtool" before executing "configure". if USE_LIBTOOL and LIBTOOL_OVERRIDE defined, specified "libtool" is removed, and symlinked from pkglibtool after executing "configure" (and "ltconfig").
1999-12-06Add total number of packages to the category README.htmlabs1-6/+9
1999-12-01Add entry for "USE_DB2".tron1-1/+6
1999-11-30DTRT in package-depends if RUN_DEPENDS and PACKAGE_DEPENDS_WITH_PATTERNShubertf1-2/+6
are set.
1999-11-29Add code to include the size of a package into both thehubertf1-20/+82
installed version and binary packages. The size can be queried then via pkg_info: xfeyrer @ noon% pkg_info -s xv Information for xv-3.10apl1: Size of this package in bytes: 4670692 xfeyrer @ noon% pkg_info -S xv Information for xv-3.10apl1: Size in bytes including required pkgs: 14610165 While doing work on the size code, support for the @src directive was removed (formerly enabled with the pkg_create -s switch, but unused in our pkg system). The new pkg_info -s and -S switches were tested on installed, local (file) and remote (ftp) packages. In bsd.pkg.mk, take special care for pkg_* versions that do not have the pkg_create -s and -S switches and do not record size information there.
1999-11-24Document POPTOP_USE_MPPE (used in netpop package).agc1-1/+7
1999-11-23add "" around ${F77} and ${FC} when adding to MAKE_ENV. This way if someonedmcmahill1-3/+3
specifies flags in PKG_FC, they are properly handled.
1999-11-22document PKG_FC variable for selection of the fortran compilerdmcmahill1-1/+7
1999-11-22- Add USE_FORTRAN variable. In packages which need a fortran compiler to build,dmcmahill1-1/+18
USE_FORTRAN should be set in the package Makefile. The logic added by this commit will choose a fortran compiler to use and set the correct dependency rather than having this selection scattered across each package which needs a fortran compiler. - Add PKG_FC variable. By setting PKG_FC in /etc/mk.conf, users can force the selection of which fortran compiler gets used by the package system. If not specified, PKG_FC defaults to f2c-f77 on pre-1.4 systems that did not include /usr/bin/f77. In addition PKG_FC defaults to f2c-f77 on newer systems since f77 is still somewhat buggy. When /usr/bin/f77 becomes more stable, the default should be changed from f2c-f77 to f77.
1999-11-22Cosmetic change - the list of installed packages includes a trailingagc1-2/+2
whitespace - don't duplicate the whitespace.
1999-11-22When we're making a _binary_ package, say so.hubertf1-2/+2
1999-11-20Automatically set MASTER_SITE_LOCAL from MASTER_SITE_BACKUP, and make surehubertf2-24/+16
MASTER_SITE_BACKUP doesn't end in //. For this, any setting of MASTER_SITE_LOCAL in /etc/mk.conf must no longer include ${DIST_SUBDIR} - this will be added automatically, if needed.
1999-11-17Change the format of this file so that it does not require leading whiteagc1-475/+500
space (make(1) interprets leading tabs as the prefix denoting a shell command).
1999-11-17Add "no-profit" to ACCEPTABLE_LICENSE example.sakamoto1-3/+3
this license is used by graphics/cqcam and mail/sendmail pkgs. Suggested by Bjoern Labitzke <hermit@labitzke.isdn.cs.tu-berlin.de>.
1999-11-16fix MASTER_SITE_SUNSITE example for japan.sakamoto1-2/+2
ftp://sunsite.sut.ac.jp/pub/archives/linux/sunsite-unc/
1999-11-15remove LAME_USE_GTK, it is no longer usedhubertf1-6/+1
1999-11-12Add documentation for "squid" package related variables.tron1-1/+19
1999-11-12Enable alternate rsh path with SSH_RSHPATHabs1-1/+5
Patch from NoRM <norm@mono.org>
1999-11-12Clarify the way in which PATCH_FUZZ_FACTOR should be set.agc1-4/+6
1999-11-12Use asterisks, which are more visible, when flagging a bad fuzz factoragc1-2/+2
in a package patch.
1999-11-12Introduce a variable called PATCH_FUZZ_FACTOR, default "", and use itagc2-5/+15
if patch(1) is smart enough (i.e. not Solaris by default). Also introduce a second patch stage (in the package patch phase, not the distribution patches), whereby a misapplied patch with ${PATCH_FUZZ_FACTOR} will be tried again without a fuzz factor. This will fail on package patches which patch many files, but these should be fixed anyway.
1999-11-10Use fuzz factor 0 when patching on NetBSD and Linux. Solaris, of course,agc1-3/+3
has a patch(1) that doesn't recognise a fuzz-factor option. Pointed out by Frank van der Linden.
1999-11-10Provide an example MOTIFBASE definition.agc1-1/+5
1999-11-10Add a MOTIFBASE definition, to allow Motif libraries and headers to beagc1-5/+15
picked up from a different directory (typically, this is /usr/dt on Solaris).
1999-11-01Recognise "lib" entries with two or more version numbers, in theagc1-5/+4
PLIST, as shared objects. Tested with both GNU egrep and Solaris XPG4 egrep. Not the most compact of regular expressions, due to non-portability of {n,m} repetition atoms between different versions of egrep.
1999-10-31Change the "update" target so it becomes more useful (and less dangerous!).rh1-6/+52
Here is a summary of the changed behaviour: * A "make update" will no longer clean the subtree before running. * If called a second time, it will resume package installation, in case a previous "make update" was interrupted for some reason. (just make sure you don't call "make clean" in between ;-) * Unless "NOCLEAN" is set, "make update" will clean up the subtree after successfully updating _all_ packages (to avoid a dirty directory structure for future makes). * A "clean-update" target has been introduced to clean up the subtree that gets updated. This should be used prior to an initial "make update" if you suspect that one of the packages that get updated may be dirty. XXX: this still does not automatically check for or update any obsolete ´upstream' packages (e.g., if gtk depends on glib, a "make update" in the gtk directory won't automatically update glib, you have to do it the other way round).
1999-10-31Cleanup as suggested in PR #8717 by wiz@danbala.ifoer.tuwien.ac.at:jdolecek1-39/+45
- substitute leading tabs with spaces in IRRD_USE_PGP comment - use ``YES'' instead of ``yes'' for appropriate variables - move GLX_CHIPSET, INN_DATA_DIR and KNEWS_* so that the variables are sorted alphabetically - add description of possible values for USE_GIF - comment out NMH_MTA (nmh Makefiles DTRT) - append = to variables as appropriate so that make(1) will parse them correctly if they are uncommented Other minor cleanups: - s/set, not set/defined, not defined/ in comments - use empty value consistently for variables whose only purpose is to be either defined or undefined (previously, either ``yes'', ``1'' or empty value was used) - mark variable UVM as obsolete (XXX it should be g/c'ed probably)