Commit Graph

4955 Commits

Author SHA1 Message Date
wiz d245a498c0 Remove spurious '.' in line 42, as reported by Naoto Shimazaki on
current-users on Thu, 29 Nov 2001 09:17:16.
2001-11-29 11:57:21 +00:00
hubertf 8bf93eced0 Get rid of manually adding "nbX" to PKGNAME when a pkg was changed in
pkgsrc. Instead, a new variable PKGREVISION is invented that can get
bumped independent of DISTNAME and PKGNAME.

Example #1:
        DISTNAME=       foo-X.Y
        PKGREVISION=    Z
     => PKGNAME=        foo-X.YnbZ

Example #2:
        DISTNAME=       barthing-X.Y
        PKGNAME=        bar-X.Y
        PKGREVISION=    Z
     => PKGNAME=        bar=X.YnbZ (!)

On subsequent changes, only PKGREVISION needs to be bumped, no more risk
of getting DISTNAME changed accidentally.
2001-11-29 01:12:35 +00:00
kleink a0c2c75608 Mention hme(4) being 802.1q MTU capable. 2001-11-29 00:03:15 +00:00
jmc 9083f42414 There's no need for TMACDIR here after all. Anything using it is using it for
FILES installs so it can't have DESTDIR in front of it (and those Makefiles
all explicitly set it).
2001-11-28 23:32:16 +00:00
tv 8f2c8e583f Fix the :U's used with ${UPDATE} so that stray values don't get put into
the .PHONY: target.
2001-11-28 20:19:08 +00:00
tv 43453698f5 Use :U successfully this time. In an expression such as ${FOO:D:Ubar}, you
end up with empty string if FOO is defined, and `bar' if it is undefined.
2001-11-28 20:12:47 +00:00
kleink 134596bbcd Add missing `size' argument to MEXTADD declaration; from Yannick Montulet
in PR misc/14758.
2001-11-28 19:14:56 +00:00
ad 304ffcc64d First appeared in 1.5.3. 2001-11-28 18:27:34 +00:00
ad 4be14bd859 First appeared in NetBSD 1.5.3. 2001-11-28 17:41:46 +00:00
wiz 267e4b3d45 No point in using __P in prototype declarations in man pages. 2001-11-28 16:49:02 +00:00
wiz 79f04cbeec No point in using __P in prototype declarations in man pages.
Complete a prototype while I'm here.
2001-11-28 16:48:11 +00:00
kleink e5cc0a04fb No point in using __P for prototype declarations in a manual page. 2001-11-28 16:39:35 +00:00
jmc df5817fef0 Make sure the tools built roff tools are first in the path before calling groff
as it calls troff/etc without any leading pathnames. Otherwise the tools
version is fairly useless as the installed system version will be used to
build all manpages
2001-11-28 05:03:18 +00:00
jmc 20bb75f3c3 Separate out TMACDIR's use for install's from it's dependency function.
The dependency should be against the TOOLDIR files (is USETOOLS=yes) but
installs will always use ${DESTDIR}/usr/share/tmac.

Without this if people do not have /usr/share/tmac/tmac.andoc on their
systems while building the build will break in the groff areas due to
the dependency rules.
2001-11-28 05:01:28 +00:00
tv 632cac0d3c Add <bsd.hostlib.mk>, for use when building a host-specific library
(to be used with src/tools/compat).
2001-11-28 04:42:49 +00:00
tv 4a1ad2db60 If DESTDIR is set, do a similar nostdinc dance for the standard C++ include
directory.
2001-11-28 04:38:29 +00:00
wiz c2c43720b7 Add a hyphen, and replace /usr/pkgsrc/mk/mk.conf.example with
/usr/pkgsrc/mk/bsd.pkg.defaults.mk.
2001-11-27 16:17:35 +00:00
jmc 2e1248a6d9 If using MAKEOBJDIRPREFIX use the same checks as the symlink logic does below.
i.e. if the root of the object tree doesn't exist then complain and exit.

This makes both sections consistant to each other (MAKEOBJDIR specifies an
exact directory so there's no root per se to check so nothing can really be
done there).
2001-11-27 05:42:24 +00:00
jmc 423e88b943 Ok, take 2 on redoing KERNOBJDIR logic.
Use the old setup for MAKEOBJDIRPREFIX but also add a new check for
_SRC_TOP_OBJ_ and use that if it's set. This allows a make release using
build.sh (which uses MAKEOBJDIR patterns) to function correctly on r/o
source tree's.
2001-11-27 05:39:03 +00:00
jmc 6c76413f2f Back out last. Typo'd some things I need to test again 2001-11-27 05:17:31 +00:00
jmc 917bc8ae24 Change logic around for kernel objdir handling.
Use MAKEOBJDIRPREFIX as before if it's set

