Commit Graph

1766 Commits

Author SHA1 Message Date
mrg
2e277c2d9d add transforms for new GLU, GLUT and xorg-server pkgconfig files. 2009-06-23 04:40:29 +00:00
mrg
5b9c71717d implement MKX11FONTS for Xorg. 2009-06-18 06:36:58 +00:00
mrg
74da3bca40 update XORG_VERSION_CURRENT.
update the pkgconfig sed script to handle newer pixman.

XXX: should make the pkgconfig sed script barf it it ends up leaving
XXX: behind something that looks like "@.*@", i think.
2009-06-11 05:34:22 +00:00
mrg
2575b988d6 add xkeyboard-config. 2009-06-11 05:30:15 +00:00
mrg
097191f1bd don't define FONTCACHE here any more, for Xorg. 2009-06-10 08:28:20 +00:00
mrg
23b4863243 +dri2proto -printproto 2009-06-10 04:11:01 +00:00
mrg
50ea2508ff sync the list of valid xorg packages:
- add libpciaccess
- remove Xp XprintUtil XprintAppUtil
2009-06-10 02:05:45 +00:00
plunky
39aa7ec964 remove libsdp as improved functionality has been enabled in libbluetooth. 2009-05-12 18:07:54 +00:00
ad
e8f7cd4ed0 Enable -mtune=nocona by default on x86. I have tested on a range of CPUs
and this seems to give the best results.
2009-05-04 21:32:31 +00:00
apb
41d8d87770 Switch from sha1 to sha256 in the METALOG. The same information
also ends up in /etc/mtree/set.* after installation.
2009-05-01 20:47:53 +00:00
apb
91fe922f05 Add LINKSOWN, LINKSGRP, and LINKSMODE variables for use by bsd.links.mk
when installing hard links.  They have no effect except when using a
metalog, in which case the information is added to the metalog.  In
the future, these variables may be replaced by a method for explicitly
recording hard links in a metadata log.

Also change a few things that called ${INSTALL_LINK} without going
through bsd.links.mk.

Reviewed by perry and joerg.  This should fix PR 24457 and PR 41155.
2009-04-10 16:16:12 +00:00
bouyer
b6373695b9 Revert accidental switch of alpha to Xorg. We don't have the XdecNetBSD
and XalphaNetBSD drivers in xorg yet.
Fixes release build for alpha.
2009-04-10 16:14:54 +00:00
perry
6b7db9a3b4 Add a _ARRANFL for the flags for invoking ar as ranlib.
Will be used only for Makefile.rump for now.
2009-04-01 17:47:39 +00:00
perry
0ef5ffa1dd add -n to gzip invocation 2009-03-31 21:00:34 +00:00
drochner
a6062b3d34 Use "i486" as GNU_ARCH for i386 so that the toolchain and libraries
can use instructions which were not available on the original i386
(eg cmpxchg). Due to some strangeness in gcc's i386 support this needs
an extra --with-arch=i486 configure argument for gcc to have the desired
effect, see my post "i386 vs i486, some inconsistencies" to tech-toolchain
some weeks ago.
I'm not happy to break compatibility, but since (a) kernel support
for i386 was removed and (b) i387 code was put into libm this is
just another coffin nail.
The gain is besides consistency and more efficient code that intel
atomar intrinsics can now be used by gcc. (which would need runtime
library support otherwise)
2009-03-27 19:36:55 +00:00
tsutsui
7f79f861d8 Include <bsd.own.mk> for ${NETBSDSRCDIR}, ${MACHINE}, ${MACHINE_CPU} and
${MACHINE_ARCH} variables.
2009-03-15 05:57:54 +00:00
tsutsui
628341218b Create symlinks in !make(obj) && !make(clean) && !make(cleandir) case
as most Makefiles for standalone programs do.
2009-03-15 05:48:02 +00:00
perry
1fd3f53afd Add a MKARZERO flag, which invokes ar(1) with the new D flag when it
is set to "yes" -- defaults to "no" except for build.sh builds. This
results in a deterministic .a file rather than one that reflects
timestamps and permissions on the source files.

