devel/smake: Update to 1.6 - smake: While expanding the right side of a macro assignment with. the operators :::= and +:=, smake no longer expands $$ to $, but rather leaves $$ untouched. This is based on a concept change from BSD make for the := operator in BSD make that was introduced in 2016 by the BSD people. It has. been recently decided by POSIX to be a mandatory behavior, as this avoids the need to know the expansion nesting level for $$ while using immediate expansion assignments. In former times this could lead to a need for $$$$$$$$$$$$$ constructs as every nesting level in an immediate expansion assignment did "expand" every $$ to $. It turns out that the change in BSD make to no longer expand $$ for immediate expand assignments was the best solution for dealing with the problems with immediate expansion assignments. This is why both smake and SunPro Make integrated a similar change. In former times, the problem with $$ expansion was no problem since he $$ usage in makefiles was extremely rare. Today, more people are using $(cmd) shell constructs in makefiles instead of `cmd` and as a result, $$ usage has become more frequent in makefiles because of the need to use $$(cmd) in make rule commands in such a case. - smake: The dynamic macros $? and $^ now work for implicit rules as well. For $?, this is required by POSIX and was required by POSIX for a longe time, but in former times, the same but wrong requirement did exist for $* and $< as well. It therefore was unclear whether the requirement for $? in the POSIX standard was a similar mistake. In March 2021 we agreed on a POSIX teleconference call that $? should be expanded for implicit rules as well. It had been forgotten to implement that change to smake in time. This has now be catched up. - smake: is now version 1.6diff -r1.17 -r1.18 pkgsrc/devel/smake/Makefile
(micha)
@@ -1,18 +1,17 @@ | @@ -1,18 +1,17 @@ | |||
1 | # $NetBSD: Makefile,v 1.17 2021/08/06 09:50:48 micha Exp $ | 1 | # $NetBSD: Makefile,v 1.18 2021/08/30 12:47:00 micha Exp $ | |
2 | 2 | |||
3 | DISTNAME= schily-2021-07-29 | 3 | DISTNAME= schily-2021-08-14 | |
4 | PKGNAME= smake-1.5 | 4 | PKGNAME= smake-1.6 | |
5 | PKGREVISION= 1 | |||
6 | CATEGORIES= devel | 5 | CATEGORIES= devel | |
7 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=schilytools/} | 6 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=schilytools/} | |
8 | EXTRACT_SUFX= .tar.bz2 | 7 | EXTRACT_SUFX= .tar.bz2 | |
9 | 8 | |||
10 | MAINTAINER= micha@NetBSD.org | 9 | MAINTAINER= micha@NetBSD.org | |
11 | HOMEPAGE= https://sourceforge.net/projects/schilytools/ | 10 | HOMEPAGE= https://sourceforge.net/projects/schilytools/ | |
12 | COMMENT= Highly portable UNIX make implementation | 11 | COMMENT= Highly portable UNIX make implementation | |
13 | LICENSE= cddl-1.0 | 12 | LICENSE= cddl-1.0 | |
14 | 13 | |||
15 | MAKE_JOBS_SAFE= no | 14 | MAKE_JOBS_SAFE= no | |
16 | MAKE_FLAGS+= GMAKE_NOWARN=true | 15 | MAKE_FLAGS+= GMAKE_NOWARN=true | |
17 | 16 | |||
18 | USE_TOOLS+= gmake | 17 | USE_TOOLS+= gmake |
@@ -1,6 +1,6 @@ | @@ -1,6 +1,6 @@ | |||
1 | $NetBSD: distinfo,v 1.16 2021/08/06 09:50:48 micha Exp $ | 1 | $NetBSD: distinfo,v 1.17 2021/08/30 12:47:00 micha Exp $ | |
2 | 2 | |||
3 | SHA1 (schily-2021-07-29.tar.bz2) = 6de3773faf2aa0418ac761c011736ea05c4a66a8 | 3 | SHA1 (schily-2021-08-14.tar.bz2) = 07ca32bfbdac2be868d43729a7a358161f97fd30 | |
4 | RMD160 (schily-2021-07-29.tar.bz2) = cde4b154b66cbb590faa32aae3448c62979e6c18 | 4 | RMD160 (schily-2021-08-14.tar.bz2) = 543946479074743aa81b9d8f8ebbbec235c48002 | |
5 | SHA512 (schily-2021-07-29.tar.bz2) = 095740bf1190440d386145653763d74ad93abf996e6a1e56279b5441990898515356eda0f7b5d07386d2aac1ba1adf0e9dac423ce49ced4fdc13914857b6afc1 | 5 | SHA512 (schily-2021-08-14.tar.bz2) = 48c015041edf4dd28ce82481cf6cb405ba44de0d695ff5b718d2d1a0c38ad7fee49a023064e123e9dfaa0a04fc4c8a0ba405b41ae16f0946436b7d7debf436a5 | |
6 | Size (schily-2021-07-29.tar.bz2) = 4927143 bytes | 6 | Size (schily-2021-08-14.tar.bz2) = 4942864 bytes |