summaryrefslogtreecommitdiff
path: root/print/lilypond
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
parente1a1f27db109aef17849213352acc7d7a28e0408 (diff)
downloadpkgsrc-b1458558a88cb0b61807e256bc53fcc0394934a8.tar.gz
Fix GNU make rules for bison C++ parser . How was this working before ?
Diffstat (limited to 'print/lilypond')
-rw-r--r--print/lilypond/distinfo3
-rw-r--r--print/lilypond/patches/patch-aa20
2 files changed, 22 insertions, 1 deletions
diff --git a/print/lilypond/distinfo b/print/lilypond/distinfo
index 4958b114c98..7635a82ba0b 100644
--- a/print/lilypond/distinfo
+++ b/print/lilypond/distinfo
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.2 2001/04/20 12:41:51 agc Exp $
+$NetBSD: distinfo,v 1.3 2002/02/08 16:28:03 seb Exp $
SHA1 (lilypond-1.3.119.tar.gz) = b2372f2d414308c45acdf8211cd34b03d5788dc8
Size (lilypond-1.3.119.tar.gz) = 1178777 bytes
+SHA1 (patch-aa) = b32a87f1eae2c50195795c077716bdfac63ab0e4
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 $< > $@