I noticed in /usr/local/bin/quake2 you couldn't pass command-line options
to it (such as +connect <servername>) because it didn't use them when
executing. Here's a small patch to add it.

Thanks,
Tom

Index: Makefile
===================================================================
RCS file: /cvs/ports/games/yquake2/Makefile,v
retrieving revision 1.12
diff -u -p -r1.12 Makefile
--- Makefile    11 Jan 2018 19:27:02 -0000      1.12
+++ Makefile    13 Feb 2018 20:49:07 -0000
@@ -8,7 +8,7 @@ V=              7.10
 PKGNAME=       ${N}-${V}
 DISTNAME=      quake2-${V}
 CATEGORIES=    games
-REVISION=      0
+REVISION=      1
 
 HOMEPAGE=      http://www.yamagi.org/quake2/
 MAINTAINER=    Adam Wolk <aw...@openbsd.org>
Index: files/quake2.sh
===================================================================
RCS file: /cvs/ports/games/yquake2/files/quake2.sh,v
retrieving revision 1.1
diff -u -p -r1.1 quake2.sh
--- files/quake2.sh     9 Nov 2017 16:20:31 -0000       1.1
+++ files/quake2.sh     13 Feb 2018 20:49:07 -0000
@@ -1,4 +1,4 @@
 #!/bin/sh
 cd ${TRUEPREFIX}/share/yquake2
-exec ${TRUEPREFIX}/share/yquake2/quake2
+exec ${TRUEPREFIX}/share/yquake2/quake2 $@
 

Reply via email to