pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/gmake Update to 3.81:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9979d68a5679
branches:  trunk
changeset: 510713:9979d68a5679
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Apr 02 20:10:51 2006 +0000

description:
Update to 3.81:

Version 3.81

* GNU make is ported to OS/2.

* GNU make is ported to MinGW.  The MinGW build is only supported by
  the build_w32.bat batch file; see the file README.W32 for more
  details.

* WARNING: Future backward-incompatibility!
  Up to and including this release, the '$?' variable does not contain
  any prerequisite that does not exist, even though that prerequisite
  might have caused the target to rebuild.  Starting with the _next_
  release of GNU make, '$?' will contain all prerequisites that caused
  the target to be considered out of date.  See this Savannah bug:
  http://savannah.gnu.org/bugs/index.php?func=detailitem&item_id=16051

* WARNING: Backward-incompatibility!
  GNU make now implements a generic "second expansion" feature on the
  prerequisites of both explicit and implicit (pattern) rules.  In order
  to enable this feature, the special target '.SECONDEXPANSION' must be
  defined before the first target which takes advantage of it.  If this
  feature is enabled then after all rules have been parsed the
  prerequisites are expanded again, this time with all the automatic
  variables in scope.  This means that in addition to using standard
  SysV $$@ in prerequisites lists, you can also use complex functions
  such as $$(notdir $$@) etc.  This behavior applies to implicit rules,
  as well, where the second expansion occurs when the rule is matched.
  However, this means that when '.SECONDEXPANSION' is enabled you must
  double-quote any "$" in your filenames; instead of "foo: boo$$bar" you
  now must write "foo: foo$$$$bar".  Note that the SysV $$@ etc. feature,
  which used to be available by default, is now ONLY available when the
  .SECONDEXPANSION target is defined.  If your makefiles take advantage
  of this SysV feature you will need to update them.

* WARNING: Backward-incompatibility!
  In order to comply with POSIX, the way in which GNU make processes
  backslash-newline sequences in command strings has changed.  If your
  makefiles use backslash-newline sequences inside of single-quoted
  strings in command scripts you will be impacted by this change.  See
  the GNU make manual subsection "Splitting Command Lines" (node
  "Splitting Lines"), in section "Command Syntax", chapter "Writing the
  Commands in Rules", for details.

* WARNING: Backward-incompatibility!
  Some previous versions of GNU make had a bug where "#" in a function
  invocation such as $(shell ...) was treated as a make comment.  A
  workaround was to escape these with backslashes.  This bug has been
  fixed: if your makefile uses "\#" in a function invocation the
  backslash is now preserved, so you'll need to remove it.

* New command-line option: -L (--check-symlink-times).  On systems that
  support symbolic links, if this option is given then GNU make will
  use the most recent modification time of any symbolic links that are
  used to resolve target files.  The default behavior remains as it
  always has: use the modification time of the actual target file only.

* The "else" conditional line can now be followed by any other valid
  conditional on the same line: this does not increase the depth of the
  conditional nesting, so only one "endif" is required to close the
  conditional.

* All pattern-specific variables that match a given target are now used
  (previously only the first match was used).

* Target-specific variables can be marked as exportable using the
  "export" keyword.

* In a recursive $(call ...) context, any extra arguments from the outer
  call are now masked in the context of the inner call.

* Implemented a solution for the "thundering herd" problem with "-j -l".
  This version of GNU make uses an algorithm suggested by Thomas Riedl
  <thomas.riedl%siemens.com@localhost> to track the number of jobs started in the
  last second and artificially adjust GNU make's view of the system's
  load average accordingly.

* New special variables available in this release:
   - .INCLUDE_DIRS: Expands to a list of directories that make searches
     for included makefiles.
   - .FEATURES: Contains a list of special features available in this
     version of GNU make.
   - .DEFAULT_GOAL: Set the name of the default goal make will
     use if no goals are provided on the command line.
   - MAKE_RESTARTS: If set, then this is the number of times this
     instance of make has been restarted (see "How Makefiles Are Remade"
     in the manual).
   - New automatic variable: $| (added in 3.80, actually): contains all
     the order-only prerequisites defined for the target.

* New functions available in this release:
   - $(lastword ...) returns the last word in the list.  This gives
     identical results as $(word $(words ...) ...), but is much faster.
   - $(abspath ...) returns the absolute path (all "." and ".."
     directories resolved, and any duplicate "/" characters removed) for
     each path provided.
   - $(realpath ...) returns the canonical pathname for each path
     provided.  The canonical pathname is the absolute pathname, with
     all symbolic links resolved as well.
   - $(info ...) prints its arguments to stdout.  No makefile name or
     line number info, etc. is printed.
   - $(flavor ...) returns the flavor of a variable.
   - $(or ...) provides a short-circuiting OR conditional: each argument
     is expanded.  The first true (non-empty) argument is returned; no
     further arguments are expanded.  Expands to empty if there are no
     true arguments.
   - $(and ...) provides a short-circuiting AND conditional: each
     argument is expanded.  The first false (empty) argument is
     returned; no further arguments are expanded.  Expands to the last
     argument if all arguments are true.

