Commit Graph

2051 Commits

Author SHA1 Message Date
matt
f5d3f68d54 Remove another ${SIZE} 2012-02-21 01:41:09 +00:00
matt
0bf8cdb842 Remove ${SIZE} 2012-02-20 18:23:50 +00:00
matt
47c982a38d Add support for --combine with gcc. 2012-02-19 23:19:37 +00:00
joerg
23782b5c2b Derive MANINSTALL from MKCATPAGES and MKHTML. 2012-02-17 00:00:02 +00:00
christos
110af54a7b use osrelease -k to avoid that the path is 6.0_BETA 2012-02-16 23:58:15 +00:00
matt
47dd0a4489 Switch VAX to use GCC 4.5 and GDB 7.
Change VAX to use DBG=-O2 like most other ports.
2012-02-10 05:57:42 +00:00
joerg
6c39547510 Sync with reality for MKCATPAGES and MKMANDOC. 2012-02-07 22:58:49 +00:00
joerg
849ff56477 Switch to using mandoc for formatting man pages as new default.
Stop building catpages by default.
2012-02-07 19:33:19 +00:00
joerg
410d0f4380 Import the new apropos/whatis.
This code has been developed by Abhinav Upadhyay as part of Google's Summer
of Code 2011. It uses libmandoc to parse man pages and builds a Full
Text Index in a SQLite database. The combination of indexing the full
manual page, filtering out stop words and ranking individual matches
based on the section gives a much improved user experience.

The old makewhatis and friends are kept under MKMAKEMANDB=no for now.
2012-02-07 19:13:24 +00:00
christos
dfa5043919 rename to OBJCOPYLIBFLAGS 2012-01-28 23:13:24 +00:00
christos
c37ad7ee66 Provide a way to override the default objcopy flags for library modules. 2012-01-28 21:32:13 +00:00
njoly
1d7281ae96 For xkb_base, do not use ${libdir} (xkeyboard-config.pc does not define
it) but its value ${prefix}/lib instead.
2012-01-17 19:40:08 +00:00
skrll
0df379aa98 Switch hppa to gdb 7. 2011-11-25 22:03:42 +00:00
apb
6c03a4739d Use :Q to deal with the case that CLEANFILES or CLEANDIRFILES
contains quoted substrings (such as file names with spaces).
Problem reported by Joseph Koshy, who also provided the
important part of the fix.
2011-11-22 18:25:48 +00:00
jdc
39bd26a295 Switch alpha to gdb 7. 2011-11-15 22:55:28 +00:00
christos
50a5b513a2 Add libtre 2011-11-05 22:56:30 +00:00
uwe
d36863b6ce Switch sh3 to gdb7. 2011-11-02 00:10:08 +00:00
joerg
ac992c4949 Hook up nbperf into the normal tool build. 2011-11-01 21:16:28 +00:00
chs
8c0bc12273 switch everything except vax to gcc 4.5.
switch m68k to -Os since -O2 produces much bigger code
with gcc 4.5 than it did with gcc 4.1.
2011-10-31 14:20:11 +00:00
mrg
c23dc553e9 obsolete now useless (and wrongly set to "219" :-) HAVE_BINUTILS.
switch the sense of the gdb and gcc tests to list the platforms not
switched to gcc 4.5 or gdb 7, which is now:

GCC 4.1:
.if ${MACHINE_ARCH} == "alpha"	|| \
    ${MACHINE_CPU}  == "arm"	|| \
    ${MACHINE_CPU}  == "m68k"	|| \
    ${MACHINE_CPU}  == "vax"

GDB 6:
.if ${MACHINE_ARCH} == "alpha"	|| \
    ${MACHINE_ARCH} == "hppa"	|| \
    ${MACHINE_CPU}  == "mips"	|| \
    ${MACHINE_CPU}  == "sh3"	|| \
    ${MACHINE_ARCH} == "vax"

