head 1.3; access; symbols pkgsrc-2026Q1:1.3.0.54 pkgsrc-2026Q1-base:1.3 pkgsrc-2025Q4:1.3.0.52 pkgsrc-2025Q4-base:1.3 pkgsrc-2025Q3:1.3.0.50 pkgsrc-2025Q3-base:1.3 pkgsrc-2025Q2:1.3.0.48 pkgsrc-2025Q2-base:1.3 pkgsrc-2025Q1:1.3.0.46 pkgsrc-2025Q1-base:1.3 pkgsrc-2024Q4:1.3.0.44 pkgsrc-2024Q4-base:1.3 pkgsrc-2024Q3:1.3.0.42 pkgsrc-2024Q3-base:1.3 pkgsrc-2024Q2:1.3.0.40 pkgsrc-2024Q2-base:1.3 pkgsrc-2024Q1:1.3.0.38 pkgsrc-2024Q1-base:1.3 pkgsrc-2023Q4:1.3.0.36 pkgsrc-2023Q4-base:1.3 pkgsrc-2023Q3:1.3.0.34 pkgsrc-2023Q3-base:1.3 pkgsrc-2023Q2:1.3.0.32 pkgsrc-2023Q2-base:1.3 pkgsrc-2023Q1:1.3.0.30 pkgsrc-2023Q1-base:1.3 pkgsrc-2022Q4:1.3.0.28 pkgsrc-2022Q4-base:1.3 pkgsrc-2022Q3:1.3.0.26 pkgsrc-2022Q3-base:1.3 pkgsrc-2022Q2:1.3.0.24 pkgsrc-2022Q2-base:1.3 pkgsrc-2022Q1:1.3.0.22 pkgsrc-2022Q1-base:1.3 pkgsrc-2021Q4:1.3.0.20 pkgsrc-2021Q4-base:1.3 pkgsrc-2021Q3:1.3.0.18 pkgsrc-2021Q3-base:1.3 pkgsrc-2021Q2:1.3.0.16 pkgsrc-2021Q2-base:1.3 pkgsrc-2021Q1:1.3.0.14 pkgsrc-2021Q1-base:1.3 pkgsrc-2020Q4:1.3.0.12 pkgsrc-2020Q4-base:1.3 pkgsrc-2020Q3:1.3.0.10 pkgsrc-2020Q3-base:1.3 pkgsrc-2020Q2:1.3.0.8 pkgsrc-2020Q2-base:1.3 pkgsrc-2020Q1:1.3.0.4 pkgsrc-2020Q1-base:1.3 pkgsrc-2019Q4:1.3.0.6 pkgsrc-2019Q4-base:1.3 pkgsrc-2019Q3:1.3.0.2 pkgsrc-2019Q3-base:1.3 pkgsrc-2019Q2:1.2.0.48 pkgsrc-2019Q2-base:1.2 pkgsrc-2019Q1:1.2.0.46 pkgsrc-2019Q1-base:1.2 pkgsrc-2018Q4:1.2.0.44 pkgsrc-2018Q4-base:1.2 pkgsrc-2018Q3:1.2.0.42 pkgsrc-2018Q3-base:1.2 pkgsrc-2018Q2:1.2.0.40 pkgsrc-2018Q2-base:1.2 pkgsrc-2018Q1:1.2.0.38 pkgsrc-2018Q1-base:1.2 pkgsrc-2017Q4:1.2.0.36 pkgsrc-2017Q4-base:1.2 pkgsrc-2017Q3:1.2.0.34 pkgsrc-2017Q3-base:1.2 pkgsrc-2017Q2:1.2.0.30 pkgsrc-2017Q2-base:1.2 pkgsrc-2017Q1:1.2.0.28 pkgsrc-2017Q1-base:1.2 pkgsrc-2016Q4:1.2.0.26 pkgsrc-2016Q4-base:1.2 pkgsrc-2016Q3:1.2.0.24 pkgsrc-2016Q3-base:1.2 pkgsrc-2016Q2:1.2.0.22 pkgsrc-2016Q2-base:1.2 pkgsrc-2016Q1:1.2.0.20 pkgsrc-2016Q1-base:1.2 pkgsrc-2015Q4:1.2.0.18 pkgsrc-2015Q4-base:1.2 pkgsrc-2015Q3:1.2.0.16 pkgsrc-2015Q3-base:1.2 pkgsrc-2015Q2:1.2.0.14 pkgsrc-2015Q2-base:1.2 pkgsrc-2015Q1:1.2.0.12 pkgsrc-2015Q1-base:1.2 pkgsrc-2014Q4:1.2.0.10 pkgsrc-2014Q4-base:1.2 pkgsrc-2014Q3:1.2.0.8 pkgsrc-2014Q3-base:1.2 pkgsrc-2014Q2:1.2.0.6 pkgsrc-2014Q2-base:1.2 pkgsrc-2014Q1:1.2.0.4 pkgsrc-2014Q1-base:1.2 pkgsrc-2013Q4:1.2.0.2 pkgsrc-2013Q4-base:1.2; locks; strict; comment @# @; 1.3 date 2019.09.07.11.42.49; author nia; state Exp; branches; next 1.2; commitid EwaD4cqFPWeRB4CB; 1.2 date 2013.11.18.02.22.30; author dholland; state Exp; branches; next 1.1; commitid gyDr5mo2E1wDCHdx; 1.1 date 2013.11.17.16.25.09; author dholland; state Exp; branches; next ; commitid LlGokyLRbleAjEdx; desc @@ 1.3 log @flite: Update to 2.1 * Indic language support * Patch CVE-2014-0027 locally @ text @$NetBSD: patch-config_common__make__rules,v 1.2 2013/11/18 02:22:30 dholland 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. The problem in tmpfs, which assigns file and directory timestamps lazily and therefore frequently out of order, gets tickled because the depend file depends on the directory containing it. 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 2017-10-21 14:01:07.000000000 +0000 +++ config/common_make_rules @@@@ -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) @@ rm -f $(DEPEND) @@ for i in $(SRCS) ; \ do \ @ 1.2 log @Improve the workaround for what is now PR 48385. @ text @d1 8 a8 1 $NetBSD: patch-config_common__make__rules,v 1.1 2013/11/17 16:25:09 dholland Exp $ d21 1 a21 1 --- config/common_make_rules.orig 2004-12-19 22:20:43.000000000 +0000 d23 10 a32 1 @@@@ -188,7 +188,10 @@@@ ifdef ALL_DIRS d38 1 @ 1.1 log @Add workaround for the looping I've been seeing building into tmpfs. It seems to be a gmake bug; I'm looking into that. @ text @d1 1 a1 1 $NetBSD$ d3 2 a4 2 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. d6 7 a12 4 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. d16 3 a18 1 @@@@ -190,12 +190,15 @@@@ endif d20 5 a24 1 $(DEPEND): $(SRCS) $(OBJDIR) a25 1 + @@ echo Doing implicit make depend. a27 9 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) ... @