From b506bdb2b719cff5b06bdf1e50b34fadb49df7f3 Mon Sep 17 00:00:00 2001 From: Hans Lambermont Date: Sat, 4 Jan 2003 00:19:53 +0000 Subject: Use FreeBSD's default python location when on FreeBSD --- source/blender/bpython/intern/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'source/blender/bpython/intern') diff --git a/source/blender/bpython/intern/Makefile b/source/blender/bpython/intern/Makefile index cb67e195aa8..b6c84196f4d 100644 --- a/source/blender/bpython/intern/Makefile +++ b/source/blender/bpython/intern/Makefile @@ -47,7 +47,11 @@ CPPFLAGS += -DFUTURE_PYTHON_API # see api.h for configuration # OpenGL and Python CPPFLAGS += -I$(OPENGL_HEADERS) -CPPFLAGS += -I$(NAN_PYTHON)/include/python$(NAN_PYTHON_VERSION) +ifeq ($(OS),$(findstring $(OS), "freebsd")) + CPPFLAGS += -I$(NAN_PYTHON)$(NAN_PYTHON_VERSION) +else + CPPFLAGS += -I$(NAN_PYTHON)/include/python$(NAN_PYTHON_VERSION) +endif CPPFLAGS += -I$(NAN_BMFONT)/include/ # Reference to the types in makesdna and imbuf -- cgit v1.2.3