otherwise if _SRC_TOP_OBJ_ is set and isn't "" use it as the base for the
obj dir
2001-11-27 05:11:41 +00:00
perry d52d36ecc5 Uncomment a bunch of seemingly unused rules. It seems several people
do indeed use them in their private builds. Pointed out by Alan Barrett.
2001-11-26 15:24:20 +00:00
jmc 60ec3c749b Revert check for NOGCCERROR back to a .if \!defined as the :U check will break
anyone with NOGCCERROR=1 in their mk.conf
2001-11-26 06:11:20 +00:00
hubertf 55f0bb9d54 WTF use is a acronyms DB that has only the most commone cases... add a few
less common ones.

Submitted by Sean Davis <dive@endersgame.net> in PR 14725
2001-11-26 02:11:07 +00:00
itojun 69d4f1035f pull in the latest from freebsd tree. now darwin is listed as well. 2001-11-26 01:46:53 +00:00
wiz 234fe049a8 Sort sections, and add sentence with a . 2001-11-26 00:14:19 +00:00
wiz c13612f8dd Sort sections, fix xrefs, and misc. markup improvements. 2001-11-26 00:11:52 +00:00
wiz 8e3beef555 Markup improvements, grammar fix. 2001-11-26 00:06:40 +00:00
wiz 58f985e579 Simplify formatting, and drop an unnecessary .Pp. 2001-11-25 23:50:24 +00:00
wiz 5b9448b7b5 ddb(4), not ddb(8), and sort SEE ALSO. 2001-11-25 23:44:14 +00:00
wiz ce5ff77ee4 Sort sections, sort SEE ALSO. 2001-11-25 23:42:36 +00:00
wiz 6676165aa3 Drop an unnecessary .Pp. 2001-11-25 23:42:22 +00:00
jmc 900d713ff9 Back out last change until some more testing is done. Should account for folks
not using objdirs and also force this to cd to $_SRC_TOP_ before doing the
make obj
2001-11-25 23:40:08 +00:00
jmc d271a36466 Before checking the value from PRINTOBJDIR force a make obj at $_SRC_TOP_. 2001-11-25 09:06:00 +00:00
jhawk 25dfa3e2d8 Try to reserve "v" (down arrow) to indicate active development,
so, e.g. not between 1.4.2 and 1.4.3.
Note that NetBSD 1.4 development continues at this time ("v").
Note NetBSD 1.5.2 (and continuing 1.5 development).
Correct 1.5.1 release date to Jun 11 not July 11.
Add 1.5.2 release date.
2001-11-25 07:31:21 +00:00
perry 637fddfedf if UNPRIVED, generate (synthetically) a metadata log for whatis.db 2001-11-24 21:39:20 +00:00
perry 88592afd34 1) Synthetically generate metadata for installed files when UNPRIVED
is set.
2) Remove the default timezone line, which noted that the
   functionality was now in src/etc/Makefile.
3) Comment out a huge swath of the file that repeated tests reveal
   never seem to be invoked -- they're apparently for generating zone
   files that include leap seconds and such. Must talk to Klaus about
   what they are for and whether we need them.
2001-11-24 21:37:23 +00:00
perry 8382183dca 1) Use the -r flag for INSTALL_SYMLINK and INSTALL_LINK, just like
INSTALL_FILE does.
2) Patch around a bug that has been biting people in which bsd.own.mk
   attempts to cd into space when building outside of the tree. I may
   have a better solution for the whole thing later.
