summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
1999-05-04Unless package debugging is enabled don't output commands duringtron1-2/+2
automatical registration of info files.
1999-05-03Make the Kerberos option uniform - it is now USE_KERBEROS4 and specifiestv1-11/+7
use of krb4 _or_ a compatible subsystem. (MAKE_ was only used by this option; USE_ is used by many.) Also set RESTRICTED= in all relevant pkgs when USE_KERBEROS4 is enabled.
1999-05-02MKPICINSTALL and NOPICINSTALL have zero relevance to whether a system hastv1-3/+2
shared objects in /usr/lib (they affect installation of the _pic.a files, not the .so files).
1999-04-29Older 1.3.x releases don't have the GNU_ARCH stuff in bsd.own.mk. Addtv1-1/+13
definitions for the architectures available in those releases, set with ?=.
1999-04-29Completely turn off USE_LOCALBASE_FOR_X11 until xpkgwedge is fixed.tv1-6/+7
1999-04-24Add "DISTDIR", fixes PR pkg/7423 by Minoura Makoto.tron1-2/+8
1999-04-24Be consistent: always use "/usr/bin/uname".tron1-2/+2
1999-04-22re-add empty MASTER/PATCH_SITE which was removed in 1.254.sakamoto1-1/+5
1999-04-20Replace deinstall-depends target with call to "pkg_delete -R" (now thathubertf1-29/+13
we have it for sure).
1999-04-20Default umask on Solaris is 022, not 0022.agc1-2/+2
1999-04-19- Bump required package tools version to 19990412.tron1-13/+3
- Remove support for package tools without database support.
1999-04-19Fix just-in-time su deinstalls on Solaris by using the full pathname foragc1-3/+4
${MAKE}.
1999-04-15Remove "%SUBDIR%/" from various "MASTER_SITE..." examples.tron1-26/+26
1999-04-15Completely replace "MASTER_SITE_SUBDIR" and "PATCH_SITE_SUBDIR" withtron1-26/+30
variable substituition of "MASTER_SITES" and "PATCH_SITES".
1999-04-14Add missing "|| ${TRUE}" to "${EGREP}" statement to avoid install failurestron1-2/+2
if no shared objects are found on a.out systems.
1999-04-13Remove NOPORTDOCS definition - it was useless anyway, as any attempt toagc1-6/+1
build a binary package with this definition would fail as the PLIST is not correct. If a package's documentation is overwhelming, it should arguably be handled in a separate pre-requisite documentation package.
1999-04-13Use the system version of bsd.own.mk, rather than keeping a pkgsrc-only copy.agc1-324/+0
1999-04-13Work out the type of shared libraries once, at "make install" time, andagc1-8/+30
do this dynamically. This means that we no longer have to have a separate pkgsrc copy of bsd.own.mk, which was a maintenance nightmare, and usually out of date, and quite costly too (with a calculation of whether NetBSD-current was being run every time the file was read). Also, on a.out, add ldconfig lines to the generated PLIST only if they're not already there, rather than if they were previously there, and ignore the return value from ldconfig, which cannot be trusted. The ldconfig calls have largely been made obsolete by the use of -rpath, but keep it for just now for backwards compatibility.
1999-04-11Consider NetBSD 1.4 as "current" so that "UVM" is defined again.tron1-2/+2
XXX This file shile should be removed soon.
1999-04-09Move mirror-distfiles target around a bit so it can even be invokedhubertf1-8/+10
on platforms that are prohibited by ONLY_FOR_ARCH/OPSYS etc. so we can provide distfile-backups even for them.
1999-04-08"bzcat" now handles symlinks properly.tron1-2/+2
1999-04-08Substitute for ${LOWER_VENDOR} when building the PLIST. Necessary foragc1-1/+2
some GNU packages.
1999-04-08Prettify PKGSRCDIR - instead of /usr/pkgsrc/foo/bar/../.., just make ithubertf1-2/+2
/usr/pkgsrc (through make(1) macig).
1999-04-06Make this work on Solaris again.agc1-19/+20
Minor formatting changes around the pkg-su-install target. Pass on any PKG_DEBUG_LEVEL as well as FORCE_PKG_REGISTER definitions.
1999-04-06Make it obvious, when invoking ${SU_CMD}, on which machine thisagc1-2/+3
installation is taking place. Also echo the command which will be invoked in ${SU_CMD}, so that the Principle of Least Surprise applies.
1999-04-05Get rid of this "0":hubertf1-2/+2
| | ... | ===> [Automatic a.out shared object handling] +--> 0 ===> Registering installation for fnlib-0.4
1999-04-04Use input redirection with "bzcat" once again because it refuses to handletron1-2/+2
symbolic links on files.
1999-04-03Use "su" automatically for "make deinstall" target, too.tron1-2/+13
1999-04-02Correct a typo in previous - fixes bzip2 extractions.agc1-2/+2
1999-04-01Use input redirection with "bzcat" again because it refuses to handletron1-2/+2
symbolic links on files.
1999-04-01Rewrite the extraction commands to be more intuitive.agc1-13/+19
In the vast majority of cases, nothing has changed (i.e. .tgz, .tar.gz, and .tar.bz2). EXTRACT_USING_PAX can be set as before. For custom extractions, instead of using EXTRACT_BEFORE_ARGS, EXTRACT_AFTER_ARGS and EXTRACT_CMD, simply set EXTRACT_CMD to be the command needed to decompress and extract the lements from the archive. ${DOWNLOADED_DISTFILE} can be used to reference the distfile(s). e.g. for compressed shars, where previously there was: EXTRACT_CMD= ${GZCAT} EXTRACT_BEFORE_ARGS= EXTRACT_AFTER_ARGS= |sh now use: EXTRACT_CMD= ${GZCAT} ${DOWNLOADED_DISTFILE} | ${SH}
1999-04-01Provide an acceptable default for PRE_ROOT_CMD - pointed out by Timagc1-3/+4
Rightnour, and suggested by Hubert Feyrer. Also print the "Installing" message in the correct place.
1999-03-31Avoid shell smarts: on NetBSD, type is a sh(1) builtin. If make(1) isagc1-11/+13
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.
1999-03-31Fix minor typo in previous.agc1-2/+2
1999-03-31+ Factor out the real-install target from the rest of the .USE ones.agc2-23/+76
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.
1999-03-30Add an EXTRACT_USING_PAX definition, which, if defined, will use pax(1)agc2-12/+23
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.
1999-03-30Fix some commentshubertf1-2/+5
1999-03-29Delete spurious ';', when making the "package" target withagc1-2/+2
FORCE_PKG_REGISTER set.
1999-03-29Calculate the version of the package tools required when it's needed,agc1-25/+24
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.
1999-03-28DUDS is expected to be a a make variable, not a shell variablehubertf1-2/+2
1999-03-22Move the definition of BUILD_ROOT into bsd.pkg.mk, from the individualagc1-1/+3
package Makefiles which need it.
1999-03-17Add ONLY_FOR_OPSYS processing, to go with the existing NOT_FOR_OPSYSagc1-1/+9
1999-03-17On Solaris, make patch(1) create a backup copy of the file it's patchingagc1-2/+2
1999-03-16Simplify EXTRACT_CMD definitions, and add GTAR definition.agc1-12/+6
1999-03-16Optimise the manual page handling a bit more - miss out redundant commands.agc1-9/+9
1999-03-15pull in deltas from src/share/mk/bsd.own.mk 1.113 -> 1.120. approved by agc.mrg1-18/+111
1999-03-12Major changes in manual page handling - deal with imake's man pages inagc1-65/+57
Solaris, and consolidate other manual page handling.
1999-03-10If "GNU_CONFIGURE" is set to "yes" supply "${INSTALL}" with full pathnametron1-2/+2
again because "configure" will create bogus makefiles otherwise.
1999-03-09Fix another difference between Solaris and NetBSD sh(1). On Solaris,agc1-2/+4
for f in $var; do... where $var is empty, produces an error.
1999-03-09Improve ELF shared lib handling, so that it now works on Solaris.agc1-18/+27
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".