Commit graph

148 commits

Author SHA1 Message Date
jperkin
a7efdccd6c Use OPSYSVARS. 2016-02-25 12:12:47 +00:00
jperkin
ac56158090 Attempt to bring sanity to how ABI and MACHINE_ARCH are set.
Previously there were at least 5 different ways MACHINE_ARCH could be set,
some statically and some at run time, and in many cases these settings
differed, leading to issues at pkg_add time where there was conflict
between the setting encoded into the package and that used by pkg_install.

Instead, move to a single source of truth where the correct value based on
the host and the chosen (or default) ABI is determined in the bootstrap
script.  The value can still be overridden in mk.conf if necessary, e.g.
for cross-compiling.

ABI is now set by default and if unset a default is calculated based on
MACHINE_ARCH.  This fixes some OS, e.g. Linux, where the wrong default was
previously chosen.

As a result of the refactoring there is no need for LOWER_ARCH, with
references to it replaced by MACHINE_ARCH.  SPARC_TARGET_ARCH is also
removed.
2016-01-24 16:14:44 +00:00
ryoon
b2421f02cf Fix QNX build.
From Jan Danielsson.
2015-07-04 07:12:08 +00:00
tron
6a34c48b19 Prefer "/usr/bin/bash" over the "pdksh" package for all versions
of Solaris.

Change during pkgsrc freeze approved by Jonathan Perkin.
2015-06-17 17:37:50 +00:00
joerg
5f0f6a3612 Update to bmake-20150505:
- Better .if checks
- Improved handling for "-" mode
- Improved suffix handling
- Recognize bitrig
2015-05-19 22:04:35 +00:00
joerg
1da4f6636d Merge changes from bmake-20150505, the hard way because the last update
was incomplete and not using cvs import.
2015-05-19 22:01:19 +00:00
joerg
9ca2739e6b Replace .Dt as well. 2015-05-19 21:49:23 +00:00
joerg
c920580a6a Makefile.in is gone. 2015-05-19 21:48:58 +00:00
joerg
d071d960ea Import bmake-20150505 2015-05-19 21:36:43 +00:00
sevan
e33a740e4b Switch AIX to using pdksh as the default shell too.
"/bin/sh: There is no process to read data written to a pipe." is logged using
system supplied shell during the scan stage of a bulkbuildi otherwise.

Reviewed by wiz@
2015-05-03 14:23:09 +00:00
joerg
e3ae9428d0 r1.180 from src: Explain what max is and handle i reaching it again. 2015-04-16 13:34:14 +00:00
joerg
1108dbc2a7 Don't use memcpy for overlapping ranges. Bump revision. 2015-04-16 11:40:43 +00:00
wiz
e7b305c4f3 Fix fprintf format string (already fixed the same way in src). 2014-03-31 08:37:25 +00:00
ryoon
2365206259 Bump version to 20140314
* Add SCO OpenServer 5.0.7/3.2 support
* Replace _DIR with _DIR_H in dir.h, because SCO OpenServer 5.0.7/3.2 has _DIR
  macro in dirent.h
