summaryrefslogtreecommitdiff
path: root/math/cassowary
diff options
context:
space:
mode:
authorjmc <jmc@pkgsrc.org>2002-03-25 01:04:46 +0000
committerjmc <jmc@pkgsrc.org>2002-03-25 01:04:46 +0000
commit0c5474356d7cc3e46f6c41d14e77ac3775ef801f (patch)
treef34bf13d5e550258fa504ae7aae4602fb4f13d55 /math/cassowary
parent5b615520d6a2820bf2aa574e6dbcf8809bf77a6e (diff)
downloadpkgsrc-0c5474356d7cc3e46f6c41d14e77ac3775ef801f.tar.gz
Make this require bison 1.34 or greater as the syntax for --outputfile changed
during bison upgrades and detecting which syntax is in use is far harder than simply making Makefile.in do the right thing for 1.34
Diffstat (limited to 'math/cassowary')
-rw-r--r--math/cassowary/Makefile4
-rw-r--r--math/cassowary/distinfo3
-rw-r--r--math/cassowary/patches/patch-ac16
3 files changed, 20 insertions, 3 deletions
diff --git a/math/cassowary/Makefile b/math/cassowary/Makefile
index c21dd94daf1..638110295f2 100644
--- a/math/cassowary/Makefile
+++ b/math/cassowary/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2001/09/27 23:18:24 jlam Exp $
+# $NetBSD: Makefile,v 1.11 2002/03/25 01:04:46 jmc Exp $
#
DISTNAME= cassowary-0.60
@@ -9,7 +9,7 @@ MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.cs.washington.edu/research/constraints/cassowary/
COMMENT= Constraint-solving toolkit for linear equalities and inequalities
-BUILD_DEPENDS+= bison-[0-9]*:../../devel/bison
+BUILD_DEPENDS+= bison>=1.34:../../devel/bison
DEPENDS+= guile>=1.3.2:../../lang/guile
DEPENDS+= gtl>=0.3.2:../../devel/gtl
diff --git a/math/cassowary/distinfo b/math/cassowary/distinfo
index 2517ec9533d..b31881c53f5 100644
--- a/math/cassowary/distinfo
+++ b/math/cassowary/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.2 2001/04/19 08:45:38 agc Exp $
+$NetBSD: distinfo,v 1.3 2002/03/25 01:04:46 jmc Exp $
SHA1 (cassowary-0.60.tar.gz) = 1c9bb84c3e6936cc85d8f660a9ac12017dd631a7
Size (cassowary-0.60.tar.gz) = 1605222 bytes
SHA1 (patch-aa) = 32c7d9db43bea9b9114c4091cd0687b558211a94
SHA1 (patch-ab) = 66119674c748ea04a16b1c91850b4e6acc831ec4
+SHA1 (patch-ac) = cf3a4545fafcbed8803d8f0cbabb4d027f25f695
diff --git a/math/cassowary/patches/patch-ac b/math/cassowary/patches/patch-ac
new file mode 100644
index 00000000000..2d5e8a49dfe
--- /dev/null
+++ b/math/cassowary/patches/patch-ac
@@ -0,0 +1,16 @@
+$NetBSD: patch-ac,v 1.4 2002/03/25 01:04:47 jmc Exp $
+
+--- c++/Makefile.in.orig Mon Mar 25 00:49:58 2002
++++ c++/Makefile.in Mon Mar 25 00:57:51 2002
+@@ -1007,7 +1007,10 @@
+ ClReader-lex.cc: ClReader.l ClReader.h ClReader.cc.h
+ $(LEX) -Pcl -o$@ $<
+
+-ClReader.cc.h ClReader.cc: ClReader.y ClReader.h
++ClReader.cc.h: ClReader.cc
++ mv ClReader.hh ClReader.cc.h
++
++ClReader.cc: ClReader.y ClReader.h
+ $(YACC) -d -pcl --output-file $@ $<
+
+ cassowary/config-inline.h: cassowary