From 81ee894207ae304035f267fbecc1091581b4f86b Mon Sep 17 00:00:00 2001 From: snj Date: Fri, 22 May 2009 16:50:00 +0000 Subject: Conditionally add some Linux files to the PLIST. Fixes PR pkg/37690. PKGREVISION not bumped as a binary package would not have been generated before, and all other operating systems are unchanged. --- games/quakeforge/Makefile | 8 ++++++-- games/quakeforge/PLIST | 5 ++++- 2 files changed, 10 insertions(+), 3 deletions(-) (limited to 'games') diff --git a/games/quakeforge/Makefile b/games/quakeforge/Makefile index b8dd6b70b44..6007c5f4615 100644 --- a/games/quakeforge/Makefile +++ b/games/quakeforge/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.20 2008/06/20 01:09:20 joerg Exp $ +# $NetBSD: Makefile,v 1.21 2009/05/22 16:50:00 snj Exp $ DISTNAME= quakeforge-0.5.5 PKGREVISION= 7 @@ -36,11 +36,15 @@ CONFIGURE_ARGS+= --with-ipv6 CONFIGURE_ARGS+= --without-ipv6 .endif -PLIST_VARS+= sunaudio +PLIST_VARS+= sunaudio linux .if ${OPSYS} == "NetBSD" || ${OPSYS} == "SunOS" PLIST.sunaudio= yes .endif +.if ${OPSYS} == "Linux" +PLIST.linux= yes +.endif + INSTALLATION_DIRS= include/QF/GL include/QF/plugin include/QF/ruamoko/gui .include "../../devel/SDL/buildlink3.mk" diff --git a/games/quakeforge/PLIST b/games/quakeforge/PLIST index adc74bc49b7..891ad34105f 100644 --- a/games/quakeforge/PLIST +++ b/games/quakeforge/PLIST @@ -1,6 +1,7 @@ -@comment $NetBSD: PLIST,v 1.7 2008/04/12 22:43:01 jlam Exp $ +@comment $NetBSD: PLIST,v 1.8 2009/05/22 16:50:00 snj Exp $ bin/bsp2img bin/hw-master +${PLIST.linux}bin/nq-fbdev bin/nq-glx bin/nq-sdl bin/nq-sdl32 @@ -17,6 +18,7 @@ bin/qfprogs bin/qfvis bin/qfwavinfo bin/qtv +${PLIST.linux}/bin/qw-client-fbdev bin/qw-client-glx bin/qw-client-sdl bin/qw-client-sdl32 @@ -173,6 +175,7 @@ lib/libQFruamoko.la lib/libQFsound.la lib/libQFutil.la lib/quakeforge/cd_file.la +${PLIST.linux}lib/quakeforge/cd_linux.la lib/quakeforge/cd_sdl.la lib/quakeforge/console_client.la lib/quakeforge/console_server.la -- cgit v1.2.3