Index | Thread | Search

From:
SASANO Takayoshi <uaa@mx5.nisiq.net>
Subject:
Re: [NEW] textproc/libunicode
To:
Antoine Jacoutot <ajacoutot@bsdfrog.org>, Stuart Henderson <stu@spacehopper.org>
Cc:
SASANO Takayoshi <uaa@mx5.nisiq.net>, ports@openbsd.org
Date:
Sat, 13 Jul 2024 18:54:35 +0900

Download raw body.

Thread
> Could we only set -DLIBUNICODE_USE_INTRINSICS=OFF on the architectures that
> require it?

I didn't know enable something under specified architecture like this...

Index: Makefile
===================================================================
RCS file: /cvs/ports/textproc/libunicode/Makefile,v
diff -u -p -r1.1 Makefile
--- Makefile	9 Jul 2024 13:56:10 -0000	1.1
+++ Makefile	13 Jul 2024 09:51:54 -0000
@@ -37,4 +37,8 @@ CONFIGURE_STYLE =	cmake
 CONFIGURE_ARGS =	-DLIBUNICODE_TESTING=OFF \
 			-DLIBUNICODE_UCD_DIR=${LOCALBASE}/share/unicode/ucd
 
+.if ${MACHINE_ARCH} != "amd64" && ${MACHINE_ARCH} == "aarch64"
+CONFIGURE_ARGS +=	-DLIBUNICODE_USE_INTRINSICS=OFF
+.endif
+
 .include <bsd.port.mk>

-- 
SASANO Takayoshi (JG1UAA) <uaa@mx5.nisiq.net>