Age | Commit message (Collapse) | Author | Files | Lines |
|
Rightnour, and suggested by Hubert Feyrer.
Also print the "Installing" message in the correct place.
|
|
invoked, a subsequent "type make" will give "make is a tracked alias
for /usr/bin/make". Using awk(1) to find the third part of that can
lose. type is also a sh(1) builtin on Solaris, which prints "make is
hashed (/usr/bin/make)". However, there is a separate /usr/bin/type,
which prints the pathname at the end.
Minor reformat in same target - replace spaces by tabs where possible.
|
|
|
|
This makes it possible to do the next step. There were so many .if
make(install) checks that this arguably should be done anyway.
+ In interactive installs, if the effective uid is not zero when "make
install" is attempted, then ${SU_CMD} is invoked (defaults to "su -
root -c", but sudo or priv could be used). This allows running as
non-root for much more time, which is a significant benefit. This also
allows installation of pre-requisite (DEPENDS) packages while building
a package as non-root user.
+ A hook has been added to run ${PRE_ROOT_CMD} before becoming root, so
that root can be given write access to ${WRKDIR} directories, for
example, on -noroot mounted NFS filesystems.
|
|
to extract archives when building, rather than GNU tar. This is needed
on platforms where GNU tar is not the standard version of tar, and by
people who prefer to use pax(1) in general.
|
|
|
|
FORCE_PKG_REGISTER set.
|
|
using "${MAKE} show-pkgtools-version", rather than every time
bsd.pkg.mk is read.
Introduce a definition to indicate the versions of package tools which use
the pkgdb cache, rather than using a magic 19990302 value.
|
|
|
|
package Makefiles which need it.
|
|
|
|
|
|
|
|
|
|
|
|
Solaris, and consolidate other manual page handling.
|
|
again because "configure" will create bogus makefiles otherwise.
|
|
for f in $var; do...
where $var is empty, produces an error.
|
|
In the process, it was found that the Solaris ln(1) doesn't work quite
the way its manual page claims it does. In particular, "ln -fs a b" will
fail if b already exists, rather than deleting the link. Work around this
by using an explicit rm(1) prior to calling "ln -s".
|
|
So dumb-down the shell commands used: make them into
"command; if [ $? -ne 0 ]; then..."
Suggested by David Brownlee.
|
|
|
|
package. Tested for some packages on Solaris 2.6 on Sparc.
|
|
make clean CLEANDEPENDS=YES
make deinstall DEINSTALLDEPENDS=YES
Both CLEANDEPENDS and DEINSTALLDEPENDS default to NO, so this isn't
different from the current behaviour.
|
|
for use, people better not use this).
|
|
from /var/db/pkg, but also from the pkgdb (in case someone does a
"make reinstall" with FORCE_PKG_REGISTER set). Pointed out by Greg Woods.
XXX This change is only effective if one has a pkg_* tools as of 19990302
or later, but I will not bump the PKGTOOLS_REQD version up, as I do
not expect many people to run into this (and if, it's not a problem).
One should just remove the check with ${_PKGTOOLS_VER} >= 19990302
if the version's bumped beyond 19990302.
|
|
|
|
This prevents that the pkg builder needs ${LOCALBASE/bin in $PATH.
Helps also with Peter Seebach's problem in PR 7047.
|
|
|
|
make(1) does not puke.
Add a note at the top of the file for people editing it, requesting them
to do just that.
|
|
|
|
|
|
If SPECIFIC_PKGS is defined (at the top-level of pkgsrc), then instead of
looping through all the categories and then all the packages within that,
simply loop through ${SITE_SPECIFIC_PKGS}, ${HOST_SPECIFIC_PKGS},
${GROUP_SPECIFIC_PKGS} and ${USER_SPECIFIC_PKGS}, which are whitespace
separated lists of categories/packages e.g.
SITE_SPECIFIC_PKGS+= devel/cvs security/ssh
The default behaviour is unchanged - if SPECIFIC_PKGS is not defined,
the whole hierarchy will be traversed.
Modify mk.conf.example to reflect the settings of SPECIFIC_PKGS,
SITE_SPECIFIC_PKGS, HOST_SPECIFIC_PKGS, GROUP_SPECIFIC_PKGS and
USER_SPECIFIC_PKGS.
Modify the ispell package to use the make definition ISPELL_LANG,
rather than just LANG (which can clash with the environment variable
of the same name), and modify mk.conf.example accordingly.
|
|
use "tar" for now.
|
|
be set there.
|
|
|
|
|
|
|
|
|
|
and "bsd.pkg.mk" will do the rest. Furthermore replace all remaining
instances of ":../../foo/bar" in dependences by ":${PKGSRCDIR}/foo/bar".
|
|
not in pkgsrc's info path, which confused me to no end.
|
|
base; install the symlink at ${LOCALBASE}/info/dir if there is nothing
there yet.
|
|
|
|
- do not depend on gtexinfo pkg even if USE_GTEXINFO is set
- if ${LOCALBASE}/info/dir is a regular file, nuke it and replace as a
symlink to /usr/share/info/dir. (Upgrades of the base system will
do this too, except that those will copy the contents of
/usr/pkg/info/dir first. There is no truly clean solution here.)
Also, use --info-dir=${LOCALBASE}/info/dir, NOT ${PREFIX}/info/dir.
info(1) only searches one directory file.
|
|
OBJECT_FMT, thanks to Thorsten Frueauf for finding this. (The error only
showed up if you defined UVM in mk.conf on a -current system)
|
|
pointed out by Alistair Crooks.
|
|
|
|
|
|
DTRT on ELF for e.g. lib/mozilla/*.
|
|
patch files, e.g. meta packages.
|
|
package into ${X11BASE}".
Replace all occurrences of BUILD_USES_X11 with USE_X11. This means "use X11
headers and libraries to build this package".
|