pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/flite Add workaround for the looping I've been s...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1be85f7b8134
branches:  trunk
changeset: 626616:1be85f7b8134
user:      dholland <dholland%pkgsrc.org@localhost>
date:      Sun Nov 17 16:25:09 2013 +0000

description:
Add workaround for the looping I've been seeing building into tmpfs.
It seems to be a gmake bug; I'm looking into that.

diffstat:

 audio/flite/distinfo                                 |   3 +-
 audio/flite/patches/patch-config_common__make__rules |  28 ++++++++++++++++++++
 2 files changed, 30 insertions(+), 1 deletions(-)

diffs (46 lines):

diff -r db30c99bd710 -r 1be85f7b8134 audio/flite/distinfo
--- a/audio/flite/distinfo      Sun Nov 17 15:34:47 2013 +0000
+++ b/audio/flite/distinfo      Sun Nov 17 16:25:09 2013 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.6 2009/07/07 14:18:10 joerg Exp $
+$NetBSD: distinfo,v 1.7 2013/11/17 16:25:09 dholland Exp $
 
 SHA1 (flite-1.3-release.tar.gz) = 233144a772de72741ae1aa2292f672c30224afb3
 RMD160 (flite-1.3-release.tar.gz) = a908acfd196754783ee4665ac84ea860d54bcf80
@@ -8,3 +8,4 @@
 SHA1 (patch-ac) = 9e533a22ed3a59cb6d99b6bbd6eacdfaa1695285
 SHA1 (patch-ad) = e75da7826581a1d93d4f5efe75f257cc749358a7
 SHA1 (patch-ae) = c1bd0e1baea7464d3ef0d35481714f92af3da4d8
+SHA1 (patch-config_common__make__rules) = ab6a78f2d779679f2507d8858b5e510ce47fbac4
diff -r db30c99bd710 -r 1be85f7b8134 audio/flite/patches/patch-config_common__make__rules
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/flite/patches/patch-config_common__make__rules      Sun Nov 17 16:25:09 2013 +0000
@@ -0,0 +1,28 @@
+$NetBSD: patch-config_common__make__rules,v 1.1 2013/11/17 16:25:09 dholland Exp $
+
+Work around what appears to be a bug in gmake 4.0 that causes the
+build to loop infinitely making depend if building to tmpfs.
+
+The first echo makes it print something so you can tell what's looping
+(otherwise it just sits there silently); the "false" is the
+workaround. For some reason this recipe needs to fail to prevent the
+loop.
+
+--- config/common_make_rules.orig      2004-12-19 22:20:43.000000000 +0000
++++ config/common_make_rules
+@@ -190,12 +190,15 @@ endif
+ 
+ $(DEPEND): $(SRCS) $(OBJDIR)
+       @ rm -f $(DEPEND)
++      @ echo Doing implicit make depend.
+       @ for i in $(SRCS) ; \
+         do \
+             echo "# $$i" ; \
+           $(MAKE_DEPEND) $$i | sed -e 's,^\([^:][^:]*\):,$(OBJDIR)/\1:,'; \
+           echo ; \
+           done > $(DEPEND)
++      @ echo The following is intentional.
++      false
+ 
+ file-list:
+       @ echo making file-list in $(DIRNAME) ...



Home | Main Index | Thread Index | Old Index