* Changes made for POSIX compatibility:
   - Only touch targets (under -t) if they have at least one command.
   - Setting the SHELL make variable does NOT change the value of the
     SHELL environment variable given to programs invoked by make.  As
     an enhancement to POSIX, if you export the make variable SHELL then
     it will be set in the environment, just as before.

* On MS Windows systems, explicitly setting SHELL to a pathname ending
  in "cmd" or "cmd.exe" (case-insensitive) will force GNU make to use
  the DOS command interpreter in batch mode even if a UNIX-like shell
  could be found on the system.

* On VMS there is now support for case-sensitive filesystems such as ODS5.
  See the readme.vms file for information.

* Parallel builds (-jN) no longer require a working Bourne shell on
  Windows platforms.  They work even with the stock Windows shells, such
  as cmd.exe and command.com.

* Updated to autoconf 2.59, automake 1.9.5, and gettext 0.14.1.  Users
  should not be impacted.

* New translations for Swedish, Chinese (simplified), Ukrainian,
  Belarusian, Finnish, Kinyarwandan, and Irish.  Many updated
  translations.

A complete list of bugs fixed in this version is available here:

  http://savannah.gnu.org/bugs/index.php?group=make&report_id=111&fix_release_id=103

diffstat:

 devel/gmake/Makefile         |   9 ++++-----
 devel/gmake/PLIST.locale     |   9 ++++++++-
 devel/gmake/distinfo         |  17 +++++++----------
 devel/gmake/patches/patch-aa |   6 +++---
 devel/gmake/patches/patch-ac |   6 +++---
 devel/gmake/patches/patch-ad |  22 ----------------------
 devel/gmake/patches/patch-ae |  18 ------------------
 devel/gmake/patches/patch-af |  11 ++++++-----
 devel/gmake/patches/patch-ag |  13 -------------
 9 files changed, 31 insertions(+), 80 deletions(-)

diffs (194 lines):

diff -r 712629eeb7f2 -r 9979d68a5679 devel/gmake/Makefile
--- a/devel/gmake/Makefile      Sun Apr 02 20:00:22 2006 +0000
+++ b/devel/gmake/Makefile      Sun Apr 02 20:10:51 2006 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.65 2006/03/30 03:44:43 jlam Exp $
+# $NetBSD: Makefile,v 1.66 2006/04/02 20:10:51 wiz Exp $
 
-DISTNAME=      make-3.80
-PKGNAME=       gmake-3.80
-PKGREVISION=   5
+DISTNAME=      make-3.81
+PKGNAME=       g${DISTNAME}
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GNU:=make/}
 
@@ -13,7 +12,7 @@
 PKG_INSTALLATION_TYPES=        overwrite pkgviews
 
 GNU_CONFIGURE=         yes
-TEXINFO_REQD=          4.0
+TEXINFO_REQD+=         4.0
 INFO_FILES=            # PLIST
 
 # NOTE:  the 'test' target requires perl, but since gmake does
diff -r 712629eeb7f2 -r 9979d68a5679 devel/gmake/PLIST.locale
--- a/devel/gmake/PLIST.locale  Sun Apr 02 20:00:22 2006 +0000
+++ b/devel/gmake/PLIST.locale  Sun Apr 02 20:10:51 2006 +0000
@@ -1,17 +1,24 @@
-@comment $NetBSD: PLIST.locale,v 1.1 2004/03/25 23:31:22 jlam Exp $
+@comment $NetBSD: PLIST.locale,v 1.2 2006/04/02 20:10:51 wiz Exp $
+${PKGLOCALEDIR}/locale/be/LC_MESSAGES/make.mo
 ${PKGLOCALEDIR}/locale/da/LC_MESSAGES/make.mo
 ${PKGLOCALEDIR}/locale/de/LC_MESSAGES/make.mo
 ${PKGLOCALEDIR}/locale/es/LC_MESSAGES/make.mo
