Subject: games/quake3arena needs non-existent suse91_glx
To: None <tech-pkg@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 03/29/2005 21:05:47
Doing bulk build under FreeBSD failed because
games/quake3arena and quake3arena-demo needed non-existent
emulators/suse91_glx.

Example of problem:

~/pkgsrc/games/quake3arena-demo> bmake show-var
VARNAME=SUSE_DIR_PREFIX
cd: can't cd to ../../emulators/suse91_glx
bmake: "../../mk/../../mk/reduce-depends.mk" line 2: warning: "cd
../../emulators/suse91_glx && /bin/pwd" returned non-zero status
suse91


SUSE_DIR_PREFIX is suse91

The following is when I change to not use SUSE_DIR_PREFIX:

~/pkgsrc/games/quake3arena> bmake show-var VARNAME=SUSE_DIR_PREFIX
suse91

My workaround follows but maybe is wrong.

Index: games/quake3arena/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/games/quake3arena/Makefile,v
retrieving revision 1.19
diff -b -u -r1.19 Makefile
--- games/quake3arena/Makefile	24 Mar 2005 23:43:44 -0000	1.19
+++ games/quake3arena/Makefile	30 Mar 2005 05:04:19 -0000
@@ -19,7 +19,7 @@
 .if ${OPSYS} != Linux
 DEPENDS+=	suse_base>=6.3:../../emulators/${SUSE_DIR_PREFIX}_base
 DEPENDS+=	suse_x11>=6.3:../../emulators/${SUSE_DIR_PREFIX}_x11
-DEPENDS+=	suse_glx>=6.4:../../emulators/${SUSE_DIR_PREFIX}_glx
+DEPENDS+=	suse_glx>=6.4:../../emulators/suse_glx
 .include "../../emulators/suse_linux/Makefile.application"
 .else
 USE_X11=	yes
Index: games/quake3arena-demo/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/games/quake3arena-demo/Makefile,v
retrieving revision 1.22
diff -b -u -r1.22 Makefile
--- games/quake3arena-demo/Makefile	17 Nov 2004 21:10:51 -0000	1.22
+++ games/quake3arena-demo/Makefile	30 Mar 2005 05:04:20 -0000
@@ -18,7 +18,7 @@

 .if ${OPSYS} != "Linux"
 DEPENDS+=	suse_linux>=6.3:../../emulators/${SUSE_DIR_PREFIX}_linux
-DEPENDS+=	suse_glx>=6.4:../../emulators/${SUSE_DIR_PREFIX}_glx
+DEPENDS+=	suse_glx>=6.4:../../emulators/suse_glx
 .include "../../emulators/suse_linux/Makefile.application"
 .else
 USE_X11=	yes



 Jeremy C. Reed

 	  	 	 technical support & remote administration
	  	 	 http://www.pugetsoundtechnology.com/