- Remove compiler tampering

This is no longer needed after the same thing was removed from OpenEXR, and moreover it breaks opencolorio-tools on 9.x

PR:		197907
Approved by:	portmgr blanket, maitainer timeout
This commit is contained in:
Dmitry Marakasov 2015-06-27 13:27:09 +00:00
parent ded52f55ee
commit 87ea2e59d3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=390701

View File

@ -4,7 +4,7 @@
PORTNAME= openimageio
PORTVERSION= 1.4.15
DISTVERSIONPREFIX= Release-
PORTREVISION?= 1
PORTREVISION?= 2
CATEGORIES?= graphics multimedia
MAINTAINER?= FreeBSD@Shaneware.biz
@ -19,7 +19,7 @@ GH_PROJECT= oiio
# fbm also installs bin/idiff
CONFLICTS= fbm-[0-9]*
USES= cmake:outsource compiler
USES= cmake:outsource
CMAKE_ARGS= -DBUILDSTATIC:BOOL=OFF \
-DLINKSTATIC:BOOL=OFF \
-DNOTHREADS:BOOL=OFF \
@ -70,13 +70,6 @@ CMAKE_ENV+= QTDIR=${QT_PREFIX} QT_INCLUDES=${QT_INCDIR}
CMAKE_ARGS+= -DUSE_OPENGL:BOOL=OFF -DUSE_QT:BOOL=OFF
.endif
.include <bsd.port.pre.mk>
.if ${COMPILER_TYPE} == gcc
# GCC 4.2 does not link with other ports that now use GCC 4.9 or later.
USE_GCC= yes
.endif
post-patch:
@${REINPLACE_CMD} -e 's|share/doc/OpenImageIO|${DOCSDIR}|g' \
${WRKSRC}/CMakeLists.txt
@ -87,4 +80,4 @@ post-install:
${LN} -sf libOpenImageIO_Util.so.1.4 ${STAGEDIR}${PREFIX}/lib/libOpenImageIO_Util.so.1
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>