summaryrefslogtreecommitdiff
path: root/devel/gmake/patches
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2002-10-16 00:21:21 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2002-10-16 00:21:21 +0000
commit4014b34cc5c073f834c2ba9511545f8ff1072293 (patch)
treea7ed06c50106046e5429ed4007fc3320fd0d8a58 /devel/gmake/patches
parent11fa0f8fe9280be72f698622eb0243e4649b057d (diff)
downloadpkgsrc-4014b34cc5c073f834c2ba9511545f8ff1072293.tar.gz
update to gmake-3.80
Changes since 3.79.1 are: Version 3.80 * A new feature exists: order-only prerequisites. These prerequisites affect the order in which targets are built, but they do not impact the rebuild/no-rebuild decision of their dependents. That is to say, they allow you to require target B be built before target A, without requiring that target A will always be rebuilt if target B is updated. Patch for this feature provided by Greg McGary <greg@mcgary.org>. * For compatibility with SysV make, GNU make now supports the peculiar syntax $$@, $$(@D), and $$(@F) in the prerequisites list of a rule. This syntax is only valid within explicit and static pattern rules: it cannot be used in implicit (suffix or pattern) rules. Edouard G. Parmelan <egp@free.fr> provided a patch implementing this feature; however, I decided to implement it in a different way. * The argument to the "ifdef" conditional is now expanded before it's tested, so it can be a constructed variable name. Similarly, the arguments to "export" (when not used in a variable definition context) and "unexport" are also now expanded. * A new function is defined: $(value ...). The argument to this function is the _name_ of a variable. The result of the function is the value of the variable, without having been expanded. * A new function is defined: $(eval ...). The arguments to this function should expand to makefile commands, which will then be evaluated as if they had appeared in the makefile. In combination with define/endef multiline variable definitions this is an extremely powerful capability. The $(value ...) function is also sometimes useful here. * A new built-in variable is defined, $(MAKEFILE_LIST). It contains a list of each makefile GNU make has read, or started to read, in the order in which they were encountered. So, the last filename in the list when a makefile is just being read (before any includes) is the name of the current makefile. * A new built-in variable is defined: $(.VARIABLES). When it is expanded it returns a complete list of variable names defined by all makefiles at that moment. * A new command-line option is defined, -B or --always-make. If specified GNU make will consider all targets out-of-date even if they would otherwise not be. * The arguments to $(call ...) functions were being stored in $1, $2, etc. as recursive variables, even though they are fully expanded before assignment. This means that escaped dollar signs ($$ etc.) were not behaving properly. Now the arguments are stored as simple variables. This may mean that if you added extra escaping to your $(call ...) function arguments you will need to undo it now. * The variable invoked by $(call ...) can now be recursive: unlike other variables it can reference itself and this will not produce an error when it is used as the first argument to $(call ...) (but only then). * New pseudo-target .LOW_RESOLUTION_TIME, superseding the configure option --disable-nsec-timestamps. You might need this if your build process depends on tools like "cp -p" preserving time stamps, since "cp -p" (right now) doesn't preserve the subsecond portion of a time stamp. * Updated translations for French, Galician, German, Japanese, Korean, and Russian. New translations for Croatian, Danish, Hebrew, and Turkish. * Updated internationalization support to Gettext 0.11.5. GNU make now uses Gettext's "external" feature, and does not include any internationalization code itself. Configure will search your system for an existing implementation of GNU Gettext (only GNU Gettext is acceptable) and use it if it exists. If not, NLS will be disabled. See ABOUT-NLS for more information. * Updated to autoconf 2.54 and automake 1.7. Users should not be impacted.
Diffstat (limited to 'devel/gmake/patches')
-rw-r--r--devel/gmake/patches/patch-aa41
-rw-r--r--devel/gmake/patches/patch-ab20
-rw-r--r--devel/gmake/patches/patch-ac25
-rw-r--r--devel/gmake/patches/patch-ad28
-rw-r--r--devel/gmake/patches/patch-ae37
5 files changed, 46 insertions, 105 deletions
diff --git a/devel/gmake/patches/patch-aa b/devel/gmake/patches/patch-aa
deleted file mode 100644
index 1814c79cc03..00000000000
--- a/devel/gmake/patches/patch-aa
+++ /dev/null
@@ -1,41 +0,0 @@
-$NetBSD: patch-aa,v 1.7 2001/03/13 20:15:47 wiz Exp $
-
---- configure.orig Fri Jun 23 18:09:54 2000
-+++ configure
-@@ -2528,7 +2528,7 @@
- # Check whether --with-included-gettext or --without-included-gettext was given.
- if test "${with_included_gettext+set}" = set; then
- withval="$with_included_gettext"
-- with_included_gettext=yes
-+ with_included_gettext=$withval
- else
- with_included_gettext=maybe
- fi
-@@ -2669,12 +2669,8 @@
-
- int main() {
-
--#if __USE_GNU_GETTEXT
- extern int _nl_msg_cat_cntr;
- return _nl_msg_cat_cntr;
--#else
--not GNU gettext
--#endif
-
- ; return 0; }
- EOF
-@@ -2851,12 +2847,12 @@
-
- if test "x$prefix" = xNONE; then
- cat >> confdefs.h <<EOF
--#define LOCALEDIR "$ac_default_prefix/share/locale"
-+#define LOCALEDIR "$ac_default_prefix/${PKGLOCALEDIR}/locale"
- EOF
-
- else
- cat >> confdefs.h <<EOF
--#define LOCALEDIR "$prefix/share/locale"
-+#define LOCALEDIR "$prefix/${PKGLOCALEDIR}/locale"
- EOF
-
- fi
diff --git a/devel/gmake/patches/patch-ab b/devel/gmake/patches/patch-ab
index 7bc8f4e8a47..aee9f8fe995 100644
--- a/devel/gmake/patches/patch-ab
+++ b/devel/gmake/patches/patch-ab
@@ -1,13 +1,13 @@
-$NetBSD: patch-ab,v 1.5 2001/02/27 08:48:38 tron Exp $
+$NetBSD: patch-ab,v 1.6 2002/10/16 00:21:22 dmcmahill Exp $
---- i18n/Makefile.in.orig Fri Jun 23 18:35:27 2000
-+++ i18n/Makefile.in Tue Feb 27 09:38:18 2001
-@@ -81,7 +81,7 @@
-
- AUTOMAKE_OPTIONS = gnits
-
--localedir = $(prefix)/share/locale
+--- po/Makefile.in.in.orig Thu Oct 3 14:18:35 2002
++++ po/Makefile.in.in
+@@ -21,7 +21,7 @@ VPATH = @srcdir@
+ prefix = @prefix@
+ exec_prefix = @exec_prefix@
+ datadir = @datadir@
+-localedir = $(datadir)/locale
+localedir = $(prefix)/$(PKGLOCALEDIR)/locale
+ gettextsrcdir = $(datadir)/gettext/po
- ALL_POFILES = @ALL_POFILES@
- ALL_MOFILES = @ALL_MOFILES@
+ INSTALL = @INSTALL@
diff --git a/devel/gmake/patches/patch-ac b/devel/gmake/patches/patch-ac
index 0f992104937..680e7137d96 100644
--- a/devel/gmake/patches/patch-ac
+++ b/devel/gmake/patches/patch-ac
@@ -1,22 +1,13 @@
-$NetBSD: patch-ac,v 1.1 2001/02/27 08:48:39 tron Exp $
+$NetBSD: patch-ac,v 1.2 2002/10/16 00:21:22 dmcmahill Exp $
---- Makefile.in.orig Fri Jun 23 18:35:23 2000
-+++ Makefile.in Tue Feb 27 09:40:18 2001
-@@ -101,7 +101,7 @@
- man_MANS = make.1
- info_TEXINFOS = make.texinfo
+--- Makefile.am.orig Thu Oct 3 22:29:18 2002
++++ Makefile.am
+@@ -27,7 +27,7 @@ make_LDADD = @LIBOBJS@ @ALLOCA@ $(GLOBLI
--DEFS = -DALIASPATH=\"$(aliaspath)\" -DLOCALEDIR=\"$(localedir)\" -DLIBDIR=\"$(libdir)\" -DINCLUDEDIR=\"$(includedir)\" @DEFS@
-+DEFS = -DALIASPATH=\"$(aliaspath)\" -DLIBDIR=\"$(libdir)\" -DINCLUDEDIR=\"$(includedir)\" @DEFS@
+ man_MANS = make.1
- INCLUDES = -I. -I$(srcdir) $(GLOBINC)
+-DEFS = -DLOCALEDIR=\"$(localedir)\" -DLIBDIR=\"$(libdir)\" -DINCLUDEDIR=\"$(includedir)\" @DEFS@
++DEFS = -DLOCALEDIR=\"$(prefix)/$(PKGLOCALEDIR)/locale\" -DLIBDIR=\"$(libdir)\" -DINCLUDEDIR=\"$(includedir)\" @DEFS@
-@@ -117,7 +117,7 @@
+ AM_CPPFLAGS = $(GLOBINC)
- POTFILES = $(SRCS) remote-cstms.c vmsfunctions.c
-
--localedir = $(prefix)/share/locale
-+localedir = $(prefix)/$(PKGLOCALEDIR)/locale
- aliaspath = $(localedir):.
-
- # --------------- Local INSTALL Section
diff --git a/devel/gmake/patches/patch-ad b/devel/gmake/patches/patch-ad
index 9f10177fbb3..3ffd0c35d15 100644
--- a/devel/gmake/patches/patch-ad
+++ b/devel/gmake/patches/patch-ad
@@ -1,19 +1,13 @@
-$NetBSD: patch-ad,v 1.1 2001/03/19 14:57:33 wiz Exp $
+$NetBSD: patch-ad,v 1.2 2002/10/16 00:21:22 dmcmahill Exp $
---- getopt.c.orig Tue Jan 25 08: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"
-+# include "gettext.h"
-+#endif
- #define _(msgid) gettext (msgid)
-
+--- Makefile.in.orig Thu Oct 3 22:56:12 2002
++++ Makefile.in
+@@ -55,7 +55,7 @@ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
+ CYGPATH_W = @CYGPATH_W@
+-DEFS = -DLOCALEDIR=\"$(localedir)\" -DLIBDIR=\"$(libdir)\" -DINCLUDEDIR=\"$(includedir)\" @DEFS@
++DEFS = -DLOCALEDIR=\"$(prefix)/$(PKGLOCALEDIR)/locale\" -DLIBDIR=\"$(libdir)\" -DINCLUDEDIR=\"$(includedir)\" @DEFS@
+ DEPDIR = @DEPDIR@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
diff --git a/devel/gmake/patches/patch-ae b/devel/gmake/patches/patch-ae
index c9fd8588c32..29632981f93 100644
--- a/devel/gmake/patches/patch-ae
+++ b/devel/gmake/patches/patch-ae
@@ -1,21 +1,18 @@
-$NetBSD: patch-ae,v 1.3 2002/08/25 21:49:41 jlam Exp $
+$NetBSD: patch-ae,v 1.4 2002/10/16 00:21:22 dmcmahill Exp $
---- config.sub.orig Fri Jun 23 09:30:45 2000
-+++ config.sub Wed Jun 5 19:09:07 2002
-@@ -213,7 +213,7 @@
- | alphaev6[78] \
- | we32k | ns16k | clipper | i370 | sh | sh[34] \
- | powerpc | powerpcle \
-- | 1750a | dsp16xx | pdp11 | mips16 | mips64 | mipsel | mips64el \
-+ | 1750a | dsp16xx | pdp11 | mips16 | mips64 | mipsel | mipseb | mips64el \
- | mips64orion | mips64orionel | mipstx39 | mipstx39el \
- | mips64vr4300 | mips64vr4300el | mips64vr4100 | mips64vr4100el \
- | mips64vr5000 | miprs64vr5000el | mcore \
-@@ -251,6 +251,7 @@
- | clipper-* | orion-* \
- | sparclite-* | pdp11-* | sh-* | powerpc-* | powerpcle-* \
- | sparc64-* | sparcv9-* | sparc86x-* | mips16-* | mips64-* | mipsel-* \
-+ | mipseb-* \
- | mips64el-* | mips64orion-* | mips64orionel-* \
- | mips64vr4100-* | mips64vr4100el-* | mips64vr4300-* | mips64vr4300el-* \
- | mipstx39-* | mipstx39el-* | mcore-* \
+--- 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)
+
+