diff options
author | Dmitry Sivachenko <demon@FreeBSD.org> | 2014-05-16 10:44:03 +0000 |
---|---|---|
committer | Dmitry Sivachenko <demon@FreeBSD.org> | 2014-05-16 10:44:03 +0000 |
commit | 45e0d637c1c6b903cb5be8ca08ad288a9e94f855 (patch) | |
tree | 9aea4e6fd5e492a5e8db93071f3ddf0069dc182a /math/foma | |
parent | 6b54b471d814b21f123f92d54cdc024c77aeb092 (diff) | |
download | ports-45e0d637c1c6b903cb5be8ca08ad288a9e94f855.tar.gz ports-45e0d637c1c6b903cb5be8ca08ad288a9e94f855.zip |
Notes
Diffstat (limited to 'math/foma')
-rw-r--r-- | math/foma/Makefile | 2 | ||||
-rw-r--r-- | math/foma/files/patch-Makefile | 20 |
2 files changed, 21 insertions, 1 deletions
diff --git a/math/foma/Makefile b/math/foma/Makefile index 215d021c54f3..62b41ea67709 100644 --- a/math/foma/Makefile +++ b/math/foma/Makefile @@ -11,7 +11,7 @@ COMMENT= A toolkit for constructing finite-state automata and transducers LICENSE= GPLv2 -USES= gmake +USES= bison gmake USE_GCC= yes USE_LDCONFIG= yes diff --git a/math/foma/files/patch-Makefile b/math/foma/files/patch-Makefile new file mode 100644 index 000000000000..94dfe4194f5c --- /dev/null +++ b/math/foma/files/patch-Makefile @@ -0,0 +1,20 @@ +--- Makefile.orig 2012-11-17 16:21:50.000000000 +0400 ++++ Makefile 2014-05-16 14:41:24.000000000 +0400 +@@ -5,7 +5,7 @@ + includedir = $(prefix)/include + + VERSION = 0.9.17 +-CC = gcc ++CC ?= gcc + RANLIB = ranlib + YACC = bison -d -t -v + LEX = flex -8 +@@ -15,7 +15,7 @@ + RM = /bin/rm -f + LDFLAGS = -lreadline -lz -ltermcap + FLOOKUPLDFLAGS = libfoma.a -lz +-CFLAGS = -O3 -Wall -D_GNU_SOURCE -std=c99 -fvisibility=hidden -fPIC ++CFLAGS += -Wall -D_GNU_SOURCE -std=c99 -fvisibility=hidden -fPIC + FOMAOBJS = foma.o stack.o iface.o lex.interface.o + LIBOBJS = int_stack.o define.o determinize.o apply.o rewrite.o lexcread.o topsort.o flags.o minimize.o reverse.o extract.o sigma.o io.o structures.o constructions.o coaccessible.o utf8.o spelling.o dynarray.o mem.o stringhash.o trie.o lex.lexc.o lex.yy.o lex.cmatrix.o regex.tab.o + |