Date: Thu, 02 Sep 2021 21:24:56 +0000 From: bugzilla-noreply@freebsd.org To: chromium@FreeBSD.org Subject: [Bug 257352] [patch]www/chromium: Fails to build after mempcpy (3) is added into base libc Message-ID: <bug-257352-28929-IIFJEz7pzC@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-257352-28929@https.bugs.freebsd.org/bugzilla/> References: <bug-257352-28929@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257352 --- Comment #16 from Tatsuki Makino <tatsuki_makino@hotmail.com> --- (In reply to Tomoaki AOKI from comment #15) Yes, I wrote my comment #14 without thinking about the conditions of true a= nd false :) To be precise, it would look like following. Or, .if ! ${BASE_MEMPCPY}. Also, I forgot to write that the error message is: make: "/usr/ports/www/chromium/Makefile" line 210: warning: "/usr/bin/grep mempcpy /usr/include/string.h" returned non-zero status diff --git www/chromium/Makefile www/chromium/Makefile index d60012118b..fd471f4d78 100644 --- www/chromium/Makefile +++ www/chromium/Makefile @@ -207,8 +207,8 @@ TEST_ALL_TARGET=3D ${TEST_TARGETS} .include <bsd.port.options.mk> .include <bsd.port.pre.mk> -BASE_MEMPCPY!=3D ${GREP} mempcpy ${CROSS_SYSROOT}/usr/include/string.h -.if empty(BASE_MEMPCPY) +BASE_MEMPCPY!=3D ${GREP} -q mempcpy ${CROSS_SYSROOT}/usr/include/string.h = && echo 0 || echo 1 +.if ${BASE_MEMPCPY} EXTRA_PATCHES+=3D ${PATCHDIR}/extra-patch-no-mempcpy-nasm .endif --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-257352-28929-IIFJEz7pzC>