summaryrefslogtreecommitdiff
path: root/audio/flite/patches/patch-config_common__make__rules
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2019-09-07 11:42:49 +0000
committernia <nia@pkgsrc.org>2019-09-07 11:42:49 +0000
commite96ab838a81e31553326ebd2c39b783594417426 (patch)
tree460a8100f6d9e6d64468ce12fd95503a08547ae1 /audio/flite/patches/patch-config_common__make__rules
parent66c578713f3882678c78f8f56f1cb757849b6e92 (diff)
downloadpkgsrc-e96ab838a81e31553326ebd2c39b783594417426.tar.gz
flite: Update to 2.1
* Indic language support * Patch CVE-2014-0027 locally
Diffstat (limited to 'audio/flite/patches/patch-config_common__make__rules')
-rw-r--r--audio/flite/patches/patch-config_common__make__rules23
1 files changed, 20 insertions, 3 deletions
diff --git a/audio/flite/patches/patch-config_common__make__rules b/audio/flite/patches/patch-config_common__make__rules
index 1ce3458f355..0270a2845b8 100644
--- a/audio/flite/patches/patch-config_common__make__rules
+++ b/audio/flite/patches/patch-config_common__make__rules
@@ -1,4 +1,11 @@
-$NetBSD: patch-config_common__make__rules,v 1.2 2013/11/18 02:22:30 dholland Exp $
+$NetBSD: patch-config_common__make__rules,v 1.3 2019/09/07 11:42:49 nia Exp $
+
+hunk 1:
+
+Don't use a platform-specific build directory to make installation
+easier.
+
+hunk 2:
Work around PR 48385, a tmpfs bug that combined with this package's
build system causes gmake 4.0 to loop forever making depend.
@@ -11,14 +18,24 @@ It is, in any event, almost never a good idea to depend on directories
in makefiles. The workaround is to not do that and explicitly run a
sub-make to create the object directory.
---- config/common_make_rules.orig 2004-12-19 22:20:43.000000000 +0000
+--- config/common_make_rules.orig 2017-10-21 14:01:07.000000000 +0000
+++ config/common_make_rules
-@@ -188,7 +188,10 @@ ifdef ALL_DIRS
+@@ -55,7 +55,7 @@ CFLAGS += $(EXTRA_CC_FLAGS) $(OPT) $(DBG
+ TARGET_PLATFORM=$(TARGET_CPU)-$(TARGET_OS)
+ HOST_PLATFORM=$(HOST_CPU)-$(HOST_OS)
+ ifndef BUILDDIR
+-BUILDDIR=$(TOP)/build/$(TARGET_PLATFORM)
++BUILDDIR=$(TOP)/build/platform
+ endif
+ OBJDIR=$(BUILDDIR)/obj/$(DIRNAME)
+ BINDIR=$(BUILDDIR)/bin
+@@ -172,8 +172,11 @@ ifdef ALL_DIRS
done
endif
-$(DEPEND): $(SRCS) $(OBJDIR)
+$(DEPEND): $(SRCS)
+ ifdef BUILD_DIRS
+ @ echo Doing implicit make depend.
+ @ touch $(DEPEND)
+ @ $(MAKE) $(OBJDIR)