From: 諏訪子 Date: Fri, 13 Dec 2024 07:06:15 +0000 (+0900) Subject: macppc = powerpc X-Git-Url: http://10.11.0.4:5575/?a=commitdiff_plain;h=273a32a8186b2da3a1fdc04eb47f5b19b007fb3a;p=sp.git macppc = powerpc --- 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