Tue Jul 5 03:44:06 2011 UTC ()
Add libXxf86dga and libXxf86vm and their *proto, because it wants them
and with native X finds part of them and then dies. Also apply
REPLACE_PYTHON to a python script and add python dep.


(dholland)
diff -r1.23 -r1.24 pkgsrc/games/quakeforge/Makefile

cvs diff -r1.23 -r1.24 pkgsrc/games/quakeforge/Makefile (expand / switch to unified diff)

--- pkgsrc/games/quakeforge/Makefile 2011/01/13 13:37:50 1.23
+++ pkgsrc/games/quakeforge/Makefile 2011/07/05 03:44:06 1.24
@@ -1,56 +1,63 @@ @@ -1,56 +1,63 @@
1# $NetBSD: Makefile,v 1.23 2011/01/13 13:37:50 wiz Exp $ 1# $NetBSD: Makefile,v 1.24 2011/07/05 03:44:06 dholland Exp $
2 2
3DISTNAME= quakeforge-0.5.5 3DISTNAME= quakeforge-0.5.5
4PKGREVISION= 9 4PKGREVISION= 10
5CATEGORIES= games 5CATEGORIES= games
6MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=quake/} 6MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=quake/}
7 7
8MAINTAINER= snj@NetBSD.org 8MAINTAINER= snj@NetBSD.org
9HOMEPAGE= http://www.quakeforge.net/ 9HOMEPAGE= http://www.quakeforge.net/
10COMMENT= Improved Quake engine 10COMMENT= Improved Quake engine
11 11
12PKG_DESTDIR_SUPPORT= user-destdir 12PKG_DESTDIR_SUPPORT= user-destdir
13 13
14CONFIGURE_ARGS+= --with-cpp="${CPP} %d %i %o" 14CONFIGURE_ARGS+= --with-cpp="${CPP} %d %i %o"
15CONFIGURE_ARGS+= --disable-ogg 15CONFIGURE_ARGS+= --disable-ogg
16CONFIGURE_ARGS+= --disable-xmms 16CONFIGURE_ARGS+= --disable-xmms
17GNU_CONFIGURE= YES 17GNU_CONFIGURE= YES
18USE_LANGUAGES= c c++ 18USE_LANGUAGES= c c++
19USE_TOOLS+= bison gmake 19USE_TOOLS+= bison gmake
20USE_LIBTOOL= YES 20USE_LIBTOOL= YES
21 21
22SUBST_CLASSES+= dsp 22SUBST_CLASSES+= dsp
23SUBST_STAGE.dsp= post-patch 23SUBST_STAGE.dsp= post-patch
24SUBST_MESSAGE.dsp= Adjusting sound device path. 24SUBST_MESSAGE.dsp= Adjusting sound device path.
25SUBST_FILES.dsp= libs/audio/targets/snd_oss.c 25SUBST_FILES.dsp= libs/audio/targets/snd_oss.c
26SUBST_SED.dsp= -e "s|/dev/dsp|${DEVOSSAUDIO}|" 26SUBST_SED.dsp= -e "s|/dev/dsp|${DEVOSSAUDIO}|"
27 27
 28REPLACE_PYTHON+= tools/qfcc/source/qfpreqcc
 29
28PKG_OPTIONS_VAR= PKG_OPTIONS.quakeforge 30PKG_OPTIONS_VAR= PKG_OPTIONS.quakeforge
29PKG_SUPPORTED_OPTIONS= inet6 31PKG_SUPPORTED_OPTIONS= inet6
30 32
31.include "../../mk/bsd.options.mk" 33.include "../../mk/bsd.options.mk"
32 34
33.if !empty(PKG_OPTIONS:Minet6) 35.if !empty(PKG_OPTIONS:Minet6)
34CONFIGURE_ARGS+= --with-ipv6 36CONFIGURE_ARGS+= --with-ipv6
35.else 37.else
36CONFIGURE_ARGS+= --without-ipv6 38CONFIGURE_ARGS+= --without-ipv6
37.endif 39.endif
38 40
39PLIST_VARS+= sunaudio linux 41PLIST_VARS+= sunaudio linux
40.if ${OPSYS} == "NetBSD" || ${OPSYS} == "SunOS" 42.if ${OPSYS} == "NetBSD" || ${OPSYS} == "SunOS"
41PLIST.sunaudio= yes 43PLIST.sunaudio= yes
42.endif 44.endif
43 45
44.if ${OPSYS} == "Linux" 46.if ${OPSYS} == "Linux"
45PLIST.linux= yes 47PLIST.linux= yes
46.endif 48.endif
47 49
48INSTALLATION_DIRS= include/QF/GL include/QF/plugin include/QF/ruamoko/gui 50INSTALLATION_DIRS= include/QF/GL include/QF/plugin include/QF/ruamoko/gui
49 51
 52.include "../../lang/python/application.mk"
50.include "../../devel/SDL/buildlink3.mk" 53.include "../../devel/SDL/buildlink3.mk"
51.include "../../devel/zlib/buildlink3.mk" 54.include "../../devel/zlib/buildlink3.mk"
52.include "../../graphics/png/buildlink3.mk" 55.include "../../graphics/png/buildlink3.mk"
53.include "../../x11/libXext/buildlink3.mk" 56.include "../../x11/libXext/buildlink3.mk"
 57.include "../../x11/libXxf86dga/buildlink3.mk"
 58.include "../../x11/libXxf86vm/buildlink3.mk"
54.include "../../x11/xextproto/buildlink3.mk" 59.include "../../x11/xextproto/buildlink3.mk"
 60.include "../../x11/xf86vidmodeproto/buildlink3.mk"
 61.include "../../x11/xf86dgaproto/buildlink3.mk"
55.include "../../mk/oss.buildlink3.mk" 62.include "../../mk/oss.buildlink3.mk"
56.include "../../mk/bsd.pkg.mk" 63.include "../../mk/bsd.pkg.mk"