pkgsrc/math/scilab/patches/patch-ao
dmcmahill 353a876869 Update to scilab-4.1. The old version was very out of date and there
have been many many changes including many bug fixes, graphics improvements,
editor improvements, new toolbox functions, etc.
2007-03-23 22:08:55 +00:00

28 lines
527 B
Text

$NetBSD: patch-ao,v 1.10 2007/03/23 22:08:57 dmcmahill Exp $
--- ocaml/Makefile.orig 2005-09-05 08:55:04.000000000 +0000
+++ ocaml/Makefile
@@ -31,7 +31,7 @@ PLATFORM=$(shell uname -s)
EXE=../bin/modelicac
-.SUFFIXES: .ml .mli .cmo .cmi .cmx .mlp .mpi
+.SUFFIXES: .ml .mli .cmo .cmi .cmx .mlp .mpi .mll .mly
@@ -65,12 +65,12 @@ EXE=../bin/modelicac
@$(OCAMLOPT) $(OCAMLOPTFLAGS) -c $(<)
-%.ml %.mli: %.mly
+.mly.ml:
@ocamlyacc $(<)
@$(RM) -f $(<:.mly=.mli)
-%.ml: %.mll
+.mll.ml:
@ocamllex $(<)