FreeBSD Bugzilla – Attachment 165020 Details for
Bug 205854
games/bzflag: Add server-only slave port
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch with fix
patch-bzflag.diff (text/plain), 1.65 KB, created by
Kevin Zheng
on 2016-01-03 21:44:26 UTC
(
hide
)
Description:
Patch with fix
Filename:
MIME Type:
Creator:
Kevin Zheng
Created:
2016-01-03 21:44:26 UTC
Size:
1.65 KB
patch
obsolete
>diff --git a/games/bzflag-server/Makefile b/games/bzflag-server/Makefile >new file mode 100644 >index 0000000..a0880dc >--- /dev/null >+++ b/games/bzflag-server/Makefile >@@ -0,0 +1,12 @@ >+# Created by: Kevin Zheng <kevinz5000@gmail.com> >+# $FreeBSD$ >+ >+PKGNAMESUFFIX= -server >+CONFLICTS= bzflag-2.* >+ >+COMMENT= Multiplayer 3D tank battle game (server only) >+ >+SERVER_ONLY= yes >+MASTERDIR= ${.CURDIR}/../bzflag >+ >+.include "${MASTERDIR}/Makefile" >diff --git a/games/bzflag/Makefile b/games/bzflag/Makefile >index e9b9819..a8b2271 100644 >--- a/games/bzflag/Makefile >+++ b/games/bzflag/Makefile >@@ -7,7 +7,7 @@ CATEGORIES= games > MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20source/${PORTVERSION} > > MAINTAINER= kevinz5000@gmail.com >-COMMENT= Multiplayer 3D tank battle game >+COMMENT?= Multiplayer 3D tank battle game > > LICENSE= LGPL21 > LICENSE_FILE= ${WRKSRC}/COPYING >@@ -16,16 +16,25 @@ LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl > > GNU_CONFIGURE= yes > USES= libtool tar:bzip2 >+ >+.ifndef SERVER_ONLY > USE_GL= glew > USE_SDL= sdl >+.endif > > MAKE_JOBS_UNSAFE= yes > > CONFIGURE_ARGS= --enable-ares-build > CPPFLAGS+= -I ${LOCALBASE}/include > >+.ifdef SERVER_ONLY >+CONFIGURE_ARGS+= --disable-client >+PLIST_SUB+= CLIENT="@comment " >+.else > DESKTOP_ENTRIES= "BZFlag" "Battle enemy tanks" \ > "${DATADIR}/bzflag-256x256.png" \ > "bzflag" "Game;ActionGame;" false >+PLIST_SUB+= CLIENT="" >+.endif > > .include <bsd.port.mk> >diff --git a/games/bzflag/pkg-plist b/games/bzflag/pkg-plist >index d862ac1..dbf27b7 100644 >--- a/games/bzflag/pkg-plist >+++ b/games/bzflag/pkg-plist >@@ -1,5 +1,5 @@ > bin/bzadmin >-bin/bzflag >+%%CLIENT%%bin/bzflag > bin/bzfs > lib/bzflag/HoldTheFlag.so > lib/bzflag/Phoenix.so
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
vlad-fbsd
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 205854
: 165020 |
165021