diff options
author | micha <micha@pkgsrc.org> | 2020-11-25 15:24:46 +0000 |
---|---|---|
committer | micha <micha@pkgsrc.org> | 2020-11-25 15:24:46 +0000 |
commit | fb1c864d445cda71d11b5fbd57f8d32dc8c69f62 (patch) | |
tree | cc3a5d51c3c347f4220bedf78f27a92d39c6aecd /devel | |
parent | 9ae757216f61bd6f3b155eeeb668fa83c8eecad7 (diff) | |
download | pkgsrc-fb1c864d445cda71d11b5fbd57f8d32dc8c69f62.tar.gz |
smake: Update to 1.3nb15
Changelog from AN-2020-11-04:
- Makefile system: include/schily/nlsdefs.h no longer by default defines
the macro __() because this is in conflict with definitions that are
present in the system include files from newer HP-UX versions.
Thanks to Rudi Blom for reporting.
- smake: The new POSIX ::= assign macro feature has been implemented.
Today, this is an alias for :=, but we may make := compatible to the
SunPro Make feature := (conditional macro assignment) compatible:
target := MACRO = value
or
target := MACRO += value
- smake: The new POSIX ?= conditional macro assignment operator has
been added.
Note that like with +=, there is a need to have a space character
before ?= in order to be recognised. This is because smake and
SunPro Make support to have the characters '+' and '?' as part of
a macro name.
Note that some other make implementations that do not support
'+' and '?' as part of a macro name may be happy with something like
"MACRO+= value" or "MACRO?= value" but this is definitely not
portable.
Changelog from AN-2020-11-25:
- Makefile System: Added support for MacOS on arm64
Thanks to a hint from Ryan Schmidt from macports
Note that due to outstanding replies to recent changes in configure,
it could up to now not be verified that all configure tests now work in
a way that results in correct overall results. See below for an in
depth report on the changes.
- Makefile System: autoconf (config.guess & config.sub) now supports
the new arm64 Apple systems.
Thanks to Ryan Schmidt from macports for provinding the needed uname(1)
output.
- Makefile System: Added a new shell script "autoconf/uname" that helps
to create shell scrips that allow to emulate an alien host system in
order to test the correct behavior of configure.guess and configure.sub
on the main development platform.
This helps to adapt configure.guess and configure.sub to new platforms
in the future.
- Makefile System: The new clang compiler as published with the upcomming
ARM macs has been preconfigured with
-Werror -Wimplicit-function-declaration
as the default behavior and thus is in conflict with the existing base
assumption of the autoconf system that minimalistic C-code used for
compile/link allows to check for the existence of a specific function
in libc without a need to know which system #include file is used to
define a prototype for that function.
This clang version, as a result of this default, behaves like a C++
compiler and aborts if a function is used with no previous function
prototype. This caused most of the existing autoconf test to fail with
error messages about missing prototypes.
We implemented a workaround using these methods for the identified
problems:
- Most of the exit() calls in the various main() functions have
been replaced by return() to avoid a need to
#include <stdlib.h> in special since these test may be the
case for layered tests that #include files from the higher
level parts.
- Many autoconf tests programs now #include more system include
files, e.g. stdlib.h and unistd.h to avoid missing prototype
errors. This cannot reliably be done in tests that are used as
a base for higher level tests where the high level test
#includes own system include files, since older platforms do
not support to #include the same file twice.
So this is tricky...
- A test for a Linux glibc bug caused by incorect #pragma weak
usage inside glibc that prevents one or more functions from
ecvt()/fcvt()/gcvt() from being usable outside glibc now uses
hand-written prototypes for some of the libc interface
functions in order to avoid using the system includes. If we
did not do that, we could not use ecvt()/fcvt()/gcvt() on
MacOS anymore.
Thanks to Ryan Schmidt from macports for reporting and for the given
help that was needed for remote debugging.
Please send the needed feedback on whether the current state of the
configure script results on correct autoconf results on the M1 Macs.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/smake/Makefile | 6 | ||||
-rw-r--r-- | devel/smake/distinfo | 10 |
2 files changed, 8 insertions, 8 deletions
diff --git a/devel/smake/Makefile b/devel/smake/Makefile index c7aae943111..1d0cf8c99d1 100644 --- a/devel/smake/Makefile +++ b/devel/smake/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.13 2020/10/23 11:13:00 micha Exp $ +# $NetBSD: Makefile,v 1.14 2020/11/25 15:24:46 micha Exp $ -DISTNAME= schily-2020-10-09 +DISTNAME= schily-2020-11-25 PKGNAME= smake-1.3 -PKGREVISION= 14 +PKGREVISION= 15 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=schilytools/} EXTRACT_SUFX= .tar.bz2 diff --git a/devel/smake/distinfo b/devel/smake/distinfo index 274802ec958..89cdb67991a 100644 --- a/devel/smake/distinfo +++ b/devel/smake/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.12 2020/10/23 11:13:00 micha Exp $ +$NetBSD: distinfo,v 1.13 2020/11/25 15:24:46 micha Exp $ -SHA1 (schily-2020-10-09.tar.bz2) = e14d1dec1e476d40bd60ec35fa251ba45268ca8f -RMD160 (schily-2020-10-09.tar.bz2) = 81ec46da6ef341f8a8340f389e96dbde2355d5af -SHA512 (schily-2020-10-09.tar.bz2) = 3e64cb8d42749f1890e9f8e85de6571ec3f185f3c470078085494a52acb94018496d1b9a2a66b37091db55f08a7c4d4e8dc07cb40c3644aa76032bc7a2e2a74b -Size (schily-2020-10-09.tar.bz2) = 4818571 bytes +SHA1 (schily-2020-11-25.tar.bz2) = 9ca25eb2a0c3d583e5ca6ef11d1670f8a79914d5 +RMD160 (schily-2020-11-25.tar.bz2) = 61d0aa46cc485e220ae46b95a1d318e899a8638c +SHA512 (schily-2020-11-25.tar.bz2) = 6592e34eb53ef83b1b15e91ac65e5dace88ee62dba3d4b24b7e4b01b052e235b682ab87af266bceeab8a0be796e6105328975e88b12e37c541797ee9786bb01e +Size (schily-2020-11-25.tar.bz2) = 4899985 bytes |