svn commit: r354209 - in head/math/foma: . files

Dmitry Sivachenko demon at FreeBSD.org
Fri May 16 10:44:04 UTC 2014


Author: demon
Date: Fri May 16 10:44:03 2014
New Revision: 354209
URL: http://svnweb.freebsd.org/changeset/ports/354209
QAT: https://qat.redports.org/buildarchive/r354209/

Log:
  Respect CC/CFLAGS; add missing bison build dep.

Added:
  head/math/foma/files/patch-Makefile   (contents, props changed)
Modified:
  head/math/foma/Makefile

Modified: head/math/foma/Makefile
==============================================================================
--- head/math/foma/Makefile	Fri May 16 10:17:41 2014	(r354208)
+++ head/math/foma/Makefile	Fri May 16 10:44:03 2014	(r354209)
@@ -11,7 +11,7 @@ COMMENT=	A toolkit for constructing fini
 
 LICENSE=	GPLv2
 
-USES=		gmake
+USES=		bison gmake
 USE_GCC=	yes
 USE_LDCONFIG=	yes
 

Added: head/math/foma/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/foma/files/patch-Makefile	Fri May 16 10:44:03 2014	(r354209)
@@ -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
+ 


More information about the svn-ports-all mailing list