git: 5c6c1cc2abb6 - main - graphics/devil: make compatible with OpenEXR/Imath 3.0
Matthias Andree
mandree at FreeBSD.org
Mon Apr 12 00:34:48 UTC 2021
The branch main has been updated by mandree:
URL: https://cgit.FreeBSD.org/ports/commit/?id=5c6c1cc2abb6d1901ae5f290238bd46396bfb62f
commit 5c6c1cc2abb6d1901ae5f290238bd46396bfb62f
Author: Matthias Andree <mandree at FreeBSD.org>
AuthorDate: 2021-04-11 22:29:36 +0000
Commit: Matthias Andree <mandree at FreeBSD.org>
CommitDate: 2021-04-12 00:33:51 +0000
graphics/devil: make compatible with OpenEXR/Imath 3.0
---
graphics/devil/Makefile | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/graphics/devil/Makefile b/graphics/devil/Makefile
index 380044037ee7..7ee07947db2b 100644
--- a/graphics/devil/Makefile
+++ b/graphics/devil/Makefile
@@ -2,7 +2,7 @@
PORTNAME= devil
PORTVERSION= 1.7.8
-PORTREVISION= 25
+PORTREVISION= 26
PORTEPOCH= 1
CATEGORIES= graphics
MASTER_SITES= SF/openil/DevIL/${PORTVERSION}
@@ -11,6 +11,8 @@ DISTNAME= DevIL-${PORTVERSION}
MAINTAINER= amdmi3 at FreeBSD.org
COMMENT= Full featured cross-platform image library
+LICENSE= LGPL21
+
USES= alias autoreconf gmake libtool localbase pkgconfig
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-ILU --enable-ILUT \
@@ -54,7 +56,7 @@ PNG_CONFIGURE_ENABLE= png
PNG_CONFIGURE_OFF= libpng_app=no
TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff
TIFF_CONFIGURE_ENABLE= tiff
-EXR_LIB_DEPENDS= libIlmImf.so:graphics/openexr
+EXR_LIB_DEPENDS= libOpenEXR.so:graphics/openexr libImath.so:math/Imath
EXR_CONFIGURE_ENABLE= exr
#SQUISH_BUILD_DEPENDS= ${LOCALBASE}/lib/libsquish.a:graphics/squish
#SQUISH_CONFIGURE_WITH= libsquish
@@ -74,6 +76,9 @@ post-patch:
${WRKSRC}/data/Makefile.am
@${REINPLACE_CMD} -e 's|<malloc\.h>|<stdlib.h>|g' \
${WRKSRC}/src-ILU/ilur/ilur.c
+ ${REINPLACE_CMD} -e 's/Imf::Int64/uint64_t/g' \
+ ${WRKSRC}/src-IL/src/il_exr.cpp \
+ ${WRKSRC}/src-IL/include/il_exr.h
post-install:
@${RMDIR} ${STAGEDIR}${DATADIR}/examples
More information about the dev-commits-ports-all
mailing list