From 273a32a8186b2da3a1fdc04eb47f5b19b007fb3a Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E8=AB=8F=E8=A8=AA=E5=AD=90?= Date: Fri, 13 Dec 2024 16:06:15 +0900 Subject: [PATCH] macppc = powerpc --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 96203f3..1a50eb0 100644 --- a/Makefile +++ b/Makefile @@ -26,6 +26,8 @@ FAMILY = darwin .if ${UNAME_M} == "x86_64" ARCH = amd64 +.elif ${UNAME_M} == "macppc" +ARCH = powerpc .endif NAME != cat main.c | grep "const char \*sofname" | awk '{print $$5}' | \ @@ -52,9 +54,9 @@ DATAPREFIX = ${PREFIX}/data .endif CNFPREFIX = /etc -.if ${UNAME_S} == "Haiku" +.if ${OS} == "haiku" CNFPREFIX = ${DATAPREFIX} -.elif ${UNAME_S} == "FreeBSD" || ${UNAME_S} == "NetBSD" || ${UNAME_S} == "Dragonfly" +.elif ${OS} == "freebsd" || ${OS} == "netbsd" || ${OS} == "dragonfly" CNFPREFIX = ${PREFIX}/etc .endif -- 2.43.0