git: a884cda59730 - main - games/etlegacy: Fix DEDICATED build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 21 Jan 2024 00:10:42 UTC
The branch main has been updated by acm:
URL: https://cgit.FreeBSD.org/ports/commit/?id=a884cda59730092626feb4f83425349b29a68e15
commit a884cda59730092626feb4f83425349b29a68e15
Author: Androd <andros.ua@proton.me>
AuthorDate: 2024-01-21 00:09:30 +0000
Commit: Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2024-01-21 00:09:30 +0000
games/etlegacy: Fix DEDICATED build
Reported by: email
---
games/etlegacy/Makefile | 6 +++++-
games/etlegacy/pkg-plist | 6 +++---
2 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/games/etlegacy/Makefile b/games/etlegacy/Makefile
index 36a86fca3453..b49092b43e83 100644
--- a/games/etlegacy/Makefile
+++ b/games/etlegacy/Makefile
@@ -1,6 +1,6 @@
PORTNAME= etlegacy
DISTVERSION= 2.81.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= https://mirror.etlegacy.com/geoip/:geoip \
https://mirror.etlegacy.com/wolfadmin/:wolfadmin
@@ -49,6 +49,10 @@ CLIENT_LIB_DEPENDS= libcurl.so:ftp/curl \
CLIENT_USES= gl jpeg openal:soft,alut minizip sdl xorg
CLIENT_USE= GL=gl,glu,glew SDL=sdl2 XORG=x11,xxf86dga,xxf86vm
+DEDICATED_LIB_DEPENDS= libcurl.so:ftp/curl \
+ libcjson.so:devel/libcjson
+DEDICATED_USES= minizip
+
SUB_FILES= pkg-message
.include <bsd.port.pre.mk>
diff --git a/games/etlegacy/pkg-plist b/games/etlegacy/pkg-plist
index 1fdb98503112..f3913c34bd98 100644
--- a/games/etlegacy/pkg-plist
+++ b/games/etlegacy/pkg-plist
@@ -123,9 +123,9 @@ lib/etlegacy/legacy/luascripts/wolfadmin/util/util.lua
%%I386%%lib/etlegacy/legacy/qagame.mp.fbsd.i386.so
lib/etlegacy/legacy/rules.toml
lib/etlegacy/legacy/wolfadmin.toml
-%%AARCH64%%lib/etlegacy/librenderer_opengl1_aarch64.so
-%%AMD64%%lib/etlegacy/librenderer_opengl1_x86_64.so
-%%I386%%lib/etlegacy/librenderer_opengl1_i386.so
+%%AARCH64%%%%CLIENT%%lib/etlegacy/librenderer_opengl1_aarch64.so
+%%AMD64%%%%CLIENT%%lib/etlegacy/librenderer_opengl1_x86_64.so
+%%I386%%%%CLIENT%%lib/etlegacy/librenderer_opengl1_i386.so
%%AARCH64%%share/applications/com.etlegacy.ETLegacy.aarch64.desktop
%%AMD64%%share/applications/com.etlegacy.ETLegacy.x86_64.desktop
%%I386%%share/applications/com.etlegacy.ETLegacy.i386.desktop