summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
1999-05-30Back out last commit: "pkg_install-19990529" was horribly broken.tron1-2/+2
1999-05-29Update required pkgtools version to 19990529 (required for postfix)christos1-2/+2
1999-05-27Nuke ALL_HOOK cruft. Overriding "all" is perfectly legal (as evidenced bytv1-13/+1
the .if !target(all) below), so this is unnecessary.
1999-05-26No need to validate dependencies if the package has already been extracted;tv1-2/+2
make check-depends also dependent on the (non)existence of EXTRACT_COOKIE.
1999-05-26`I'm a bonehead.' Reverse the order of components in ${MACHINE_GNU_PLATFORM}.tv1-2/+2
1999-05-25Set NO_CHECK_DEPENDS to skip "check-depends" when fetching viatv1-2/+2
"mirror-distfiles".
1999-05-24- The comment above the _COOKIE settings says "don't change these!!", sotv1-53/+39
use = to set them, not ?=. - _DEPENDS_USE doesn't actually do any macro expansion, so save some processing time by executing it exactly once (remove the .USE operator). - Merge the IGNORE targets. Add an IGNORE target for depends and check-depends (see bottom). - Don't check for installation of a package in ${DEPENDS} when doing a "make depends". Instead, let the return code of make fall through (using && instead of ; in the last clause of each depend recursion block). - Provide a variable IGNORE_FAIL: when set, causes the ignore message to be printed (regardless of IGNORE_SILENT or ECHO_MSG setting) and the build to fail with ${FALSE}. Used with the next addition: - Add a new target, "check-depends", which is called as part of "real-fetch". This validates whether the dependencies of a pkg to be built are installed, and if not, whether those dependencies will prospectively build (will not set IGNORE directly or indirectly through the various disable options). Recurses to "depends" with a DEPENDS_TARGET of "check-depends". ...And now, it is no longer necessary to mark dependent pkgs as unusable when their dependencies are unusable thanks to an incorrect LICENSE, _FOR_PLATFORM setting, and so forth. The check-depends step will validate everything before fetching a single file.
1999-05-24Fix broken "ONLY_FOR_PLATFORM" check.tron1-2/+2
1999-05-24Change {ONLY,NOT}_FOR_{ARCH,OPSYS} format to {ONLY,NOT}_FOR_PLATFORMtv1-11/+8
pattern match format. Minor pkglint along the way.
1999-05-24Implement some parts of proposals posted to tech-pkg:tv2-124/+91
- Define OS_VERSION in bsd.prefs.mk (...if not already defined). Previously was only set in a conditional block in bsd.pkg.mk. - Define new values, MACHINE_PLATFORM and MACHINE_GNU_PLATFORM, which default to ${OPSYS}-${OS_VERSION}-${MACHINE_ARCH} and ${LOWER_OPSYS}-${LOWER_VENDOR}-${LOWER_ARCH} respectively. (Probably should nuke LOWER_ARCH and rename LOWER_VENDOR to something like MACHINE_GNU_VENDOR.) - Use ${MACHINE_GNU_PLATFORM} as the argument to `--host' in GNU_CONFIGURE packages. - Allow for ONLY_FOR_PLATFORM and NOT_FOR_PLATFORM, lists of patterns in csh(1) glob style which are matched against MACHINE_PLATFORM above and take the place of {ONLY,NOT}_FOR_{ARCHS,OPSYS}. (For now, until all pkgs are converted, provide backwards compatibility.) *Both* may be defined, in which case NOT_FOR_PLATFORM takes precedence. - Also do some significant aesthetic cleanup, based on the idea `define platform-specific overrides first, then define a generic case with the ?= operator'. Lots more of this to do yet.
1999-05-24Explicitly include <sys.mk> after mk.conf. This ensures that standardtv1-1/+3
flags (e.g. CFLAGS=-O/-O2) are defined as necessary before a pkg modifies them with "+=".
1999-05-23- Move the inclusion of bsd.own.mk to bsd.prefs.mk, and multiple-includetv2-35/+23
protect bsd.prefs.mk. Now there's no multiple inclusion of mk.conf, clobbering variables modified between bsd.prefs.mk and bsd.pkg.mk, when set with VARNAME=value. - Let bsd.own.mk include mk.conf/MAKECONF; we don't need to do that manually. - Don't define BSD_PKG_MK or OPSYS in bsd.pkg.mk, as bsd.prefs.mk does precisely that just a couple lines below.
1999-05-22Commit the least intrusive parts of proposal 6a (affects no pkgs):tv1-49/+1
- remove the ${MACHINE_ARCH} and ${OPSYS} specializations for Makefile, files, pkg, scripts, patches - remove the functionality of ${MASTER_SITE_FREEBSD} (if someone *really* wants this type of function, which should be discouraged, s/he may use: MASTER_SITE_OVERRIDE=${MASTER_SITE_BACKUP})
1999-05-21Speed up the evaluation of ${CKSUMFILES} vs. ${IGNOREFILES} a little (andtv1-20/+5
make it cleaner) by replacing the shell expansion with a bmake .for loop.
1999-05-20Always add "${INSTALL_DATA}" to environment for "configure" target, too.tron1-1/+2
1999-05-20Always add "${INSTALL_SCRIPT}" to environment for "configure" target.tron1-1/+2
1999-05-17Define "${ECHO_MSG}" so that the patch from PR pkg/7545 doesn't breaktron1-1/+2
(at least) a recursive "make clean".
1999-05-17Fix broken index file creation. Patch suppled by NAKAJIMA Yoshihirotron2-8/+8
in PR pkg/7545.
1999-05-14Replace leading tabulators by spaces. Fixes PR pkg/7581 by "Wiz" (ortron1-2/+2
whatever his name is).
1999-05-12If ${PACKAGES} does not exist, use it anyway. Allows settinsg such asabs1-15/+7
PACKAGES=${PKGSRCDIR}/packages/${OS_VERSION}/${MACHINE_ARCH} _without_ having to ensure each ${OS_VERSION}/${MACHINE_ARCH} is manually created beforehand.
1999-05-11Add "APACHE_PERF_TUNING" and "APACHE_SUEXEC".tron1-1/+11
1999-05-10Remove "${LOCALBASE}/www" again. As pointed out by Todd Vierling thistron2-4/+2
directory doesn't fit into hier(7). We will handle the double usage in the packages for now.
1999-05-10Fix ordering problem in last commit.tron2-4/+4
1999-05-10Add "${LOCALBASE}/www".tron2-2/+4
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