Commit Graph

2736 Commits

Author SHA1 Message Date
thorpej a464410d30 If NBSD_EXEC_PREFIX is set, use it to set MD_EXEC_PREFIX rather
than going with just "/usr/libexec/".

XXX This wouldn't be so gross if the GCC people would give
up their #undef habit.
2000-11-09 06:27:07 +00:00
thorpej a883aea587 If the COMPILER_EXEC_PREFIX make variable is set, define
NBSD_EXEC_PREFIX="<COMPILER_EXEC_PREFIX>/usr/libexec/"
in the CPPFLAGS.
2000-11-09 06:25:52 +00:00
itojun c2d7c0e321 gettextize works only if we have /usr/pkg/share/aclocal/gettext.m4 and friends,
and it does not make sense to install it.
From: Matthias Scheler <tron@zhadum.de>
2000-11-08 16:26:46 +00:00
wiz 29a60e8ab7 Undo last change for now. 2000-11-08 00:08:29 +00:00
jdolecek f3fb930deb use uname -p and uname -m to get machine architecture and
machine type, falling back to /bin/arch, /bin/machine if they
exist and uname didn't return anything.
This solves bin/10614.
2000-11-06 15:46:38 +00:00
itojun e9ea23788b MKNLS should only control installation of files under /usr/share/locale. 2000-11-06 15:35:25 +00:00
itojun 59e63e0152 MKNLS should control installation of /usr/share/locale files only. 2000-11-06 15:30:49 +00:00
itojun e3ec4c0463 MKNLS should control installation of /usr/share/locale only.
(we may want to have additional variable to control libintl-readiness)
2000-11-06 15:29:18 +00:00
itojun b04b150e28 s/make/${MAKE}/ 2000-11-04 15:38:32 +00:00
dan 29d4a62dee Don't prepend $DESTDIR to BINDIR, this is done elsewhere in the prog
install target.
2000-11-03 07:07:58 +00:00
veego 1699547a1d s/DISTDIR/DESTDIR/ 2000-11-02 20:17:01 +00:00
matt 37ed1c481f Add entries for VAX specific a.out relocs so that objdump can print them. 2000-11-02 16:34:32 +00:00
matt d87584c459 On VAX, JMPTAB reloc use EXTERN as a type bit. However, they are always
EXTERN so we always need to emit them.  This fixes various problem with
using JMP instruction in libc and libm.
2000-11-02 16:14:37 +00:00
itojun c1a719c0e4 visit gettext 2000-11-02 12:32:04 +00:00
itojun ef14cfbe4b build framework for GNU gettext. will be overridden whenever
Todd's BSD licensed gettext implementation comes in.
2000-11-02 01:09:01 +00:00
wiz 329cec7b7a Use NetBSD's getopt{,_long}. 2000-11-01 15:27:46 +00:00
wiz fd7b7ed13e Use NetBSD's getopt{,_long}. 2000-11-01 14:34:14 +00:00
wiz 58d067b119 Use NetBSD's getopt{,_long}. 2000-11-01 13:14:46 +00:00
itojun 6c59e69747 use /usr/lib/libintl.a. make it possible to build it with NLS-less. 2000-11-01 02:06:24 +00:00
itojun 0c0c0c829a s/sendmail/gettext/ 2000-10-31 15:00:07 +00:00
itojun 9b92297bee strip off RCS keywords 2000-10-31 14:58:00 +00:00
itojun a59f02771a GNU gettext 0.10.35 2000-10-31 14:45:40 +00:00
itojun 9ae3f98360 remove a line for debugging 2000-10-31 14:43:52 +00:00
itojun 8fcca1eaa3 do not compile libintl on our own. we now have /usr/lib/libintl. 2000-10-31 10:50:46 +00:00
mrg 77b1d2266f #include <elfos.h> only for i386 compiler for now -- it causes lossage
in other ports and is required only there (for now).
2000-10-29 12:21:14 +00:00
mrg 87b5c188d9 -msoft-quad-flat on sparc64. 2000-10-28 16:01:25 +00:00
itojun 14a62d1878 improve MKNLS=no/yes. build no NLS-related source code on MKNOS=no. 2000-10-28 06:18:07 +00:00
mycroft 07a449d9bf Swipe changes from binutils 2.10 to properly create multiple relocatons when
a symbol appears in multiple GOTs.  Fixes Mozilla problems in libgklayout.
2000-10-28 04:05:24 +00:00
mycroft fe609bcff4 Update some DEBUG printf() formats. 2000-10-27 01:05:30 +00:00
wiz 6c22552f42 add cvs2netbsd import script 2000-10-26 16:30:38 +00:00
wiz 59baa1d019 Match cvs-1.11. 2000-10-26 15:32:56 +00:00
wiz 00584ddc5c Remove some obsolete stuff (don't know why it wasn't deleted automatically). 2000-10-26 15:32:19 +00:00
wiz 2b12e01026 resolve conflicts from cvs-1.11 import 2000-10-26 14:59:06 +00:00
wiz 488e9b4921 Import of cvs-1.11 from ftp.cvshome.org minus some unneeded files. 2000-10-26 13:57:57 +00:00
wiz b57ce6cde4 Import of cvs-1.11 from ftp.cvshome.org minus some unneeded files. 2000-10-26 13:47:54 +00:00
mrg 9b051e142a restore the contents of this file so that the g77 texi builds. 2000-10-26 03:59:28 +00:00
mrg 613777800f don't build binutils 2.9.1 for sparc64 -- it causes issues. 2000-10-25 13:00:59 +00:00
mycroft fa3aaf6d8b Modify LIB_SPEC and LIBGCC_SPEC so that -lc and -lgcc are not included when
-shared or -symbolic (as on other platforms).  Also, override LIBGCC_SPEC for
all platforms (where it would incorrectly include the .a file explicitly on
some).
This should fix Mozilla on macppc.
2000-10-23 13:19:35 +00:00
simonb 8d8f957b42 Use MKDOC to check for building in the doc subdirectory, not MKSHARE.
If MKSHARE=no, <bsd.own.mk> will set MKDOC=no automatically.
2000-10-23 04:38:38 +00:00
bjh21 2307f87106 We only need one version of cons_fix_new_arm() -- merge them. 2000-10-22 11:44:56 +00:00
wiz d524d28d78 Reserve extra byte for terminating '\0' for sscanf buffers. From OpenBSD. 2000-10-21 16:59:39 +00:00
wiz 5d76b1c7a2 Don't compile LOCALID into the client, make it a repository specific
variable. The LOCALID is now set in the repository's CVSROOT/config file,
with a line
	tag=something
