freebsd-ports/cad/chipmunk/files/patch-ae
Martin Wilke 8ad83bd55c - Update to version 5.65
PR:		166017
Submitted by:	Ports Fury
Feature safe:	yes
2012-03-25 03:55:33 +00:00

29 lines
719 B
Text

--- 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 \