freebsd-ports/cad/chipmunk/files/patch-ae

30 lines
719 B
Text
Raw Normal View History

--- log/src/ana/Makefile.orig 2011-10-21 07:26:01.000000000 +0900
+++ log/src/ana/Makefile 2011-11-26 22:33:01.000000000 +0900
@@ -45,7 +45,7 @@
## For most versions of UNIX, one of the above directories
## will be the correct one to use on the line below:
-XINCLUDEDIR = .
+XINCLUDEDIR = ${LOCALBASE}/include
##
## (1) Choosing your compiler
@@ -66,7 +66,7 @@
CHIPMUNKCC = gcc -O3
-CC = $(CHIPMUNKCC)
+CC ?= $(CHIPMUNKCC)
##
## (4) Adding appropriate flags
@@ -108,7 +108,7 @@
CHIPMUNKFLAGS =
-CFLAGS = $(CHIPMUNKFLAGS) -I$(LOCINC) -I$(XINCLUDEDIR)
+CFLAGS += -I$(LOCINC) -I$(XINCLUDEDIR)
ANAOBJ = globals.o nsolver.o main.o inter.o $(GATESOBJ)
GATESOBJ = numbers.o mmeter.o iscope.o \