1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-17 08:01:36 +00:00
freebsd-ports/graphics/fyre/Makefile
Matthias Andree 1fb0ae7cf9 Security update OpenEXR and ilmbase to 2.2.1.
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
2017-12-01 01:58:23 +00:00

45 lines
1.1 KiB
Makefile

# Created by: Adam Weinberger <adamw@FreeBSD.org>
# $FreeBSD$
PORTNAME= fyre
PORTVERSION= 1.0.1
PORTREVISION= 9
CATEGORIES= graphics
MASTER_SITES= http://releases.navi.cx/fyre/
MAINTAINER= ports@FreeBSD.org
COMMENT= Chaos map rendering system with GTK+-2 interface
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
USES= desktop-file-utils gmake pkgconfig shared-mime-info tar:bzip2
USE_GNOME= libglade2
GNU_CONFIGURE= yes
INSTALLS_ICONS= yes
OPTIONS_DEFINE= OPTIMIZED_CFLAGS OPENEXR GNET DOCS
OPTIONS_DEFAULT= OPENEXR GNET
OPENEXR_CONFIGURE_ENABLE= openexr
OPENEXR_LIB_DEPENDS= libIlmImf.so:graphics/OpenEXR
GNET_DESC= Networking support via GNet
GNET_CONFIGURE_ENABLE= gnet
GNET_LIB_DEPENDS= libgnet-2.0.so:net/gnet2
.include <bsd.port.pre.mk>
.if ${ARCH} == "i386" && !empty(PORT_OPTIONS:MOPT_CFLAGS)
CFLAGS+= -march=native -O3 -ffast-math -fomit-frame-pointer
.endif
post-patch:
@${REINPLACE_CMD} -e '/-O3/s|^|#|g' ${WRKSRC}/configure
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.post.mk>