Index: head/graphics/opencolorio/Makefile =================================================================== --- head/graphics/opencolorio/Makefile +++ head/graphics/opencolorio/Makefile @@ -12,7 +12,8 @@ LICENSE= BSD3CLAUSE -USES= alias cmake compiler:c++11-lang pkgconfig shebangfix +USES= alias cmake compiler:c++11-lang localbase:ldflags pkgconfig \ + shebangfix USE_GITHUB= yes GH_ACCOUNT= imageworks @@ -20,10 +21,10 @@ CMAKE_ON= USE_EXTERNAL_TINYXML USE_EXTERNAL_YAML CMAKE_OFF= OCIO_BUILD_JNIGLUE OCIO_BUILD_NUKE OCIO_BUILD_STATIC -LDFLAGS+= -L${LOCALBASE}/lib -# pyglue gives an error on use of register -# this should only be an error using c++17 -CXXFLAGS+= -Wno-deprecated-register + +CXXFLAGS= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}} +CXXFLAGS_gcc= -Wno-unused-function -Wno-error +CXXFLAGS_clang= -Wno-deprecated-register SHEBANG_FILES= share/sphinx/ExtractRstFromSourceCPP.py \ share/sphinx/ExtractRstFromSourceSimple.py \