aboutsummaryrefslogtreecommitdiff
path: root/multimedia/svt-hevc
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2019-02-28 00:58:00 +0000
committerJan Beich <jbeich@FreeBSD.org>2019-02-28 00:58:00 +0000
commitaf3ec5900c5a74425a7b62332f9d2603947dc85f (patch)
tree827d099ee5a1081fb0d5ed5cfdfde787e860e3f1 /multimedia/svt-hevc
parent6e3460247dcd2f64299393877adad20ac454eb8f (diff)
downloadports-af3ec5900c5a74425a7b62332f9d2603947dc85f.tar.gz
ports-af3ec5900c5a74425a7b62332f9d2603947dc85f.zip
multimedia/svt-*: ignore __linux__ for third_party libs
Unlike SVT-* encoders GoogleTest properly supports FreeBSD and in fact won't build if using Linux conditionals.
Notes
Notes: svn path=/head/; revision=494114
Diffstat (limited to 'multimedia/svt-hevc')
-rw-r--r--multimedia/svt-hevc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/multimedia/svt-hevc/Makefile b/multimedia/svt-hevc/Makefile
index 71f5a54e6bca..b595e5a82230 100644
--- a/multimedia/svt-hevc/Makefile
+++ b/multimedia/svt-hevc/Makefile
@@ -52,7 +52,7 @@ post-patch:
@${REINPLACE_CMD} -i .opsys 's/Linux/${OPSYS}/' \
${WRKSRC}/CMakeLists.txt \
${WRKSRC}/Source/Lib/*/CMakeLists.txt
- @${GREP} -Flr '__linux' ${WRKSRC} | ${XARGS} \
+ @${GREP} --exclude='*/third_party/*' -Flr '__linux' ${WRKSRC} | ${XARGS} \
${REINPLACE_CMD} -i .opsys -E 's/__linux(__)?/__${OPSYS}__/'
.include <bsd.port.mk>