(in our case 'tag=NetBSD').
Taken from OpenBSD.
2000-10-21 12:40:23 +00:00
sommerfeld dc67ff641f When setting warn_format to a nonzero value, always use
warn_format = MAX(warn_format, N);
This prevents -Wnetbsd-format-audit -Wall from turning off stricter checks.
2000-10-18 13:57:49 +00:00
itojun 3e7ebe19d9 sync with sendmail 8.11.1.
added file: /usr/share/sendmail/ostype/solaris8.m4
2000-10-10 11:17:29 +00:00
itojun e72ddc0839 sendmail 8.11.1 2000-10-10 10:57:49 +00:00
itojun a6ede27799 (unexploitable) integer range check mistake in "sendmail -bt".
http://www.securityfocus.com/templates/archive.pike?threads=1&start=2000-10-08&mid=138539&fromthread=1&list=1&end=2000-10-14&
2000-10-10 09:45:50 +00:00
sommerfeld ac07e85117 Enhanced format checking, mk II:
New option -Wno-format-extra-args : suppress warning for:
	printf("foo", bar);
since that isn't interesting from the POV of this audit, and it's more
common than most in some code.

also, do format args checking for
	printf(Aflag ? "format 1: %s" : "format 2: %s", bar);
albeit in a half-hearted way for now (just check the "then" case)
2000-10-05 13:08:57 +00:00
sommerfeld ad8aa5a492 Enhanced format string checking.
If -Wformat is enabled, try harder to chase down compile-time constant
format strings.. capable of catching things like:
	const char foo[]="%s %d";
	printf(foo, 1, "2");

If the new option -Wnetbsd-format-audit (no, I don't like the name,
either) is enabled, complain about non-constant format strings we
can't verify.  In particular, for *v*printf-like functions (i.e.,
non-variadic functions which are passed a va_list), insist that the
format string come from a parameter declared as a format string
argument, so that functions which should be declared as printflike are
caught at compile time.
2000-10-04 19:21:28 +00:00
jeffs d00dba6879 Supply fetch_kcore_registers() implementation for NetBSD mips. 2000-10-03 22:48:54 +00:00
itojun 28d5cf3074 IPv6 support for pserver.
TODO: it conflicts with kerbeors support, however, it seems that it is
not possible to build with the current kerberos support.
i just put some #error in it.
2000-09-30 02:44:19 +00:00