+${PKGLOCALEDIR}/locale/fi/LC_MESSAGES/make.mo
 ${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/make.mo
+${PKGLOCALEDIR}/locale/ga/LC_MESSAGES/make.mo
 ${PKGLOCALEDIR}/locale/gl/LC_MESSAGES/make.mo
 ${PKGLOCALEDIR}/locale/he/LC_MESSAGES/make.mo
 ${PKGLOCALEDIR}/locale/hr/LC_MESSAGES/make.mo
+${PKGLOCALEDIR}/locale/id/LC_MESSAGES/make.mo
 ${PKGLOCALEDIR}/locale/ja/LC_MESSAGES/make.mo
 ${PKGLOCALEDIR}/locale/ko/LC_MESSAGES/make.mo
 ${PKGLOCALEDIR}/locale/nl/LC_MESSAGES/make.mo
 ${PKGLOCALEDIR}/locale/pl/LC_MESSAGES/make.mo
 ${PKGLOCALEDIR}/locale/pt_BR/LC_MESSAGES/make.mo
 ${PKGLOCALEDIR}/locale/ru/LC_MESSAGES/make.mo
+${PKGLOCALEDIR}/locale/rw/LC_MESSAGES/make.mo
 ${PKGLOCALEDIR}/locale/sv/LC_MESSAGES/make.mo
 ${PKGLOCALEDIR}/locale/tr/LC_MESSAGES/make.mo
+${PKGLOCALEDIR}/locale/uk/LC_MESSAGES/make.mo
+${PKGLOCALEDIR}/locale/vi/LC_MESSAGES/make.mo
 ${PKGLOCALEDIR}/locale/zh_CN/LC_MESSAGES/make.mo
diff -r 712629eeb7f2 -r 9979d68a5679 devel/gmake/distinfo
--- a/devel/gmake/distinfo      Sun Apr 02 20:00:22 2006 +0000
+++ b/devel/gmake/distinfo      Sun Apr 02 20:10:51 2006 +0000
@@ -1,11 +1,8 @@
-$NetBSD: distinfo,v 1.14 2006/03/16 18:36:44 jlam Exp $
+$NetBSD: distinfo,v 1.15 2006/04/02 20:10:51 wiz Exp $
 
-SHA1 (make-3.80.tar.gz) = 12cd7822d9cd7c1f12cc50df87366ec61915a277
-RMD160 (make-3.80.tar.gz) = c89488af208e5871d199857600f16e156de03cd7
-Size (make-3.80.tar.gz) = 1211924 bytes
-SHA1 (patch-aa) = 43de674c2c3eca8f5119165c95fc1ff5a3b91b06
-SHA1 (patch-ac) = 6362dee903d013d4f1d0c3e81bd15107fe796a5b
-SHA1 (patch-ad) = 7874662cb9345c4107fcc2aab7184ccd4c93090d
-SHA1 (patch-ae) = 7baeabf65a5ceee682134edf90654c53bfb9ee11
-SHA1 (patch-af) = 40b0298a2b9d62ea127e07fcb317c1e38d86a35b
-SHA1 (patch-ag) = 8aa14e44c82c8ac21085ad3c5e82b84b4447012e
+SHA1 (make-3.81.tar.gz) = cd4fa5a3184176492bf0799593a8f250a728210c
+RMD160 (make-3.81.tar.gz) = a713a72875cb9a29568677c98022465c6f55cbbf
+Size (make-3.81.tar.gz) = 1564560 bytes
+SHA1 (patch-aa) = ba88ee2175c7c2258fc647b3654b2f725cf75a50
+SHA1 (patch-ac) = de18956fde66fa3fc61a991bb3e6724d9c5b1eac
+SHA1 (patch-af) = 067cac366694ce33e5bc52ef937603ae17d3bc2e
diff -r 712629eeb7f2 -r 9979d68a5679 devel/gmake/patches/patch-aa
--- a/devel/gmake/patches/patch-aa      Sun Apr 02 20:00:22 2006 +0000
+++ b/devel/gmake/patches/patch-aa      Sun Apr 02 20:10:51 2006 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.9 2003/02/21 12:40:54 grant Exp $
+$NetBSD: patch-aa,v 1.10 2006/04/02 20:10:51 wiz Exp $
 
---- make.h.orig        Thu Sep 12 02:55:44 2002
+--- make.h.orig        2006-02-15 23:54:43.000000000 +0000
 +++ make.h
-@@ -33,7 +33,7 @@ Boston, MA 02111-1307, USA.  */
+@@ -31,7 +31,7 @@ Foundation, Inc., 51 Franklin St, Fifth 
  #  ifdef _AIX
   #pragma alloca
  #  else
diff -r 712629eeb7f2 -r 9979d68a5679 devel/gmake/patches/patch-ac
--- a/devel/gmake/patches/patch-ac      Sun Apr 02 20:00:22 2006 +0000
+++ b/devel/gmake/patches/patch-ac      Sun Apr 02 20:10:51 2006 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-ac,v 1.4 2003/02/21 12:40:55 grant Exp $
+$NetBSD: patch-ac,v 1.5 2006/04/02 20:10:51 wiz Exp $
 
---- glob/glob.c.orig   Sat Jan 22 16:43:03 2000
+--- glob/glob.c.orig   2006-03-10 02:20:45.000000000 +0000
 +++ glob/glob.c
-@@ -215,13 +215,13 @@ my_realloc (p, n)
+@@ -216,13 +216,13 @@ my_realloc (p, n)
  #  ifdef HAVE_ALLOCA_H
  #   include <alloca.h>
  #  else       /* Not HAVE_ALLOCA_H.  */
diff -r 712629eeb7f2 -r 9979d68a5679 devel/gmake/patches/patch-ad
--- a/devel/gmake/patches/patch-ad      Sun Apr 02 20:00:22 2006 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-$NetBSD: patch-ad,v 1.4 2003/02/21 12:40:55 grant Exp $
-
---- glob/glob.h.orig   Sat Jan 22 16:43:03 2000
-+++ glob/glob.h
-@@ -47,6 +47,9 @@ extern "C" {
- 
- /* We need `size_t' for the following definitions.  */
- #ifndef __size_t
-+#if defined __FreeBSD__
-+#define __size_t size_t
-+#else
- # if defined __GNUC__ && __GNUC__ >= 2
- typedef __SIZE_TYPE__ __size_t;
- # else
-@@ -59,6 +62,7 @@ typedef __SIZE_TYPE__ __size_t;
-  */
- #if !(defined __DECC && defined __SIZE_T)
- typedef unsigned long int __size_t;
-+#endif
- #endif
- # endif
- #else
diff -r 712629eeb7f2 -r 9979d68a5679 devel/gmake/patches/patch-ae
--- a/devel/gmake/patches/patch-ae      Sun Apr 02 20:00:22 2006 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-$NetBSD: patch-ae,v 1.4 2002/10/16 00:21:22 dmcmahill Exp $
-
---- getopt.c.orig      Tue Jan 25 02:42:51 2000
-+++ getopt.c
-@@ -79,9 +79,13 @@
- # endif
- #endif
- 
-+#ifdef HAVE_GETTEXT
-+#include <libintl.h>
-+#else
- /* This is for other GNU distributions with internationalized messages.
-    When compiling libc, the _ macro is predefined.  */
- #include "gettext.h"
-+#endif
- #define _(msgid)    gettext (msgid)
- 
- 
diff -r 712629eeb7f2 -r 9979d68a5679 devel/gmake/patches/patch-af
--- a/devel/gmake/patches/patch-af      Sun Apr 02 20:00:22 2006 +0000
+++ b/devel/gmake/patches/patch-af      Sun Apr 02 20:10:51 2006 +0000
@@ -1,9 +1,10 @@
-$NetBSD: patch-af,v 1.1 2003/07/10 22:40:33 seb Exp $
+$NetBSD: patch-af,v 1.2 2006/04/02 20:10:51 wiz Exp $
 
---- doc/make.info.orig 2003-07-10 21:57:52.000000000 +0000
+--- doc/make.info.orig 2006-04-01 06:41:04.000000000 +0000
 +++ doc/make.info
-@@ -1,8 +1,8 @@
- This is make.info, produced by makeinfo version 4.2 from make.texi.
+@@ -23,9 +23,9 @@ Foundation, Inc.
+      modify this GNU Manual, like GNU software.  Copies published by
+      the Free Software Foundation raise funds for GNU development."
  
 -INFO-DIR-SECTION GNU Packages
 +INFO-DIR-SECTION Programming & development tools
@@ -12,4 +13,4 @@
 +* GNU make: (make).            Remake files automatically.
  END-INFO-DIR-ENTRY
  
-    This file documents the GNU Make utility, which determines
+ 
diff -r 712629eeb7f2 -r 9979d68a5679 devel/gmake/patches/patch-ag
--- a/devel/gmake/patches/patch-ag      Sun Apr 02 20:00:22 2006 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-ag,v 1.1 2006/02/07 18:31:57 jlam Exp $
-
---- Makefile.in.orig   2002-10-03 22:56:12.000000000 -0400
-+++ Makefile.in
-@@ -209,7 +209,7 @@ inst_group = @KMEM_GROUP@
- noinst_PROGRAMS = loadavg
- loadavg_SOURCES = loadavg.c
- loadavg_CFLAGS = -DTEST
--loadavg_LDADD = @GETLOADAVG_LIBS@
-+loadavg_LDADD = @GETLOADAVG_LIBS@ @LIBINTL@
- 
- # > check-regression
- #



Home | Main Index | Thread Index | Old Index