let's go, people!  (-:
2011-10-31 08:14:43 +00:00
mrg
796bd71eac switch powerpc64 to GCC 4.5 and GDB 7. untested, but it builds which
is a step forward from a week ago.
2011-10-30 08:50:14 +00:00
mrg
0f88387d2b switch m68* to GDB 7.3.1. tested on sun2 and sun3 in TME. works
at least reasonably on sun3.  GCC 4.1 barely runs on sun2 and GCC
4.5 doesn't run...
2011-10-28 06:28:48 +00:00
mrg
22a1ab187f switch sparc, sparc64, arm and powerpc to GDB 7. 2011-10-25 05:54:15 +00:00
christos
e4a5483fe0 rump not rum 2011-10-16 01:28:35 +00:00
christos
fa86ae90df - no need to special-case libraries with weird characters.
- add a note about adding new libraries.
2011-10-16 01:24:05 +00:00
christos
c4fb05f751 fix list of libraries to reflect reality. 2011-10-16 01:14:33 +00:00
mbalmer
6ec0bc5690 Uncomment LUA_DPLIBS processing, but do not auto-include liblua.so,
under the assumption that programs that load Lua modules already have
loaded it.
2011-10-16 00:45:09 +00:00
joerg
ac86ba952c Hook up SQLite into the build 2011-10-13 22:08:16 +00:00
joerg
9aa0541bdf Update LLVM/Clang snapshot to r141658. This primarily fixes a regression
preventing Qt4 from building.
2011-10-11 13:53:56 +00:00
christos
d9f8f2e0cc Switch i386 and amd64 to gdb7. 2011-10-08 21:55:16 +00:00
mbalmer
82b798e8a5 Comment out the '##### Libraries that modules may depend upon.' for now,
so that modules written in C can be built.
2011-10-08 08:35:56 +00:00
apb
5181f2fcf2 Use bsd.clean.mk instead of defining our own "clean" target. 2011-10-07 17:53:03 +00:00
plunky
6d2e84eb2c install bsd.lua.mk into DESTDIR 2011-10-07 16:29:40 +00:00
plunky
8b59e8109b Add a bsd.lua.mk for building Lua modules 2011-10-07 16:25:37 +00:00
mrg
4a9d1308c3 obsolete libgcc_pic and friends. all libgcc's are supposed to be pic
for platforms with shlibs already (and are.)

this obsoletes our hacks for the libgcc specs to use libgcc_pic, and
fixes a couple of other issues reported to me directly.
2011-10-07 09:15:21 +00:00
apb
3c4ccf5215 Add MKCLEANSRC and MKCLEANVERIFY variables, defaulting to "yes".
You may set them to "no" to get the old behaviour of "make clean"
and "make cleandir".
2011-10-05 12:34:04 +00:00
christos
8d68885ceb No point on keeping hp700 on the old gcc; it is produces broken assembly
according to the new binutils.
2011-10-02 22:10:10 +00:00
dholland
2a481dca6b Fix the setting of "xcbincludedir" in .pc files (where the xcb XML
files live) so that anything that needs to find them can. Fixes build
of pkgsrc libxcb, not that that in particular is terribly important.
2011-09-29 10:59:26 +00:00
apb
c850a5ae67 If the number of entries in CLEANFILES is too large, then the
commands in bsd.clean.mk encounter errors like "exec(/bin/sh)
failed (Argument list too long)".  Avoid that by splitting the
files to clean into several lists using different variable names.

This should fix PR 45397, at least until the number of files
grows much larger.
2011-09-25 11:20:41 +00:00
apb
18b764946f * use a :M* modifier when testing whether the expanded list of
files is empty.  Sometimes the variable contains one or more spaces,
  and testing against "" gave the wrong result, but applying the
  :M* modifier discards the spaces.  This should fix PR 45396.
* Instead of using "-" to ignore the exit status from the rm command,
  use ||true.  This should work around the bug in PR 45356, but that
  bug is not fixed.
* Suppress the ${MKMSG} command with .if 0.  People who build with
  MAKEVERBOSE=1 don't want to see the message, and people who build
  with MAKEVERBOSE=2 or higher will see the actual rm command.  The
  message may be useful for debugging this makefile itself, so it's
  only disabled, not deleted.
2011-09-23 21:13:14 +00:00
joerg
9b296e99bc Decouple clang and gcc handling a bit. Add -Wmissing-noreturn for clang
builds. GCC complains about about non-void functions not returning,
which is quite a bit more bogus, so don't enable it for that.
2011-09-20 09:11:06 +00:00
mbalmer
d3aee14626 Move SYSCTL_USE_DESCR to a better place. 2011-09-11 18:38:02 +00:00
mbalmer
fc1f4a87c4 Install new shiny bsd.clean.mk 2011-09-11 16:03:49 +00:00
apb
87213f7215 Don't automatically load ".depend" files during "make clean"
or "make cleandir".
2011-09-10 19:25:10 +00:00
apb
386a389aab Move all "clean" and "cleandir" processing to a new bsd.clean.mk
file, as proposed in tech-toolchain.
2011-09-10 16:57:35 +00:00
apb
f6a28000e5 Document the FILESBUILD variable, which was added in
bsd.files.mk revision 1.41 dated 2010-02-03.
2011-09-09 10:08:14 +00:00
plunky
fa3d1b9a20 pcc cpp(1) does not understand the '-undef' and '-traditional' long form
arguments, use $(CC) -E instead of $(CPP) for these
2011-09-01 16:41:48 +00:00
joerg
03242f8218 Simplify, --analyze gives the same settings as default 2011-09-01 12:25:10 +00:00
joerg
ba5a5a1119 Add new "analyze" command to run clang's static analyzer in a directory
on all C/C++ files.
2011-08-27 18:35:19 +00:00
uwe
d4eba6a9b8 Switch sh3 to GCC 4.5. Tested on landisk (including doing build.sh on it). 2011-08-25 00:01:25 +00:00