summaryrefslogtreecommitdiff
path: root/lang/joos/patches/patch-ae
diff options
context:
space:
mode:
Diffstat (limited to 'lang/joos/patches/patch-ae')
-rw-r--r--lang/joos/patches/patch-ae22
1 files changed, 22 insertions, 0 deletions
diff --git a/lang/joos/patches/patch-ae b/lang/joos/patches/patch-ae
new file mode 100644
index 00000000000..284bc5db4e6
--- /dev/null
+++ b/lang/joos/patches/patch-ae
@@ -0,0 +1,22 @@
+$NetBSD: patch-ae,v 1.1 2002/10/04 16:39:41 jschauma Exp $
+
+--- A-/Makefile.orig Fri Oct 4 11:55:58 2002
++++ A-/Makefile Fri Oct 4 11:57:53 2002
+@@ -1,13 +1,12 @@
+-CC = gcc
+-
+-CFLAGS = -Wall -ansi -pedantic
++YACC= yacc
++FLEX= flex
+
+ main: y.tab.o lex.yy.o main.o tree.h tree.o error.h error.o memory.h memory.o weed.h weed.o symbol.h symbol.o type.h type.o defasn.h defasn.o resource.h resource.o code.h code.o optimize.h optimize.o emit.h emit.o
+ $(CC) lex.yy.o y.tab.o tree.o error.o memory.o weed.o symbol.o type.o defasn.o resource.o code.o optimize.o emit.o main.o -o joos -lfl
+
+ y.tab.c y.tab.h: joos.y
+- bison -y -d joos.y
++ ${YACC} -d joos.y
+
+ lex.yy.c: joos.l y.tab.h
+- flex joos.l
++ ${FLEX} joos.l
+