summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2002-02-08 16:28:02 +0000
committerseb <seb@pkgsrc.org>2002-02-08 16:28:02 +0000
commit1d57be253042bc709978cae92ba8f3245259cdb7 (patch)
tree333c1056937a466cb7ddad2707651a7c7bafafa4 /print
parent5f91cc840dc966d706083951e491f6106cc64b3d (diff)
downloadpkgsrc-1d57be253042bc709978cae92ba8f3245259cdb7.tar.gz
Fix GNU make rules for bison C++ parser . How was this working before ?
Diffstat (limited to 'print')
-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 $< > $@