diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2019-02-28 00:58:00 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2019-02-28 00:58:00 +0000 |
commit | af3ec5900c5a74425a7b62332f9d2603947dc85f (patch) | |
tree | 827d099ee5a1081fb0d5ed5cfdfde787e860e3f1 /multimedia/svt-av1 | |
parent | 6e3460247dcd2f64299393877adad20ac454eb8f (diff) | |
download | ports-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-av1')
-rw-r--r-- | multimedia/svt-av1/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/multimedia/svt-av1/Makefile b/multimedia/svt-av1/Makefile index 07f940004b99..165cdcdba61e 100644 --- a/multimedia/svt-av1/Makefile +++ b/multimedia/svt-av1/Makefile @@ -43,7 +43,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}__/' # Avoid -msse4.1 for (unused) function not under Source/Lib/ASM_SSE4_1/ @${REINPLACE_CMD} -e '/_sse4_1/,/}/d; /smmintrin\.h/d' \ |