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.
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".
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.
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.
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.
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.
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]*').
$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).
(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)
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.
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).
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?).
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").
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.
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.
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.