1fb0ae7cf9
While here, fix libIlmImfUtil_la_LDFLAGp so that when linking libIlmImfUtil, the locally built libIlmImf gets precedence over the one in /usr/local, to permit upgrades in a running system with the older version installed. This changes the library's SONAME, so bump PORTREVISION of all dependees. Unfortunately, this looks a bit too intrusive for an MFH to 2017Q4. Security: CVE-2017-9110 Security: CVE-2017-9111 Security: CVE-2017-9112 Security: CVE-2017-9113 Security: CVE-2017-9114 Security: CVE-2017-9115 Security: CVE-2017-9116 Security: 803879e9-4195-11e7-9b08-080027ef73ec
35 lines
859 B
Makefile
35 lines
859 B
Makefile
# Created by: Emanuel Haupt <ehaupt@critical.ch>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= exrtools
|
|
PORTVERSION= 0.4
|
|
PORTREVISION= 14
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= http://scanline.ca/exrtools/ \
|
|
LOCAL/ehaupt
|
|
|
|
MAINTAINER= ehaupt@FreeBSD.org
|
|
COMMENT= Utilities for manipulating with HDR images in OpenEXR format
|
|
|
|
LICENSE= GPLv2
|
|
|
|
LIB_DEPENDS= libImath-2_2.so:graphics/ilmbase \
|
|
libpng.so:graphics/png \
|
|
libIlmImf.so:graphics/OpenEXR
|
|
|
|
BROKEN_armv6= fails to configure: checking for /nxb-bin/usr/bin/cc... no
|
|
BROKEN_armv7= fails to configure: checking for /nxb-bin/usr/bin/cc... no
|
|
|
|
GNU_CONFIGURE= yes
|
|
USES= gmake jpeg pkgconfig
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|<values\.h>|<float.h>|' \
|
|
${WRKSRC}/src/exrnormalize.c \
|
|
${WRKSRC}/src/exrpptm.c \
|
|
${WRKSRC}/src/exrstats.c
|
|
|
|
.include <bsd.port.mk>
|