pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/quakeforge Conditionally add some Linux files to...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/12aa3bf1871a
branches:  trunk
changeset: 393640:12aa3bf1871a
user:      snj <snj%pkgsrc.org@localhost>
date:      Fri May 22 16:50:00 2009 +0000

description:
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.

diffstat:

 games/quakeforge/Makefile |  8 ++++++--
 games/quakeforge/PLIST    |  5 ++++-
 2 files changed, 10 insertions(+), 3 deletions(-)

diffs (54 lines):

diff -r a6d594ec5809 -r 12aa3bf1871a games/quakeforge/Makefile
--- a/games/quakeforge/Makefile Fri May 22 10:41:24 2009 +0000
+++ b/games/quakeforge/Makefile Fri May 22 16:50:00 2009 +0000
@@ -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+=       --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 -r a6d594ec5809 -r 12aa3bf1871a games/quakeforge/PLIST
--- a/games/quakeforge/PLIST    Fri May 22 10:41:24 2009 +0000
+++ b/games/quakeforge/PLIST    Fri May 22 16:50:00 2009 +0000
@@ -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/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/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



Home | Main Index | Thread Index | Old Index