pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/smake devel/smake: Update to 1.4



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3b352362bf5a
branches:  trunk
changeset: 451330:3b352362bf5a
user:      micha <micha%pkgsrc.org@localhost>
date:      Mon Apr 26 10:38:11 2021 +0000

description:
devel/smake: Update to 1.4

Changelog from AN-2021-04-21:
- smake: We now support the idiosyncratic way, GNU make implements ::=
  that results in unpredictable behavior with larger makefiles since ::=
  creates a different macro type that causes the += operator to behave
  different from the usual way introduced in January 1986 by SunPro Make.
  += does not expand the right hand side before appending to an existing
  make macro since it has been introduced in January 1986.

  += now expands the right hand side before appending to an existing
  ::= typed macro. Such a macro is created if the first assignment
  to that macro is done via ::=.

  Using such a make macro does not expand such macros at use time.
  This includes expansions to the left side and the right side of
  a colon (:) dependency list and expansions for rule commands.

- smake: The new operators :::= and +:= have been introduced in
  order to add an orthogonal (and thus better) counterpart to the
  GNU make ::= feature that has become part of the upcoming POSIX
  ISSUE 8.

  We will propose this as a new POSIX feature soon. In special since
  it has been implemented in smake and SunPro Make, see below.

  :::= assigns a normal make macro after expanding the right hand side

  +:=  appends to any maro type after expanding the right hand side

  This permits predictable behavior for larger or structured makefile
  systems (based on the "include" statement), where it is not possible
  to know easily whether a mace macro has been created with a
  NAME=value assignment or with a NAME:=value assignment.

  Note that the official method in make since 45 years (since make
  exists) to prohibit macro expansion is not to use a ::= type macro
  but rather to use two '$' signs in the related value of the macro.

- smake: The man page now mentions the new features

- smake: The option -j maxjobs is now supported, but ignored.

  This makes smake compatible to the upcoming POSIX ISSUE 8

- smake: added a new function ungetch().

- smake: version bumped to 1.4

diffstat:

 devel/smake/Makefile |   7 +++----
 devel/smake/distinfo |  10 +++++-----
 2 files changed, 8 insertions(+), 9 deletions(-)

diffs (30 lines):

diff -r 15ffb8b216bd -r 3b352362bf5a devel/smake/Makefile
--- a/devel/smake/Makefile      Mon Apr 26 08:20:01 2021 +0000
+++ b/devel/smake/Makefile      Mon Apr 26 10:38:11 2021 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.14 2020/11/25 15:24:46 micha Exp $
+# $NetBSD: Makefile,v 1.15 2021/04/26 10:38:11 micha Exp $
 
-DISTNAME=      schily-2020-11-25
-PKGNAME=       smake-1.3
-PKGREVISION=   15
+DISTNAME=      schily-2021-04-21
+PKGNAME=       smake-1.4
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=schilytools/}
 EXTRACT_SUFX=  .tar.bz2
diff -r 15ffb8b216bd -r 3b352362bf5a devel/smake/distinfo
--- a/devel/smake/distinfo      Mon Apr 26 08:20:01 2021 +0000
+++ b/devel/smake/distinfo      Mon Apr 26 10:38:11 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.13 2020/11/25 15:24:46 micha Exp $
+$NetBSD: distinfo,v 1.14 2021/04/26 10:38:11 micha Exp $
 
-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
+SHA1 (schily-2021-04-21.tar.bz2) = 81f87aba8f31caa9decbbe605aa40c9b631474c9
+RMD160 (schily-2021-04-21.tar.bz2) = 0f35a4a9e4e464d7bbf40758c0d6fa314f7e4381
+SHA512 (schily-2021-04-21.tar.bz2) = feb6150fbf79b9a12be58325eac328393c504635f461993b24edcfc18df53953b4c28390187c38c8eccc8cc905354b8fb2f50f5f60beb04363bb9ce32d8203e6
+Size (schily-2021-04-21.tar.bz2) = 4919718 bytes



Home | Main Index | Thread Index | Old Index