mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-26 09:46:09 +00:00
games/iortcw: port to riscv64
This commit is contained in:
parent
87da00f2fd
commit
b788897da1
@ -9,7 +9,7 @@ COMMENT= Game engine for Return to Castle Wolfenstein
|
||||
|
||||
LICENSE= GPLv3
|
||||
|
||||
NOT_FOR_ARCHS= aarch64 armv6 armv7 riscv64
|
||||
NOT_FOR_ARCHS= aarch64 armv6 armv7
|
||||
NOT_FOR_ARCHS_REASON= fails to configure: Architecture not supported
|
||||
|
||||
LIB_DEPENDS= libcurl.so:ftp/curl \
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
#if (defined(powerc) || defined(powerpc) || defined(ppc) || \
|
||||
defined(__ppc) || defined(__ppc__)) && !defined(C_ONLY)
|
||||
@@ -224,11 +220,13 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
|
||||
@@ -224,11 +220,15 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
|
||||
#ifdef __i386__
|
||||
#define ARCH_STRING "i386"
|
||||
#elif defined __amd64__
|
||||
@ -25,6 +25,8 @@
|
||||
+#define ARCH_STRING "powerpc64"
|
||||
+#elif defined __powerpc__
|
||||
+#define ARCH_STRING "powerpc"
|
||||
+#elif defined __riscv
|
||||
+#define ARCH_STRING "riscv64"
|
||||
#endif
|
||||
|
||||
#if BYTE_ORDER == BIG_ENDIAN
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
#if (defined(powerc) || defined(powerpc) || defined(ppc) || \
|
||||
defined(__ppc) || defined(__ppc__)) && !defined(C_ONLY)
|
||||
@@ -224,11 +220,13 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
|
||||
@@ -224,11 +220,15 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
|
||||
#ifdef __i386__
|
||||
#define ARCH_STRING "i386"
|
||||
#elif defined __amd64__
|
||||
@ -25,6 +25,8 @@
|
||||
+#define ARCH_STRING "powerpc64"
|
||||
+#elif defined __powerpc__
|
||||
+#define ARCH_STRING "powerpc"
|
||||
+#elif defined __riscv
|
||||
+#define ARCH_STRING "riscv64"
|
||||
#endif
|
||||
|
||||
#if BYTE_ORDER == BIG_ENDIAN
|
||||
|
Loading…
Reference in New Issue
Block a user