Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Aug 2014 18:32:11 +0000 (UTC)
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r364459 - head/math/foma/files
Message-ID:  <53e6692b.2e9a.1722df43@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adamw
Date: Sat Aug  9 18:32:11 2014
New Revision: 364459
URL: http://svnweb.freebsd.org/changeset/ports/364459
QAT: https://qat.redports.org/buildarchive/r364459/

Log:
  Honour CPPFLAGS and LDFLAGS to fix readline support on current.

Modified:
  head/math/foma/files/patch-Makefile

Modified: head/math/foma/files/patch-Makefile
==============================================================================
--- head/math/foma/files/patch-Makefile	Sat Aug  9 18:29:44 2014	(r364458)
+++ head/math/foma/files/patch-Makefile	Sat Aug  9 18:32:11 2014	(r364459)
@@ -1,5 +1,5 @@
---- Makefile.orig	2012-11-17 16:21:50.000000000 +0400
-+++ Makefile	2014-05-16 14:41:24.000000000 +0400
+--- Makefile.orig	2012-11-17 07:21:50.000000000 -0500
++++ Makefile	2014-08-09 14:30:08.000000000 -0400
 @@ -5,7 +5,7 @@
  includedir = $(prefix)/include
  
@@ -9,12 +9,15 @@
  RANLIB = ranlib
  YACC = bison -d -t -v
  LEX = flex -8
-@@ -15,7 +15,7 @@
+@@ -13,9 +13,9 @@
+ LEXIFACE = flex -8 --prefix=interface
+ LEXCMATRIX = flex -8 --prefix=cmatrix
  RM = /bin/rm -f
- LDFLAGS = -lreadline -lz -ltermcap
+-LDFLAGS = -lreadline -lz -ltermcap
++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
++CFLAGS += -Wall -D_GNU_SOURCE -std=c99 -fvisibility=hidden -fPIC ${CPPFLAGS}
  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
  



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53e6692b.2e9a.1722df43>