Commit graph

73 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
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
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
1108dbc2a7 Don't use memcpy for overlapping ranges. Bump revision. 2015-04-16 11:40:43 +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
christos
7273bcb208 bump revision 2013-02-26 00:52:20 +00:00
adam
378bcb6545 Added do-test: 2013-02-18 22:38:19 +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
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
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
f49d7ece30 Update to bmake-20100423 2010-04-24 21:10:52 +00:00
joerg
415a4bfa33 Reflect update. 2010-04-21 14:29:43 +00:00
tron
c30df4a3d4 Set the license to "modified-bsd". 2009-09-19 06:44:33 +00:00
joerg
bfbd82d19b Update to bmake-20090909 2009-09-18 21:27:25 +00:00
joerg
368d71b62e Remove redundant NO_CHECKSUM and EXTRACT_ONLY definitions. 2009-04-09 00:48:06 +00:00
joerg
c73f1108a4 Update to bmake-20081111 (portability changes). 2008-11-11 20:01:58 +00:00
joerg
5ab0145ce7 bmake is now at 20081101. 2008-11-11 14:41:21 +00:00
joerg
da712f263e Add a marker for bootstrap packages to allow special cases them during
bulk builds.
2008-06-19 18:36:51 +00:00
tnn
2be145ec3b Set need_ksh=yes for SunOS as well. Asked by joerg@ 2008-05-23 18:06:44 +00:00
tnn
197ca66319 On OSF1, depend on shells/pdksh and use it for the default shell.
Bump the pkgrevision because if this change.
2008-05-23 17:43:31 +00:00
joerg
dd86c24e6c Update bmake to 20080215. I'll take care of pkgsrc maintainership.
Changes include many bugfixes and performance speed ups. See
ChangeLog for details.
2008-03-09 19:54:28 +00:00
jlam
4c8382aec0 Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
2008-03-03 17:45:33 +00:00
tnn
f485e87381 Reset maintainer, until someone merges the changes from NetBSD-current.
Any takers?
2008-02-05 15:37:18 +00:00
rillig
0b3354844d Fixed a typo (xpg4 instead of xpg). 2007-09-21 10:16:28 +00:00
jlam
2761568ac2 Convert to use the features framework. 2007-09-08 21:57:57 +00:00
joerg
181bacec05 Try to force a proper shell on Solaris by extending bmake to
expect full path names. Use the default locations in /bin unless
overriden explicitly. Bump revision of bmake.

On Solaris, use /usr/xpg4/bin/sh if it exists.
2007-09-06 19:23:25 +00:00
joerg
1da2c7726f Explicitly depend on bootstrap-mk-files, remove the broken_in marker.
This package is special. Bump revision.
2007-04-12 21:28:42 +00:00
joerg
2dfcdbab0c Change bootstrap to register bmake as package. Change bmake to
use inplace libnbcompat like the direct build from bootstrap
does. Fix a long-standing bug in mkbinarykit. The default work
directory was "work" (relative) and therefore MAKECONF=work/...
was passed down, effectively making it a nop. That resulted in
digest being incorrectly installed during the bootstrap.

Tested on DragonFly by myself and on OSF by tnn@, discussed with jlam@
2007-04-12 20:31:04 +00:00
dbj
1879dec905 install bmake.1 from ${WRKSRC} instead of ${WRKDIR}/${OBJSYS} 2007-03-05 00:24:33 +00:00
wiz
601583c320 Whitespace cleanup, courtesy of pkglint.
Patch provided by Sergey Svishchev in private mail.
2007-02-22 19:26:05 +00:00
wiz
29abbd1c1b Mark as BROKEN_IN pkgsrc-2006Q4, based on
ftp://asim.lip6.fr/outgoing/packages/i386/3.1/20070114.1132/broken.html
(latest 3.1/i386 bulk build of 2006Q4).

Feel free to fix them...
2007-01-31 00:04:11 +00:00
jlam
1284f595b8 Mark these packages as NO_MTREE as they are bootstrap packages and don't
need mtree to pre-generate any directories for them.
2006-07-14 16:24:28 +00:00
jlam
6a9a4fb258 Don't bother installing the catman page... it's not worth the hassle for
a bootstrap tool to figure out how to do this.
2006-07-14 15:18:17 +00:00
joerg
e806cd23e8 sysMkPath should be ${PREFIX}/share/mk by default and only that.
Including e.g. /usr/share/mk results in sys.mk read from there
as well. On DragonFly this adds X11BASE and results in obscure
breakages. Since the mk files are supposed to be self-contained,
it doesn't make much sense to look in other directories anyway.
Bump revision to annotate this.

Discussed-with: reed@.
Reported-by: Aggelos Economopoulos <aoiko AT cc DOT ece DOT ntua DOT gr>
2005-11-16 13:53:51 +00:00
reed
0b1a0779b2 Update to version 20051105.
Remove GNU_CONFIGURE=no from pkgsrc Makefile.

Add "--mksrc none" to arguments and
add --prefix=${PREFIX} and --sysconfdir=${PKG_SYSCONFDIR}
and remove ${CONFIGURE_ARGS} for boot-strap.

Note that I didn't import the files that only change was a
CVS $Id$ tag.

From ChangeLog:

2005-11-05  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (BMAKE_VERSION): bump to 20051105
	* configure.in: always set default_sys_path
	  default is ${prefix}/share/mk
	  - remove prefix_sys_path, anyone wanting more than above
	    needs to set it manually.

2005-11-04  Simon J. Gerraty  <sjg@void.crufty.net>

	* boot-strap: make this a bit easier for pkgsrc folk.
	  bootstrap still fails on IRIX64 since MACHINE_ARCH gets set to
	  'mips' while pkgsrc wants 'mipseb' or 'mipsel'

2005-11-02  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (BMAKE_VERSION): bump to 20051102
	* job.c (JobFinish): fix likely ancient merge lossage
	fix from Todd Vierling.
	* boot-strap (srcdir): allow setting mksrc=none

2005-10-31  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (BMAKE_VERSION): bump to 20051031
	* ranlib.h: skip on OSF too.
	  (NetBSD PR 31864)
2005-11-10 00:09:34 +00:00
tv
50443ded29 Fix glaring error in job.c that I fixed back in the prehistoric
bootstrap-pkgsrc incarnation (WTERMSIG->WSTOPSIG).
2005-11-02 18:16:04 +00:00
reed
d4861121d8 Add patch-ab and bump PKGREVISION.
This is from bootstrap for OSF1 5.1 from Sergey Svishchev in PR 31864.
2005-11-01 00:07:20 +00:00
reed
01eb413282 Keep the bmake source in pkgsrc/devel/bmake/files/.
The plan is to remove the out-of-date source from bootstrap/bmake.
Sources obtained from ftp://ftp.NetBSD.org/pub/NetBSD/misc/sjg/.
Source is kept in files/ for bootstrap purposes (to be done).

Update to version bmake-20051002. Changes include:

        * Makefile.in (BMAKE_VERSION): bump to 20051001
          support for UnixWare and some other systems,
          based on patches from pkgsrc/bootstrap

Remove DEPENDS for mk-files (as mentioned on tech-pkg in June).

Use libnbcompat. Also patch-aa is to use libnbcompat.
(I chose to use patches so files would be exact from original source
tarball.)

And use PKGMANDIR.
2005-10-31 21:34:24 +00:00