Commit graph

559 commits

Author SHA1 Message Date
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
hubertf
7b45a0cbff Split print-pkg-depend-sizes into two pkgs, to work make processing of
$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-10 19:17:27 +00:00
hubertf
7cdabb3acc Properly protect any wildcards from being expanded (or attempted to ... :)
by the shell.
2000-01-10 15:42:57 +00:00
agc
e60f13c811 Use _PKG_SILENT and _PKG_DEBUG in print-pkg-size, to aid debugging.
Make the print-pkg-size target work on Solaris if there are no
pre-requisite packages.
2000-01-10 12:33:58 +00:00
hubertf
fa65728c46 Fix size-registering code.
(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-09 04:43:20 +00:00
abs
cd9b20bcc8 Calculate current pkgtools version once (inline rather than via
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-07 12:24:14 +00:00
fredb
08885c2e61 Document USE_MESA=, for battleball. 2000-01-06 08:48:52 +00:00
hubertf
ccdab674e6 protect some more wildcard dependencies from interacting with the shell.
fixes pr 9106 by abs@netbsd.org.
2000-01-06 03:21:51 +00:00
wiz
686ee17cc0 mention in comment for USE_GIF that it's also used by tiff 2000-01-06 01:26:31 +00:00
hubertf
f30b8bee1a Add quotes round one place where it may be useful, and add a "plist"
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-05 16:55:32 +00:00
fredb
dc444f5e0a Document KERMIT_SUID_UUCP option. 2000-01-04 01:51:44 +00:00
bad
a5f0042eb2 Use dot-files for the BUILD_VERSION- and BUILD_INFO_FILE. 1999-12-29 16:04:18 +00:00
wiz
f9025941d1 ${FIND} added 1999-12-28 03:33:53 +00:00
dmcmahill
f1b9dc7fd8 sort the list of binary packages when generating README.html 1999-12-23 03:12:44 +00:00
hubertf
6488cf70bc This patch cleans up our message for unacceptable licenses:
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-16 03:20:35 +00:00
abs
b6140f538f Fix off by one count of packages in a category in README.html 1999-12-15 15:52:17 +00:00
hubertf
00bb37ff6e document JDK_HOME 1999-12-10 03:55:47 +00:00
sakamoto
12fea9c887 Added LTCONFIG_OVERRIDE and LIBTOOL_OVERRIDE definition to
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-07 08:55:58 +00:00
abs
ece830ebfe Add total number of packages to the category README.html 1999-12-06 23:40:55 +00:00
tron
c69cbf3977 Add entry for "USE_DB2". 1999-12-01 22:20:03 +00:00
hubertf
8993a94673 DTRT in package-depends if RUN_DEPENDS and PACKAGE_DEPENDS_WITH_PATTERNS
are set.
1999-11-30 04:17:58 +00:00
hubertf
00b3506c71 Add code to include the size of a package into both the
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-29 19:48:15 +00:00
agc
fa1864ab33 Document POPTOP_USE_MPPE (used in netpop package). 1999-11-24 10:33:30 +00:00
dmcmahill
99f389a8cd add "" around ${F77} and ${FC} when adding to MAKE_ENV. This way if someone
specifies flags in PKG_FC, they are properly handled.
1999-11-23 14:31:24 +00:00
dmcmahill
35b83b8278 document PKG_FC variable for selection of the fortran compiler 1999-11-22 23:43:31 +00:00
dmcmahill
2595a8be59 - Add USE_FORTRAN variable. In packages which need a fortran compiler to build,
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-22 23:42:21 +00:00
agc
2e66df838d Cosmetic change - the list of installed packages includes a trailing
whitespace - don't duplicate the whitespace.
1999-11-22 12:02:46 +00:00
hubertf
1694e904cc When we're making a _binary_ package, say so. 1999-11-22 02:42:30 +00:00
hubertf
11c54300fe Automatically set MASTER_SITE_LOCAL from MASTER_SITE_BACKUP, and make sure
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-20 21:15:49 +00:00
agc
dacffc483f Change the format of this file so that it does not require leading white
space (make(1) interprets leading tabs as the prefix denoting a shell
command).
1999-11-17 09:13:43 +00:00
sakamoto
8c6f9eb454 Add "no-profit" to ACCEPTABLE_LICENSE example.
this license is used by graphics/cqcam and mail/sendmail pkgs.
Suggested by Bjoern Labitzke <hermit@labitzke.isdn.cs.tu-berlin.de>.
1999-11-17 04:05:28 +00:00
sakamoto
52f3b3c09e fix MASTER_SITE_SUNSITE example for japan.
ftp://sunsite.sut.ac.jp/pub/archives/linux/sunsite-unc/
1999-11-16 02:29:24 +00:00
hubertf
7e2c589ca9 remove LAME_USE_GTK, it is no longer used 1999-11-15 17:44:29 +00:00
tron
897db03df3 Add documentation for "squid" package related variables. 1999-11-12 22:52:16 +00:00
abs
5e760986d1 Enable alternate rsh path with SSH_RSHPATH
Patch from NoRM <norm@mono.org>
1999-11-12 16:34:29 +00:00
agc
cc0ff64bd3 Clarify the way in which PATCH_FUZZ_FACTOR should be set. 1999-11-12 12:05:02 +00:00
agc
778fd30e2f Use asterisks, which are more visible, when flagging a bad fuzz factor
in a package patch.
1999-11-12 11:58:45 +00:00