Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Feb 2019 17:03:32 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r493171 - in head/multimedia: svt-av1 svt-vp9
Message-ID:  <201902171703.x1HH3WgP052885@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Sun Feb 17 17:03:32 2019
New Revision: 493171
URL: https://svnweb.freebsd.org/changeset/ports/493171

Log:
  multimedia/svt-{av1,vp9}: __FreeBSD isn't defined unlike __FreeBSD__

Modified:
  head/multimedia/svt-av1/Makefile   (contents, props changed)
  head/multimedia/svt-vp9/Makefile   (contents, props changed)

Modified: head/multimedia/svt-av1/Makefile
==============================================================================
--- head/multimedia/svt-av1/Makefile	Sun Feb 17 16:41:31 2019	(r493170)
+++ head/multimedia/svt-av1/Makefile	Sun Feb 17 17:03:32 2019	(r493171)
@@ -42,7 +42,7 @@ post-patch:
 		${WRKSRC}/CMakeLists.txt \
 		${WRKSRC}/Source/Lib/*/CMakeLists.txt
 	@${GREP} -Flr '__linux' ${WRKSRC} | ${XARGS} \
-		${REINPLACE_CMD} -i .opsys 's/__linux/__${OPSYS}/'
+		${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' \
 		${WRKSRC}/Source/Lib/Codec/EbInterPrediction.c

Modified: head/multimedia/svt-vp9/Makefile
==============================================================================
--- head/multimedia/svt-vp9/Makefile	Sun Feb 17 16:41:31 2019	(r493170)
+++ head/multimedia/svt-vp9/Makefile	Sun Feb 17 17:03:32 2019	(r493171)
@@ -47,6 +47,6 @@ post-patch:
 		${WRKSRC}/CMakeLists.txt \
 		${WRKSRC}/Source/Lib/*/CMakeLists.txt
 	@${GREP} -Flr '__linux' ${WRKSRC} | ${XARGS} \
-		${REINPLACE_CMD} -i .opsys 's/__linux/__${OPSYS}/'
+		${REINPLACE_CMD} -i .opsys -E 's/__linux(__)?/__${OPSYS}__/'
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201902171703.x1HH3WgP052885>