2001-11-24 21:26:34 +00:00
perry 6385e197e2 Now that install has been fixed to deal with -r in the symlink case,
make bsd.lib.mk use INSTALL_SYMLINK instead of mv and ln -s.
Note: There is still one weird case I left alone, in which symlinks
get built in the objdir. I didn't want to log metadata for those links
so I left the old machinery in for them.
XXX do we even need that elaborate dance for the ln's in the objdir?
2001-11-24 21:23:38 +00:00
perry 675aa2fd98 note that the path for installboot is /usr/mdec/installboot in SYNOPSIS 2001-11-24 16:38:07 +00:00
darrenr cbf13ec8c8 update man page to mention that you need to do "ifconfig greN create" before
using greN even if config'd into the kernel.
2001-11-24 14:27:03 +00:00
wiz 1ea75497ea filesystem -> file system; add `.' at end of HISTORY section; sort sections;
don't use Pc/Po/Pq; drop Nm arguments in most places (because they're not
needed); update Dd for mrg's changes today.
2001-11-24 07:40:22 +00:00
jdolecek b15c555bc8 back off previous - according to Klaus Klein, reference
should be made to actual CAE Specifications only, SUSv2 is
just a collection of standards
2001-11-24 02:41:48 +00:00
mrg 9ba47996ff add an example for forcing sparc blocks 2001-11-24 01:52:02 +00:00
mrg b4e48d1175 correct sparc64 bootblk/ofwboot pathnames (PR#14701), note ofwboot.net,
clarify sparc example is for sparc and add a sparc64 example, and
finally, add a FILES section describing all the sparc* bootblock files.
2001-11-24 01:44:55 +00:00
jdolecek 3abeb309bf Use <sys/systm.h> instead of <systm.h>. Noted in kern/14697 by John Franklin 2001-11-23 23:46:44 +00:00
jdolecek 8ea026bc30 add the 'drive' locator
g/c BUGS, add NOTES sections and note the driver should work okay
on machines with >16MB RAM
2001-11-23 23:00:52 +00:00
jhawk da2f8002bb hyphenate compound words
s/libc/C library/
grammar nits.
2001-11-23 21:06:02 +00:00
wiz ced65d9a35 Quote .Sq argument, and give correct argument to .Bd -offset (_not_ xxxx).
Second part fixes misc/14692.
2001-11-23 18:40:59 +00:00
jdolecek cd484662e8 add '-susv2' - Single UNIX (TM) Specification, Version 2 (SUSv2'', Unix98'') 2001-11-23 18:40:49 +00:00
bjh21 e43b9bb235 Add acorn32. 2001-11-23 16:32:20 +00:00
bjh21 986e444a33 Add acorn32 2001-11-23 16:28:16 +00:00
gmcgarry 3a3e29d852 General cleanup; xref kafs(3) 2001-11-23 07:45:54 +00:00
gmcgarry 30a683b2cc - Xr cdk(3), for what is worth
- describe libposix with xrefs
2001-11-23 07:18:52 +00:00
gmcgarry a81a662c06 Xref util.3 2001-11-23 06:22:24 +00:00
wiz 1fd7eeefcd "than" instead of "then". 2001-11-21 19:14:19 +00:00
augustss e26efb5202 A few more editorial changes. 2001-11-21 17:22:56 +00:00
wiz 74b5493cd3 Really improve grammar. 2001-11-21 17:17:42 +00:00
augustss a395f3700a Improve language. 2001-11-21 17:11:55 +00:00
augustss 3b945082ba Update a little for new reality. 2001-11-21 16:28:11 +00:00
wiz 957665b652 Use even more standard names for standards. 2001-11-21 11:25:22 +00:00
gmcgarry 3b6720fee9 xref com_err(3) 2001-11-21 05:45:10 +00:00
tv d00721de07 :U can't be used to test for existence, as the variable may contain an
arbitrary value; change back to .if !defined().  Problem noted by
bernd@arresum.inka.de in PR toolchain/14629.
2001-11-20 17:12:22 +00:00
lukem 0514531239 attempt to describe KGDB_DEV* options 2001-11-20 08:49:31 +00:00
kleink e1deb16aa0 NLS is commonly expanded to Native Language Support, not National Language
Support.
2001-11-19 16:20:26 +00:00
kleink 22c0e4ba00 Expand NLS acronym; from Jeremy C. Reed in PR misc/14577. 2001-11-19 16:15:00 +00:00
kleink 3a2aafc63a Fix email address. 2001-11-19 10:53:52 +00:00
lukem 00138c9a0d pfo 2001-11-19 09:36:43 +00:00
perry 2f370e4778 UNPRIVILEGED->UNPRIVED 2001-11-19 05:18:53 +00:00
perry 550b1df8d6 replace instances of ln with ${INSTALL_LINK} and ${INSTALL_SYMLINK} 2001-11-19 04:46:07 +00:00
perry 5fdc9f9a85 document/rename UNPRIVED 2001-11-19 04:45:06 +00:00
perry 77bd523e70 Snapshot of some things for builds as non-root -- work in progress:
0) rename UNPRIVILEGED UNPRIVED. It was too long. We'll argue about if
   we should replace it with yet something else later. It currently
   logs metadata by default. We'll argue more about that later too.
1) create a _SRC_TOP_OBJ_ variable pointing at the /usr/src objdir so
   we know where to dump metadata.
2) Add a METALOG variable pointing at the default location for the
   metadata log. (This may be moved or renamed -- the location is just
   for testing.)
3) Add a HOST_INSTALL_FILE used in host tools Makefiles instead of
   INSTALL_FILE, which doesn't include ${INSTPRIV} (i.e -U -M ${METALOG})
4) Add INSTALL_LINK, INSTALL_SYMLINK for use in other .mk files so we
   can get rid of explicit uses of ln. Slightly clean up INSTALL_FILE.
2001-11-19 04:44:32 +00:00
thorpej 8bfeb9a270 Use a little transitional hack to determine if we use -isystem
or -idirafter.  Use the former only of USE_NEW_TOOLCHAIN, since
-isystem causes the old toolchain to bomb out when building
libstdc++.
2001-11-19 02:46:50 +00:00
augustss bf71f0bf59 Fix typo. 2001-11-18 23:23:11 +00:00
augustss d9694b2e25 Xref each other. 2001-11-18 23:21:38 +00:00
augustss ba78f1455a Fix typo. 2001-11-18 23:13:37 +00:00
wiz c503012367 Sort sections. 2001-11-18 23:00:10 +00:00
wiz b8554660b9 Grammar fix and markup improvement. 2001-11-18 22:59:34 +00:00
wiz c2f2c277e3 Sort SEE ALSO. 2001-11-18 22:49:36 +00:00
augustss d774666fd6 Add autri(4) man page. 2001-11-18 16:46:49 +00:00
bjh21 dbd735b9b1 Need bsd.sys.mk for the GROFF definition in the non-USETOOLS case. 2001-11-18 15:11:25 +00:00
kleink 735f41a128 Create a bus_space_mmap(9) link, too. 2001-11-18 12:02:13 +00:00
mrg eeaa44ea8e note linksys prism2 support. 2001-11-18 06:38:23 +00:00
thorpej 72915508bb Protect from multiple inclusion. 2001-11-17 22:55:24 +00:00
thorpej b78cf94ba5 Make sure MKDEP is defined for the non-USETOOLS case. 2001-11-17 22:48:48 +00:00
thorpej c08a9b5abe Need bsd.sys.mk for the GROFF definition in the non-USETOOLS case. 2001-11-17 20:38:45 +00:00
lukem 69e1926249 document M_PIPE, M_AGP, M_PROP 2001-11-17 03:54:36 +00:00
lukem 576eed5512 Add new malloc(9) flag M_ZERO - zeros memory before returning.
From Poul-Henning Kamp's equivalent enhancement in FreeBSD.
2001-11-17 03:50:27 +00:00
augustss c8a7be2fc5 Improve wording. 2001-11-16 17:22:54 +00:00
augustss 9d5ba0c4d4 Add a man page for ehci(4) despite the driver not being finished yet. 2001-11-16 17:08:12 +00:00
atatat 04faedd073 Add OBJDUMP to the toolchain list. 2001-11-15 21:43:54 +00:00
tv 42423ab0f9 Make it possible to warn about platforms that are not yet switched to the
new toolchain.
2001-11-15 19:24:07 +00:00
wiz dd7622f812 It's called nbmakeinfo now, not makeinfo. 2001-11-15 13:05:35 +00:00
wiz 012e08cda6 Re-add check for defined(MKSOFTFLOAT) that got lost in v1.60.
Needed for Makefiles which include bsd.sys.mk, but not bsd.own.mk,
like distrib/macppc/floppies/ramdisk/Makefile.
Okay'd by simonb.
2001-11-15 12:15:09 +00:00
tv 6699960dbf C/..$/.c/ -> C/\..$/.c/ 2001-11-14 23:06:26 +00:00
tv 5e32db9d70 Remove SHAREDSTRINGS logic for host programs; this is unnecessary here. 2001-11-14 23:03:06 +00:00
tv 6c2c072164 Turn off host-specific objdirs by default. Set MKHOSTOBJ=yes to enable. 2001-11-14 22:29:23 +00:00
tv d21f3d4a13 Prefix all target-specific things with `${MACHINE_GNU_PLATFORM}-'.
Prefix all non-target-specific things with `nb'.
2001-11-14 22:13:39 +00:00
tv a9c913616b Put -Is in CPPFLAGS, not CFLAGS; change -I to -isystem as appropriate. 2001-11-14 22:01:40 +00:00
tv c8c3cf578b Move the DESTDIR-based nostdinc logic to bsd.lib.mk and bsd.prog.mk where
it belongs (with the native target compile rules).
2001-11-14 21:49:53 +00:00