Also, clean up the ar flags we're using, and remove a redundant use of
ranlib that on a modern POSIX ar can be done with the "s" flag.

Discussed on tech-toolchain
2009-03-13 16:23:31 +00:00
apb
a599e86f4b Add "-", "_", and "A-Z" to the set of allowed characters in the
result from `uname -p`.  We already have a platform with an underline
("x86_64"), and the other chars seem harmless.
2009-03-09 06:25:51 +00:00
apb
5ebdda3e89 In build.sh and bsd.own.mk, if uname -p fails, or prints "unknown", or
prints something that does not look like an identifier, then use uname
-m instead.  (Cygwin prints "unknown", and OpenBSD prints a long string
containing several spaces; this code should handle both.)
2009-03-06 16:29:40 +00:00
isaki
1fe1c1d477 Make configlinksinstall work correctly even if CONFIGSYMLINKS is
defined but empty.
2009-03-01 09:42:41 +00:00
joerg
9610cac10c When processing texinfo sources, use --no-version-header to make the
build reproducable.
2009-02-28 19:18:52 +00:00
sketch
0d9ab2b40e Make grep a host tool. 2009-02-25 20:36:44 +00:00
macallan
6f06755f15 Switch sgimips over to Xorg 2009-02-24 04:04:40 +00:00
abs
278c6d188a Cut all non Xserver building ports across to Xorg, tested on vax and
a selection of m68k ports.

The remaining XFree using ports are:
    acorn32 amiga cats dreamcast ews4800mips hpcarm hpcmips hpcsh
    mac68k netwinder newsmips ofppc pmax sgimips sparc sun3 x68k
2009-02-17 00:02:32 +00:00
lukem
c0d472c616 Enable -Wsign-compare for WARNS=4 (and above).
Test compiled on i386 and amd64; there may be some stragglers
on other platforms.

Note: -Wall has this by default in gcc4, and we explicitly disable it at
WARNS=1 (i.e., -Wall -Wno-sign-compare).  A goal is to reduce the WARNS level
where this feature is enabled, so we can eventually remove -Wno-sign-compare.
2009-02-12 22:49:05 +00:00
tron
11cc2a433c Install the "sony-misc" font from the X.org distribution.
Patch supplied by Takeshi Nakayama in PR xsrc/40476.
2009-01-25 23:11:16 +00:00
rmind
6d73ddd355 Revert path of modules back to "/stand". 2009-01-24 22:14:44 +00:00
bouyer
7e113f2eda Add support for X11FLAVOUR=xorg to NetBSD/alpha. Tested on PWS500
(ev56, handled as non-BWX by Xorg) and XP1000 (ev6, BWX). Also
tested by Rafael Ruiz on a AlphaStation 255 (thanks !).
non-PCI adapters are not supported; someone should make these work
as a wsfb device.
2009-01-24 17:24:52 +00:00
rmind
f0e51651e4 Change path to kernel modules from "/stand" to "/kernel".
Needs to go in before 5.0.  Proposed on <tech-kern>.
2009-01-24 00:29:12 +00:00
christos
fc0e181680 Document USE_FORT. 2009-01-22 14:04:15 +00:00
he
a5ec128bee If we have a SHLIB_VERSION_FILE, add is as a dependency for the
library.  This is mostly a convenience, so that you can trigger
a shared library rebuild by touching the shlib_version file, it
should not otherwise impact the build one way or the other.
2009-01-17 12:09:58 +00:00
he
79663d7eed Move _LIBLDOPTS and LDFLAGS to a spot behind LDADD when making a
shared library.  This is done so that -L options pointing into
DESTDIR will come after -L options pointing into our object tree
for shared libraries this shared library depends on.

This makes a difference when shared library major numbers are bumped
(as was recently done in our tree), and you build into an already-
populated DESTDIR, because otherwise the old major version shared
libraries will be picked up, because the new ones have not yet been
installed at this stage. This will in all probability lead to
conflicts later on when linking programs, where one would try to
mix new and old major versions for the same shared library.

