Skip to content

Commit

Permalink
games/etlegacy: fix build on powerpc64le
Browse files Browse the repository at this point in the history
  • Loading branch information
pkubaj committed Apr 24, 2024
1 parent 6471380 commit 0f3a34a
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
16 changes: 15 additions & 1 deletion games/etlegacy/Makefile
Expand Up @@ -63,41 +63,55 @@ PLIST_SUB+= I386="" \
AMD64="@comment " \
POWERPC="@comment " \
POWERPC64="@comment " \
POWERPC64LE="@comment " \
ARMV7="@comment "
.elif ${ARCH} == "amd64"
PLIST_SUB+= I386="@comment " \
AARCH64="@comment " \
AMD64="" \
POWERPC="@comment " \
POWERPC64="@comment " \
POWERPC64LE="@comment " \
ARMV7="@comment "
.elif ${ARCH} == "aarch64"
PLIST_SUB+= I386="@comment " \
AARCH64="" \
AMD64="@comment " \
POWERPC="@comment " \
POWERPC64="@comment " \
POWERPC64LE="@comment " \
ARMV7="@comment "
.elif ${ARCH} == "powerpc"
PLIST_SUB+= I386="@comment " \
AARCH64="@comment " \
AMD64="@comment " \
POWERPC="" \
POWERPC64="@comment " \
POWERPC64LE="@comment " \
ARMV7="@comment "
.elif ${ARCH:Mpowerpc64*}
.elif ${ARCH} == powerpc64
PLIST_SUB+= I386="@comment " \
AARCH64="@comment " \
AMD64="@comment " \
POWERPC="@comment " \
POWERPC64="" \
POWERPC64LE="@comment " \
ARMV7="@comment "
.elif ${ARCH} == powerpc64le
PLIST_SUB+= I386="@comment " \
AARCH64="@comment " \
AMD64="@comment " \
POWERPC="@comment " \
POWERPC64="@comment " \
POWERPC64LE="" \
ARMV7="@comment "
.elif ${ARCH} == "armv7"
PLIST_SUB+= I386="@comment " \
AARCH64="@comment " \
AMD64="@comment " \
POWERPC="@comment " \
POWERPC64="@comment " \
POWERPC64LE="@comment " \
ARMV7=""
.endif

Expand Down
5 changes: 5 additions & 0 deletions games/etlegacy/pkg-plist
Expand Up @@ -4,12 +4,14 @@
%%I386%%%%CLIENT%%bin/etl.i386
%%POWERPC%%bin/etl.powerpc
%%POWERPC64%%bin/etl.powerpc64
%%POWERPC64LE%%bin/etl.powerpc64le
%%AARCH64%%%%DEDICATED%%bin/etlded.aarch64
%%AMD64%%%%DEDICATED%%bin/etlded.x86_64
%%ARMV7%%%%DEDICATED%%bin/etlded.armv7
%%I386%%%%DEDICATED%%bin/etlded.i386
%%POWERPC%%bin/etlded.powerpc
%%POWERPC64%%bin/etlded.powerpc64
%%POWERPC64LE%%bin/etlded.powerpc64le
lib/etlegacy/etmain/campaigncycle.cfg
lib/etlegacy/etmain/etl_server.cfg
lib/etlegacy/etmain/etl_server_comp.cfg
Expand Down Expand Up @@ -130,6 +132,7 @@ lib/etlegacy/legacy/luascripts/wolfadmin/util/util.lua
%%I386%%lib/etlegacy/legacy/qagame.mp.fbsd.i386.so
%%POWERPC%%lib/etlegacy/legacy/qagame.mp.fbsd.powerpc.so
%%POWERPC64%%lib/etlegacy/legacy/qagame.mp.fbsd.powerpc64.so
%%POWERPC64LE%%lib/etlegacy/legacy/qagame.mp.fbsd.powerpc64le.so
lib/etlegacy/legacy/rules.toml
lib/etlegacy/legacy/wolfadmin.toml
%%AARCH64%%%%CLIENT%%lib/etlegacy/librenderer_opengl1_aarch64.so
Expand All @@ -138,12 +141,14 @@ lib/etlegacy/legacy/wolfadmin.toml
%%I386%%%%CLIENT%%lib/etlegacy/librenderer_opengl1_i386.so
%%POWERPC%%lib/etlegacy/librenderer_opengl1_powerpc.so
%%POWERPC64%%lib/etlegacy/librenderer_opengl1_powerpc64.so
%%POWERPC64LE%%lib/etlegacy/librenderer_opengl1_powerpc64le.so
%%AARCH64%%share/applications/com.etlegacy.ETLegacy.aarch64.desktop
%%AMD64%%share/applications/com.etlegacy.ETLegacy.x86_64.desktop
%%ARMV7%%share/applications/com.etlegacy.ETLegacy.armv7.desktop
%%I386%%share/applications/com.etlegacy.ETLegacy.i386.desktop
%%POWERPC%%share/applications/com.etlegacy.ETLegacy.powerpc.desktop
%%POWERPC64%%share/applications/com.etlegacy.ETLegacy.powerpc64.desktop
%%POWERPC64LE%%share/applications/com.etlegacy.ETLegacy.powerpc64le.desktop
%%DOCSDIR%%/INSTALL.txt
share/icons/hicolor/scalable/apps/etl.svg
share/man/man6/etl.6.gz
Expand Down

0 comments on commit 0f3a34a

Please sign in to comment.