aboutsummaryrefslogtreecommitdiff
path: root/graphics/opencolorio
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-09-12 18:09:55 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-09-12 18:09:55 +0000
commit8e85b413522a43e7afea1ca97cad37a86cae8daa (patch)
tree68cf1dfe0c9a886aa48cccaabde7a8cec5d952c6 /graphics/opencolorio
parenta9fd01f49122b5d4b1840c4b726bf06b1c510dc9 (diff)
downloadports-8e85b413522a43e7afea1ca97cad37a86cae8daa.tar.gz
ports-8e85b413522a43e7afea1ca97cad37a86cae8daa.zip
Notes
Diffstat (limited to 'graphics/opencolorio')
-rw-r--r--graphics/opencolorio/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/graphics/opencolorio/Makefile b/graphics/opencolorio/Makefile
index e1a821984ed8..30eb4314a6e1 100644
--- a/graphics/opencolorio/Makefile
+++ b/graphics/opencolorio/Makefile
@@ -64,5 +64,9 @@ post-patch:
@${REINPLACE_CMD} -e '/pkg_check_modules/ s|yaml-cpp|&03|' \
${WRKSRC}/CMakeLists.txt
@${REINPLACE_CMD} -e 's|yaml-cpp|&03|' ${WRKSRC}/src/core/OCIOYaml.h
+.if ${SLAVE_PORT} == yes
+ @${FIND} ${WRKSRC}/src/apps -name main.cpp | ${XARGS} \
+ ${REINPLACE_CMD} '/namespace OIIO/d'
+.endif
.include <bsd.port.mk>