Commit graph

376 commits

Author SHA1 Message Date
tv
4a62265237 `I'm a bonehead.' Reverse the order of components in ${MACHINE_GNU_PLATFORM}. 1999-05-26 14:47:07 +00:00
tv
cd2c4bb09b Set NO_CHECK_DEPENDS to skip "check-depends" when fetching via
"mirror-distfiles".
1999-05-25 01:08:22 +00:00
tv
2d4fbc2e96 - The comment above the _COOKIE settings says "don't change these!!", so
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-24 23:04:52 +00:00
tron
4d8be1fe29 Fix broken "ONLY_FOR_PLATFORM" check. 1999-05-24 21:25:00 +00:00
tv
5c60ed5794 Change {ONLY,NOT}_FOR_{ARCH,OPSYS} format to {ONLY,NOT}_FOR_PLATFORM
pattern match format.  Minor pkglint along the way.
1999-05-24 20:39:35 +00:00
tv
4a0b32f36f Implement some parts of proposals posted to tech-pkg:
- 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-24 18:42:00 +00:00
tv
638518781f Explicitly include <sys.mk> after mk.conf. This ensures that standard
flags (e.g. CFLAGS=-O/-O2) are defined as necessary before a pkg modifies
them with "+=".
1999-05-24 11:17:05 +00:00
tv
6e915e0f3f - Move the inclusion of bsd.own.mk to bsd.prefs.mk, and multiple-include
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-23 22:10:01 +00:00
tv
cce722bd3f Commit the least intrusive parts of proposal 6a (affects no pkgs):
- 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-22 15:47:23 +00:00
tv
c1af4148fc Speed up the evaluation of ${CKSUMFILES} vs. ${IGNOREFILES} a little (and
make it cleaner) by replacing the shell expansion with a bmake .for loop.
1999-05-21 19:29:02 +00:00
tron
753518d70f Always add "${INSTALL_DATA}" to environment for "configure" target, too. 1999-05-20 19:50:09 +00:00
tron
21ccae5df3 Always add "${INSTALL_SCRIPT}" to environment for "configure" target. 1999-05-20 19:21:02 +00:00
tron
ca3b296af2 Define "${ECHO_MSG}" so that the patch from PR pkg/7545 doesn't break
(at least) a recursive "make clean".
1999-05-17 23:34:37 +00:00
tron
edc762690c Fix broken index file creation. Patch suppled by NAKAJIMA Yoshihiro
in PR pkg/7545.
1999-05-17 22:24:15 +00:00
tron
b3d1e13e64 Replace leading tabulators by spaces. Fixes PR pkg/7581 by "Wiz" (or
whatever his name is).
1999-05-14 19:47:12 +00:00
abs
2fc6297204 If ${PACKAGES} does not exist, use it anyway. Allows settinsg such as
PACKAGES=${PKGSRCDIR}/packages/${OS_VERSION}/${MACHINE_ARCH} _without_
having to ensure each ${OS_VERSION}/${MACHINE_ARCH} is manually created
beforehand.
1999-05-12 05:35:55 +00:00
tron
edabe54d29 Add "APACHE_PERF_TUNING" and "APACHE_SUEXEC". 1999-05-11 20:37:30 +00:00
tron
aa172b3149 Remove "${LOCALBASE}/www" again. As pointed out by Todd Vierling this
directory doesn't fit into hier(7). We will handle the double usage in
the packages for now.
1999-05-10 22:30:19 +00:00
tron
f36d8cf001 Fix ordering problem in last commit. 1999-05-10 12:29:40 +00:00
tron
17021ee2a7 Add "${LOCALBASE}/www". 1999-05-10 07:52:00 +00:00
tron
a8d3c74b03 Unless package debugging is enabled don't output commands during
automatical registration of info files.
1999-05-04 22:44:10 +00:00
tv
f537c05412 Make the Kerberos option uniform - it is now USE_KERBEROS4 and specifies
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-03 23:39:22 +00:00
tv
fb03571a89 MKPICINSTALL and NOPICINSTALL have zero relevance to whether a system has
shared objects in /usr/lib (they affect installation of the _pic.a files,
not the .so files).
1999-05-02 03:24:59 +00:00
tv
8712f2e873 Older 1.3.x releases don't have the GNU_ARCH stuff in bsd.own.mk. Add
definitions for the architectures available in those releases, set with ?=.
1999-04-29 14:27:28 +00:00
tv
01a90f4d6f Completely turn off USE_LOCALBASE_FOR_X11 until xpkgwedge is fixed. 1999-04-29 02:19:55 +00:00
tron
e96246650c Add "DISTDIR", fixes PR pkg/7423 by Minoura Makoto. 1999-04-24 19:48:23 +00:00
tron
08c86266dc Be consistent: always use "/usr/bin/uname". 1999-04-24 18:14:57 +00:00
sakamoto
10a9651118 re-add empty MASTER/PATCH_SITE which was removed in 1.254. 1999-04-22 15:50:42 +00:00
hubertf
1ce1d11daf Replace deinstall-depends target with call to "pkg_delete -R" (now that
we have it for sure).
1999-04-20 20:28:11 +00:00
agc
5b8cfe00f1 Default umask on Solaris is 022, not 0022. 1999-04-20 11:07:34 +00:00
tron
b4d3a4b871 - Bump required package tools version to 19990412.
- Remove support for package tools without database support.
1999-04-19 20:04:18 +00:00
agc
f85381d98b Fix just-in-time su deinstalls on Solaris by using the full pathname for
${MAKE}.
1999-04-19 14:29:49 +00:00
tron
202b5f011e Remove "%SUBDIR%/" from various "MASTER_SITE..." examples. 1999-04-15 20:41:32 +00:00
tron
23e0063766 Completely replace "MASTER_SITE_SUBDIR" and "PATCH_SITE_SUBDIR" with
variable substituition of "MASTER_SITES" and "PATCH_SITES".
1999-04-15 20:39:38 +00:00
tron
0a35523e94 Add missing "|| ${TRUE}" to "${EGREP}" statement to avoid install failures
if no shared objects are found on a.out systems.
1999-04-14 19:44:24 +00:00
agc
e20be6c347 Remove NOPORTDOCS definition - it was useless anyway, as any attempt to
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-13 15:31:04 +00:00
agc
fed2323244 Use the system version of bsd.own.mk, rather than keeping a pkgsrc-only copy. 1999-04-13 15:07:38 +00:00
agc
f041c79b79 Work out the type of shared libraries once, at "make install" time, and
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-13 14:18:11 +00:00
tron
52be543cc6 Consider NetBSD 1.4 as "current" so that "UVM" is defined again.
XXX This file shile should be removed soon.
1999-04-11 12:07:28 +00:00
hubertf
d8d65788d7 Move mirror-distfiles target around a bit so it can even be invoked
on platforms that are prohibited by ONLY_FOR_ARCH/OPSYS etc. so we
can provide distfile-backups even for them.
1999-04-09 02:06:53 +00:00
tron
7e78d6071c "bzcat" now handles symlinks properly. 1999-04-08 18:43:42 +00:00
agc
e7cd3bf02f Substitute for ${LOWER_VENDOR} when building the PLIST. Necessary for
some GNU packages.
1999-04-08 12:46:08 +00:00
hubertf
c706d14441 Prettify PKGSRCDIR - instead of /usr/pkgsrc/foo/bar/../.., just make it
/usr/pkgsrc (through make(1) macig).
1999-04-08 07:51:21 +00:00
agc
a2ea4de8a3 Make this work on Solaris again.
Minor formatting changes around the pkg-su-install target.

Pass on any PKG_DEBUG_LEVEL as well as FORCE_PKG_REGISTER definitions.
1999-04-06 14:11:10 +00:00
agc
161d30887f Make it obvious, when invoking ${SU_CMD}, on which machine this
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-06 09:39:30 +00:00
hubertf
fb6a49d11b Get rid of this "0":
|
|    ...
|    ===>   [Automatic a.out shared object handling]
+--> 0
     ===>  Registering installation for fnlib-0.4
1999-04-05 02:25:59 +00:00
tron
c592794199 Use input redirection with "bzcat" once again because it refuses to handle
symbolic links on files.
1999-04-04 12:56:05 +00:00
tron
f5ce2acf3c Use "su" automatically for "make deinstall" target, too. 1999-04-03 21:03:50 +00:00
agc
55324d2876 Correct a typo in previous - fixes bzip2 extractions. 1999-04-02 21:14:12 +00:00
tron
7d06cde548 Use input redirection with "bzcat" again because it refuses to handle
symbolic links on files.
1999-04-01 22:21:27 +00:00