freebsd-ports/graphics/pixie/Makefile
Matthias Andree 1c11b9ae32 graphics/openexr, ilmbase: security update to v2.5.5
https://github.com/AcademySoftwareFoundation/openexr/releases/tag/v2.5.5

"Specific OSS-fuzz issues include:

    OSS-fuzz #30291 Timeout in openexr_exrcheck_fuzzer
    OSS-fuzz #29106 Heap-buffer-overflow in Imf_2_5::FastHufDecoder::decode
    OSS-fuzz #28971 Undefined-shift in Imf_2_5::cachePadding
    OSS-fuzz #29829 Integer-overflow in Imf_2_5::DwaCompressor::initializeBuffers
    OSS-fuzz #30121 Out-of-memory in openexr_exrcheck_fuzzer"

Bump PORTREVISION of ports that directly depend on openexr and/or ilmbase.

MFH:		2021Q1
Security:	98044aba-6d72-11eb-aed7-1b1b8a70cc8b
2021-02-13 11:08:29 +00:00

70 lines
2.4 KiB
Makefile

# Created by: Igor Pokrovsky <tiamat@comset.net>
# $FreeBSD$
PORTNAME= pixie
PORTVERSION= 2.2.6
PORTREVISION= 29
CATEGORIES= graphics
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/Pixie%20${PORTVERSION}
DISTNAME= Pixie-src-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Photorealistic renderer with Pixar's RenderMan-like interface
LICENSE= LGPL21+
LICENSE_FILE= ${WRKSRC}/COPYING
BROKEN_aarch64= fails to compile: ri/atomic.h:149:9: use of undeclared identifier CRenderer
BROKEN_armv6= fails to compile: ri/atomic.h:149:9: use of undeclared identifier CRenderer
BROKEN_armv7= fails to compile: ri/atomic.h:149:9: use of undeclared identifier CRenderer
BROKEN_riscv64= fails to compile: ri/atomic.h:149:9: use of undeclared identifier CRenderer
BROKEN_FreeBSD_11_powerpc64= fails to compile on powerpc64 elfv1: ../common/mathSpec.h:548:37: error: 'max' was not declared in this scope
BROKEN_FreeBSD_12_powerpc64= fails to compile on powerpc64 elfv1: ../common/mathSpec.h:548:37: error: 'max' was not declared in this scope
LIB_DEPENDS= libIlmImf.so:graphics/openexr \
libtiff.so:graphics/tiff \
libfltk_gl.so:x11-toolkits/fltk
USES= bison compiler:c++0x gl libtool pathfix tar:tgz
USE_GL= glu
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --includedir=${PREFIX}/include/pixie \
--libdir=${PREFIX}/lib/pixie \
--with-docdir=${DOCSDIR} \
--with-shaderdir=${DATADIR}/shaders \
--with-ribdir=${DATADIR}/ribs \
--with-texturedir=${DATADIR}/textures \
--with-displaysdir=${PREFIX}/lib/pixie/displays \
--with-modulesdir=${PREFIX}/lib/pixie/modules \
--with-openexr-prefix=${LOCALBASE} \
--enable-openexr-threads
WRKSRC= ${WRKDIR}/Pixie
INSTALL_TARGET= install-strip
USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME}
PORTDOCS= *
CFLAGS+= -fPIC
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e '/test/s|==|=|g ; \
s|-lpthread|-pthread|g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e '/^SUBDIRS/s|doc||g ; \
/^install-data-am:/s|install-nobase_docDATA||g' \
${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e '/^includedir/s|=.*$$|= @includedir@|g' \
${WRKSRC}/src/ri/Makefile.in \
${WRKSRC}/src/sdr/Makefile.in
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} AUTHORS ChangeLog DEVNOTES NEWS \
README ${STAGEDIR}${DOCSDIR})
(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} \
'! -name "*Makefile*"')
.include <bsd.port.mk>