diff options
author | dholland <dholland> | 2013-11-17 16:25:09 +0000 |
---|---|---|
committer | dholland <dholland> | 2013-11-17 16:25:09 +0000 |
commit | 7fcd189a894322ae74c6c6f69626159dd1e11de1 (patch) | |
tree | 340f1532a1572a63efc111e94aa0aeb25253ed5e | |
parent | f9f6b7a9614439e0bde5a26daf26233c2cdd7c2e (diff) | |
download | pkgsrc-7fcd189a894322ae74c6c6f69626159dd1e11de1.tar.gz |
Add workaround for the looping I've been seeing building into tmpfs.
It seems to be a gmake bug; I'm looking into that.
-rw-r--r-- | audio/flite/distinfo | 3 | ||||
-rw-r--r-- | audio/flite/patches/patch-config_common__make__rules | 28 |
2 files changed, 30 insertions, 1 deletions
diff --git a/audio/flite/distinfo b/audio/flite/distinfo index 2c792d61fa7..8dc00f106b5 100644 --- a/audio/flite/distinfo +++ b/audio/flite/distinfo @@ -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-ab) = 253876a3edc65b60a5891375b2a90a4fcc01da24 SHA1 (patch-ac) = 9e533a22ed3a59cb6d99b6bbd6eacdfaa1695285 SHA1 (patch-ad) = e75da7826581a1d93d4f5efe75f257cc749358a7 SHA1 (patch-ae) = c1bd0e1baea7464d3ef0d35481714f92af3da4d8 +SHA1 (patch-config_common__make__rules) = ab6a78f2d779679f2507d8858b5e510ce47fbac4 diff --git a/audio/flite/patches/patch-config_common__make__rules b/audio/flite/patches/patch-config_common__make__rules new file mode 100644 index 00000000000..263ad984010 --- /dev/null +++ b/audio/flite/patches/patch-config_common__make__rules @@ -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) ... |