aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authormva <mva@FreeBSD.org>2011-03-12 18:08:31 +0800
committermva <mva@FreeBSD.org>2011-03-12 18:08:31 +0800
commitf5362d8f02716f4637460d042ea0940456fc3f65 (patch)
treecad81a1882651e9324661ebe0704a14cc19db680 /graphics
parentb6263981dd395e3a99deaf9a8b0a941e0e0f13f7 (diff)
downloadfreebsd-ports-gnome-f5362d8f02716f4637460d042ea0940456fc3f65.tar.gz
freebsd-ports-gnome-f5362d8f02716f4637460d042ea0940456fc3f65.tar.zst
freebsd-ports-gnome-f5362d8f02716f4637460d042ea0940456fc3f65.zip
- Unbreak build on amd64-7 if WITH_OPENEXR is set
Noted by: pav
Diffstat (limited to 'graphics')
-rw-r--r--graphics/blender/files/patch-source_nan_definitions.mk15
1 files changed, 15 insertions, 0 deletions
diff --git a/graphics/blender/files/patch-source_nan_definitions.mk b/graphics/blender/files/patch-source_nan_definitions.mk
new file mode 100644
index 000000000000..5b15fb53d5fa
--- /dev/null
+++ b/graphics/blender/files/patch-source_nan_definitions.mk
@@ -0,0 +1,15 @@
+--- source/nan_definitions.mk.orig 2009-09-01 17:21:54.000000000 +0200
++++ source/nan_definitions.mk 2011-03-09 22:06:13.000000000 +0100
+@@ -267,6 +267,12 @@
+ export NAN_SDLLIBS ?= $(shell sdl-config --libs)
+ export NAN_SDLCFLAGS ?= $(shell sdl-config --cflags)
+
++ ifeq ($(WITH_OPENEXR), true)
++ export NAN_OPENEXR ?= $(shell pkg-config --variable=prefix OpenEXR )
++ export NAN_OPENEXR_INC ?= $(shell pkg-config --cflags OpenEXR )
++ export NAN_OPENEXR_LIBS ?= $(addprefix ${NAN_OPENEXR}/lib/lib,$(addsuffix
++ endif
++
+ # Uncomment the following line to use Mozilla inplace of netscape
+ # CPPFLAGS +=-DMOZ_NOT_NET
+ # Location of MOZILLA/Netscape header files...