Index: head/graphics/openexr/Makefile =================================================================== --- head/graphics/openexr/Makefile (revision 522706) +++ head/graphics/openexr/Makefile (revision 522707) @@ -1,99 +1,98 @@ # Created by: nork@FreeBSD.org # $FreeBSD$ PORTNAME= openexr PORTVERSION= 2.4.0 CATEGORIES= graphics devel MASTER_SITES= LOCAL/mandree/:test DISTFILES= ${PORTNAME}-2.2.0-comp_dwa-test-images.tar.xz:test MAINTAINER= mandree@FreeBSD.org COMMENT= High dynamic-range (HDR) image file format LICENSE= BSD3CLAUSE # exact version required to avoid hard-to-debug issues LIB_DEPENDS= libImath-2_4.so.24:graphics/ilmbase USES= cmake compiler:c++14-lang libtool pathfix pkgconfig USE_LDCONFIG= yes -TEST_TARGET= check USE_GITHUB= yes GH_TUPLE= AcademySoftwareFoundation:openexr:v2.4.0 CPPFLAGS+= -I. -I../IlmImf # must be linked with -l{thr|pthread} explicitly LDFLAGS+= -lpthread PORTDOCS= * PORTEXAMPLES= * DOCSRCDIR1= ${WRKSRC}/.. DOC_FILES1= CHANGES.md CONTRIBUTING.md GOVERNANCE.md LICENSE.md SECURITY.md \ CODE_OF_CONDUCT.md CONTRIBUTORS.md README.md DOCSRCDIR2= ${WRKSRC}/doc DOC_FILES2= *.odt *.pdf OPTIONS_DEFINE= DOCS EXAMPLES LARGE_STACK LARGE_STACK_DESC= Enable sys-dependent large stack optimizations WRKSRC_SUBDIR= OpenEXR OPTIONS_SUB= yes LARGE_STACK_CONFIGURE_ENABLE= large-stack .include .if ${ARCH} == powerpc USE_GCC= yes .endif MAJORVER= 2_4 VER= 24 PLIST_SUB+= MAJORVER=${MAJORVER} PLIST_SUB+= VER=${VER} # too many reports about compilation failures, so # sanity check we are using the same C++ standard library _ilm_libcxx=${COMPILER_FEATURES:Mlib*c++} pre-configure: @${READELF} -d ${LOCALBASE}/lib/libImath.so \ | ${EGREP} -q '\.*\[${_ilm_libcxx:C/\+/\\+/g}\.' \ || { ${ECHO_CMD} "*** Your ilmbase package uses a different C++ standard library than ***" ; \ ${ECHO_CMD} "*** OpenEXR would. Please recompile and reinstall ilmbase with the ***" ; \ ${ECHO_CMD} "*** same C++ std. library before trying to build OpenEXR. Abort. ***" ; \ exit 1; } post-install: ${STRIP_CMD} \ ${STAGEDIR}${PREFIX}/lib/libIlmImf-${MAJORVER}.so.${VER} \ ${STAGEDIR}${PREFIX}/lib/libIlmImfUtil-${MAJORVER}.so.${VER} .for i in libIlmImf libIlmImfUtil ${LN} -s ${i}-${MAJORVER}.so.${VER} ${STAGEDIR}${PREFIX}/lib/${i}.so .endfor post-install-EXAMPLES-on: ${MV} \ ${STAGEDIR}${PREFIX}/share/doc/OpenEXR/examples/ ${STAGEDIR}${EXAMPLESDIR} @${RMDIR} ${STAGEDIR}${PREFIX}/share/doc/OpenEXR 2>/dev/null || : post-install-EXAMPLES-off: ${RM} -R ${STAGEDIR}${PREFIX}/share/doc/OpenEXR/examples/ post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DOC_FILES2:S|^|${DOCSRCDIR2}/|} ${STAGEDIR}${DOCSDIR} ${MV} ${STAGEDIR}${DOCSDIR}/../OpenEXR/[a-df-zA-Z]* ${STAGEDIR}${DOCSDIR} post-install-DOCS-off: @${RMDIR} ${STAGEDIR}${PREFIX}/share/doc/${PORTNAME} 2>/dev/null || : -regression-test check: +regression-test check test: cd ${BUILD_WRKSRC} && ctest -j ${MAKE_JOBS_NUMBER} .include Index: head/graphics/openexr/files/patch-config_LibraryDefine.cmake =================================================================== --- head/graphics/openexr/files/patch-config_LibraryDefine.cmake (nonexistent) +++ head/graphics/openexr/files/patch-config_LibraryDefine.cmake (revision 522707) @@ -0,0 +1,11 @@ +--- config/LibraryDefine.cmake.orig 2019-09-18 01:02:06 UTC ++++ config/LibraryDefine.cmake +@@ -94,8 +94,6 @@ function(OPENEXR_DEFINE_LIBRARY libname) + if(BUILD_SHARED_LIBS AND (NOT "${OPENEXR_LIB_SUFFIX}" STREQUAL "")) + set(verlibname ${CMAKE_SHARED_LIBRARY_PREFIX}${libname}${OPENEXR_LIB_SUFFIX}${CMAKE_SHARED_LIBRARY_SUFFIX}) + set(baselibname ${CMAKE_SHARED_LIBRARY_PREFIX}${libname}${CMAKE_SHARED_LIBRARY_SUFFIX}) +- install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E chdir ${CMAKE_INSTALL_FULL_LIBDIR} ${CMAKE_COMMAND} -E create_symlink ${verlibname} ${baselibname})") +- install(CODE "message(\"-- Creating symlink in ${CMAKE_INSTALL_FULL_LIBDIR} ${baselibname} -> ${verlibname}\")") + set(verlibname) + set(baselibname) + endif() Property changes on: head/graphics/openexr/files/patch-config_LibraryDefine.cmake ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/graphics/openexr/files/patch-config_OpenEXRSetup.cmake =================================================================== --- head/graphics/openexr/files/patch-config_OpenEXRSetup.cmake (nonexistent) +++ head/graphics/openexr/files/patch-config_OpenEXRSetup.cmake (revision 522707) @@ -0,0 +1,13 @@ +--- config/OpenEXRSetup.cmake.orig 2019-09-18 01:02:06 UTC ++++ config/OpenEXRSetup.cmake +@@ -42,10 +42,6 @@ set(OPENEXR_OUTPUT_SUBDIR OpenEXR CACHE STRING "Destin + # but is pretty harmless to set globally + set(CMAKE_INCLUDE_CURRENT_DIR ON) + +-# Suffix for debug configuration libraries +-# (if you should choose to install those) +-set(CMAKE_DEBUG_POSTFIX "_d" CACHE STRING "Suffix for debug builds") +- + # Usual cmake option to build shared libraries or not + option(BUILD_SHARED_LIBS "Build shared library" ON) + # This allows a "double library" setup, where we compile both Property changes on: head/graphics/openexr/files/patch-config_OpenEXRSetup.cmake ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property