summaryrefslogtreecommitdiff
path: root/print/lilypond/patches
diff options
context:
space:
mode:
authorseb <seb>2002-02-08 16:28:02 +0000
committerseb <seb>2002-02-08 16:28:02 +0000
commitb1458558a88cb0b61807e256bc53fcc0394934a8 (patch)
tree333c1056937a466cb7ddad2707651a7c7bafafa4 /print/lilypond/patches
parente1a1f27db109aef17849213352acc7d7a28e0408 (diff)
downloadpkgsrc-b1458558a88cb0b61807e256bc53fcc0394934a8.tar.gz
Fix GNU make rules for bison C++ parser . How was this working before ?
Diffstat (limited to 'print/lilypond/patches')
-rw-r--r--print/lilypond/patches/patch-aa20
1 files changed, 20 insertions, 0 deletions
diff --git a/print/lilypond/patches/patch-aa b/print/lilypond/patches/patch-aa
new file mode 100644
index 00000000000..0832b944fca
--- /dev/null
+++ b/print/lilypond/patches/patch-aa
@@ -0,0 +1,20 @@
+$NetBSD: patch-aa,v 1.3 2002/02/08 16:28:02 seb Exp $
+
+--- stepmake/stepmake/c++-rules.make.orig Thu Sep 2 02:17:49 1999
++++ stepmake/stepmake/c++-rules.make
+@@ -13,12 +13,12 @@
+
+ $(outdir)/%.cc: %.yy
+ $(BISON) $<
+- mv $<.tab.c $@
++ mv $(basename $<).tab.cc $@
+
+ $(outdir)/%.hh: %.yy
+ $(BISON) -d $<
+- mv $<.tab.h $@
+- rm $<.tab.c # if this happens in the wrong order it triggers recompile of the .cc file
++ mv $(basename $<).tab.hh $@
++ rm $(basename $<).tab.cc # if this happens in the wrong order it triggers recompile of the .cc file
+
+ $(outdir)/%.cc: %.ll
+ $(FLEX) -Cfe -p -p -t $< > $@