I *hope* this will not have any negatively impact by moving other
order-dependent options around; local tests with rebuilds did not
uncover any problems I could see.

OK'ed by lukem@
2009-01-17 12:07:59 +00:00
pooka
53313f280c Add comment requesting modifications to __archivebuild be reflected
in the rump build.
2009-01-08 20:03:59 +00:00
pooka
dfa6b36e0e Move list of rump-uses-kmod archs to bsd.own.mk for wider consumption. 2008-12-30 21:31:10 +00:00
agc
72d7476867 Explain what the MKLVM switch does 2008-12-23 02:55:23 +00:00
agc
a796e01c33 Put MKLVM in order in the list of variables 2008-12-23 02:54:11 +00:00
haad
c9d0c62a0c Merge the haad-dm branch to -current. This branch adds LVM functionality to
the base NetBSD system. It uses Linux LVM2 tools and our BSD licensed
device-mapper driver.

The device-mapper driver can be used to create virtual block devices which
maps virtual blocks to real with target mapping called target. Currently
these targets are available a linear, zero, error and a snapshot (this is
work in progress and doesn't work yet).

The lvm2tools adds lvm and dmsetup binary to based system, where the lvm
tool is used to manage and administer whole LVM and the dmestup is used to
communicate iwith device-mapper kernel driver. With these tools also
a libdevmapper library is instaled to the base system.

Building of tools and driver is currently disable and can be enabled with
MKLVM=yes in mk.conf. I will add sets lists and rc.d script soon.

Oked by agc@ and cube@.
2008-12-19 15:24:03 +00:00
pooka
e49857aeaf create i386 link for amd64. per discussion with mrg. 2008-12-08 22:47:55 +00:00
pooka
b14e457e9c Don't use -isystem in rump builds. This ensures that only headers
in the kernel tree are used.
2008-12-08 13:10:21 +00:00
mrg
bcb1925cba add LIBISCXX. if it is != "no", use ${CXX} instead of ${CC} to link
shared libraries.  use it for the one c++ library we have.

fixes PR#39936.
2008-12-06 19:32:05 +00:00
cube
11851cadd9 Implement FILESBUILD_<file> to allow a FILES element to be built through a
target.
2008-12-05 18:51:16 +00:00
hubertf
740e3df3fd Work around a bug in Solaris' shs (both /bin and /usr/xpg4/bin)
where "for d in ; ..." results in a syntax error.

Suggested by apb@
2008-11-30 22:05:56 +00:00
cube
33bcabe95b Move cleanextra to the very ends in case another included file wants to add
to it even if it was initially empty.
2008-11-24 02:13:08 +00:00
cube
b25860850d Allow the use of NOSTATICLIB along with LIBISPRIVATE to build private libs
that are suitable to be linked into a shared lib.
2008-11-24 02:01:46 +00:00
pooka
e10fef6cd2 Split vfs out of rumpkern into rumpvfs. Non-fs rumps no longer
include the file system code.  File system rumps explicitly need
to include rumpvfs from now on.
2008-11-19 14:10:48 +00:00
mrg
867022784c revert sparc back to default of XFree86 at the request of macallan. 2008-11-15 11:27:49 +00:00
apb
c89f08d79b Add support for new MAKEVERBOSE levels 3 and 4. The complete list is now:
0   Minimal output ("quiet")
 1   Describe what is occurring
 2   Describe what is occurring and echo the actual command
 3   Ignore the effect of the "@" prefix in make commands
 4   Trace shell commands using the shell's -x flag

The default remains MAKEVERBOSE=2.
2008-11-13 20:40:11 +00:00
pooka
b2fa04c6b2 Now that MKPUFFS is default, kill it as advertised.
While there, give puffs and refuse files sensible syspkg entries.
2008-11-12 13:17:27 +00:00
ad
0efea177e3 Remove LKMs and switch to the module framework, pass 1.
Proposed on tech-kern@.
2008-11-12 12:35:50 +00:00