aboutsummaryrefslogtreecommitdiff
path: root/graphics/osg34/Makefile
diff options
context:
space:
mode:
authorMatthias Andree <mandree@FreeBSD.org>2021-04-11 22:18:18 +0000
committerMatthias Andree <mandree@FreeBSD.org>2021-04-12 00:33:51 +0000
commit9e2ecd86da6871979e279c7db3649f040c4e9192 (patch)
tree55e335a828e12d74bd41ef03cdd76ef01fc3d5f4 /graphics/osg34/Makefile
parentbc5a54f73de0d99f3948c83571c73997abbc8fb7 (diff)
downloadports-9e2ecd86da6871979e279c7db3649f040c4e9192.tar.gz
ports-9e2ecd86da6871979e279c7db3649f040c4e9192.zip
graphics/osg34: make compatible with OpenEXR/Imath 3.0
Diffstat (limited to 'graphics/osg34/Makefile')
-rw-r--r--graphics/osg34/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/graphics/osg34/Makefile b/graphics/osg34/Makefile
index 8881ffb9ba01..316f6e9d1772 100644
--- a/graphics/osg34/Makefile
+++ b/graphics/osg34/Makefile
@@ -3,7 +3,7 @@
PORTNAME= osg
PORTVERSION= 3.4.1
DISTVERSIONPREFIX= OpenSceneGraph-
-PORTREVISION= 20
+PORTREVISION= 21
CATEGORIES= graphics
PKGNAMESUFFIX= 34
@@ -29,7 +29,7 @@ USE_GL= gl glu
USE_XORG= x11
USE_LDCONFIG= yes
# needed to ensure build on gcc-based archs; harmless otherwise
-CXXFLAGS+= -Wno-narrowing
+CXXFLAGS+= -Wno-narrowing -I${LOCALBASE}/include/Imath -DInt64=uint64_t
PLIST_SUB= OSG_VERSION=${PORTVERSION} \
OSG_SHLIBVER=131 \
@@ -87,7 +87,7 @@ LUA_VARS_OFF= FORCE_IGNORE+="Lua51 Lua52"
NVTT_LIB_DEPENDS= libnvtt.so:graphics/nvidia-texture-tools
NVTT_VARS= FORCE_REQUIRE+=NVTT
NVTT_VARS_OFF= FORCE_IGNORE+=NVTT
-OPENEXR_LIB_DEPENDS= libIlmImf.so:graphics/openexr
+OPENEXR_LIB_DEPENDS= libOpenEXR.so:graphics/openexr libImath.so:math/Imath
OPENEXR_VARS= FORCE_REQUIRE+=OpenEXR
OPENEXR_VARS_OFF= FORCE_IGNORE+=OpenEXR
PDF_LIB_DEPENDS= libpoppler-glib.so:graphics/poppler-glib