2014-03-14 21:59:34 +00:00
ryoon
fb545eb695 Fix column of .if etc. 2014-02-16 08:55:22 +00:00
jperkin
ee1fa75918 Only install the catman page if catinstall is defined. Noticed by tron@ 2014-02-15 10:42:52 +00:00
jperkin
0fdcbc1737 bmake-20140214: Install the catman page. 2014-02-14 16:09:18 +00:00
obache
b098e74c03 Take care for the case missing `type' command, PR pkg/48089.
No objection from MAINTAINER over 3 month.
2013-10-31 12:18:19 +00:00
joerg
4a34accd5f Workaround for bad Linux headers. 2013-10-14 23:19:09 +00:00
ryoon
809bc0b208 Add FreeMiNT support. 2013-09-08 16:32:14 +00:00
ryoon
4d0e6ef03d Fix build under Cygwin64.
* Treat uname -p = unknown like machine.sh, use uname -m instead.
2013-07-30 12:27:20 +00:00
ryoon
4a0907cc4d Add (Debian) GNU/kFreeBSD port.
Similar to GNU/Linux.

Bump bootstrap-mk-files to 20130727.
2013-07-26 09:38:15 +00:00
obache
e25f1ca3a9 prevent to force MACHINE_ARCH=i386 on Cygwin, for cygwin64. 2013-04-06 02:49:57 +00:00
obache
de952ed035 fixes for renaming CYGWIN=>Cygwin 2013-04-06 01:46:06 +00:00
christos
7273bcb208 bump revision 2013-02-26 00:52:20 +00:00
christos
31a7c841e8 regen 2013-02-26 00:51:01 +00:00
christos
016ccf3e50 PR/45042: Thomas Cort: Minix support: handle missing setpgid and setrlimit 2013-02-26 00:50:14 +00:00
adam
378bcb6545 Added do-test: 2013-02-18 22:38:19 +00:00
obache
6c423dca0e tell Cygwin to bmake. 2013-02-09 12:57:35 +00:00
hans
1b5c526284 Use /usr/bin/bash on all SunOS 5.11 variants if it exists. Fall back to
shells/pdksh in all other cases, native /bin/ksh is not good enough.
2013-01-31 22:55:21 +00:00
sjg
bd5ded55cf Patch from Jan-Jaap van der Heijden for IRIX 2012-11-01 16:48:12 +00:00
asau
e1ab7079b6 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-31 11:16:30 +00:00
jperkin
74f81035d9 Make bash the default shell on SmartOS. 2012-07-24 13:18:00 +00:00
jperkin
dcc44bc21e Use native ksh93 on Solaris 11 and derivatives. 2012-06-15 09:54:41 +00:00
asau
73ab918702 Use configure framework and separate configure and build steps as usually.
From GSoC 2011 project by Stathis Kamperis.
2012-06-10 12:44:27 +00:00
bsiegert
a702f8677a Update version in Makefile 2011-06-18 22:43:34 +00:00
bsiegert
a63326713a Merge bmake-20110606, regenerate catman page 2011-06-18 22:39:46 +00:00
bsiegert
ed78fca6b3 Import bmake-20110606. Many changes, among them:
- unit-tests/modts now works on MirBSD
  - meta mode
  - ApplyModifiers: when we parse a variable which is not the entire modifier
    string, or not followed by ':', do not consider it as containing modifiers.
  - when long modifiers fail to match, check sysV style.
  - :hash - cheap 32bit hash of value
  - :localtime, :gmtime - use value as format string for strftime.
  - fix for use after free() in CondDoExists().
  - boot-strap (TOOL_DIFF): aparently at least on linux distro
    formats the output of 'type' differently - so eat any "()"
  - correct sysV substitution handling of empty lhs and variable
  - correct exists() check for dir with trailing /
  - correct handling of modifiers for non-existant variables during evaluation
    of conditionals.
  - fix for incorrect .PARSEDIR when .OBJDIR is re-computed after makefiles
    have been read.
  - fix example of :? modifier in man page.
  - sigcompat.c: convert to ansi so we can use higher warning levels.
  - parse.c: SunOS 5.8 at least does not have MAP_FILE
  - use mmap(2) if available, for reading makefiles
  - to ensure unit-tests results match, need to control LC_ALL as well as LANG.
  - if stale dependency is an IMPSRC, search via .PATH
  - machine.sh: like os.sh, allow for uname -p producing useless drivel
  - boot-strap: document configure knobs for meta and filemon.
2011-06-18 22:18:21 +00:00
bsiegert
e0e1b45d71 Import bmake-20110606. Many changes, among them:
- unit-tests/modts now works on MirBSD
  - meta mode
  - ApplyModifiers: when we parse a variable which is not the entire modifier
    string, or not followed by ':', do not consider it as containing modifiers.
  - when long modifiers fail to match, check sysV style.
  - :hash - cheap 32bit hash of value
  - :localtime, :gmtime - use value as format string for strftime.
  - fix for use after free() in CondDoExists().
  - boot-strap (TOOL_DIFF): aparently at least on linux distro
    formats the output of 'type' differently - so eat any "()"
  - correct sysV substitution handling of empty lhs and variable
  - correct exists() check for dir with trailing /
  - correct handling of modifiers for non-existant variables during evaluation
    of conditionals.
  - fix for incorrect .PARSEDIR when .OBJDIR is re-computed after makefiles
    have been read.
  - fix example of :? modifier in man page.
  - sigcompat.c: convert to ansi so we can use higher warning levels.
  - parse.c: SunOS 5.8 at least does not have MAP_FILE
  - use mmap(2) if available, for reading makefiles
  - to ensure unit-tests results match, need to control LC_ALL as well as LANG.
  - if stale dependency is an IMPSRC, search via .PATH
  - machine.sh: like os.sh, allow for uname -p producing useless drivel
  - boot-strap: document configure knobs for meta and filemon.
2011-06-18 22:17:55 +00:00
cheusov
3246e924ad Closes PR pkg/44501.
Pass pkgsrc's MACHINE_ARCH to bmake's configure script. Oked by wiz@
2011-05-09 07:48:57 +00:00
wiz
58f23cbce1 Add missing ".o". Found by Matthieu Herrb in PR 44461. 2011-01-26 10:13:48 +00:00
agc
e81f515156 Add support for MirBSD to pkgsrc. Patches from Benny Siegert and
Thorsten Glaser.
2011-01-23 19:07:24 +00:00
seanb
6e8e92f4b7 No SA_RESTART on qnx. 2010-12-21 22:57:44 +00:00
obache
3f60e91865 Force to use select(2) instead of poll(3) for Interix. 2010-09-10 02:42:59 +00:00
joerg
e40d113cf8 Mark as bmake 20100808 2010-09-07 14:45:39 +00:00
joerg
eee88dca20 Remerge man page. Cleanup old version. 2010-09-07 14:41:39 +00:00
joerg
90abc1d44b Merge for bmake-20100808 2010-09-07 14:28:00 +00:00
joerg
c7d1ee9459 Import bmake-20100808:
- boot-strap (TOOL_DIFF): set this to ensure tests use the same version
  of diff that configure tested
- in jobs mode, when we discover we cannot make something, call
  PrintOnError before exit.
- formatting fixes for ignored errors
- ensure jobs are cleaned up regardless of where wait() was called.
- os.sh (MACHINE_ARCH): watch out for drivel from uname -p
- call PrintOnError from JobFinish when we detect an error we are not
  ignoring.
- use bmake_signal() which is a wrapper around sigaction() in place of
  signal()
- add .export-env to allow exporting variables to environment without
  tracking (so no re-export when the internal value is changed).
- fix for .info et al being greedy.
- back to using realpath on argv[0] but only if contains '/' and does not
  start with '/'.
2010-09-07 14:12:27 +00:00
joerg
36f27617cb Merge bmake-20100510 2010-05-13 18:43:07 +00:00
joerg
2ee76368cc Regen 2010-04-24 21:11:25 +00:00