Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/pkgsrc/graphics/openimageio/Makefile,v rcsdiff: /ftp/cvs/cvsroot/pkgsrc/graphics/openimageio/Makefile,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.1 retrieving revision 1.27 diff -u -p -r1.1 -r1.27 --- pkgsrc/graphics/openimageio/Makefile 2012/12/03 12:54:14 1.1 +++ pkgsrc/graphics/openimageio/Makefile 2014/07/09 20:00:01 1.27 @@ -1,35 +1,34 @@ -# $NetBSD: Makefile,v 1.1 2012/12/03 12:54:14 ryoon Exp $ -# +# $NetBSD: Makefile,v 1.27 2014/07/09 20:00:01 ryoon Exp $ -DISTNAME= oiio-Release-1.1.1 +OIIOVER= 1.4.10 +DISTNAME= oiio-Release-${OIIOVER} PKGNAME= ${DISTNAME:S/oiio-Release/openimageio/} CATEGORIES= graphics -MASTER_SITES= -https://github.com/OpenImageIO/oiio/archive/Release-1.1.1.tar.gz +MASTER_SITES= -https://github.com/OpenImageIO/oiio/archive/Release-${OIIOVER}.tar.gz MAINTAINER= ryoon@NetBSD.org HOMEPAGE= https://sites.google.com/site/openimageio/ COMMENT= OpenImageIO is a library for reading and writing images LICENSE= modified-bsd -# Force using "curl" for fetching the distribution file. It is only available -# over HTTPS and "curl" is the only fetch program which always supports HTTPS. -FETCH_USING= curl - -WRKSRC= ${WRKDIR}/${DISTNAME}/src - -USE_TOOLS+= gmake -USE_CMAKE= yes -USE_LANGUAGES= c c++ +USE_CMAKE= yes +USE_LANGUAGES= c c++ +USE_TOOLS+= gmake CXXFLAGS+= -std=c++0x CMAKE_ARGS+= -DILMBASE_HOME:STRING=${BUILDLINK_PREFIX.ilmbase} -CMAKE_ARGS+= -DOPENJPEG_HOME:STRING=${BUILDLINK_PREFIX.openjpeg} +CMAKE_ARGS+= -DOPENJPEG_HOME:STRING=${BUILDLINK_PREFIX.openjpeg15} CMAKE_ARGS+= -DOPENEXR_HOME:STRING=${BUILDLINK_PREFIX.openexr} +CMAKE_ARGS+= -DINSTALL_DOCS:BOOL=OFF -post-patch: - ${RM} -f ${WRKSRC}/include/tbb/tbb_machine.h.orig - ${RM} -f ${WRKSRC}/include/tbb/tbb_misc.h.orig +# For redefinition of _rotl macro. +BUILDLINK_TRANSFORM+= rm:-Werror + +.include "../../mk/compiler.mk" +.if !empty(PKGSRC_COMPILER:Mclang) +CXXFLAGS+= -Wno-deprecated-register +.endif .include "../../devel/boost-libs/buildlink3.mk" .include "../../devel/hdf5/buildlink3.mk" @@ -38,9 +37,10 @@ post-patch: .include "../../graphics/ilmbase/buildlink3.mk" .include "../../graphics/libwebp/buildlink3.mk" .include "../../graphics/opencv/buildlink3.mk" -.include "../../graphics/openjpeg/buildlink3.mk" +.include "../../graphics/openjpeg15/buildlink3.mk" .include "../../graphics/openexr/buildlink3.mk" .include "../../graphics/tiff/buildlink3.mk" +.include "../../graphics/giflib/buildlink3.mk" .include "../../x11/qt4-libs/buildlink3.mk" BUILDLINK_DEPMETHOD.qt4-tools= build .include "../../x11/qt4-tools/buildlink3.mk"