Made the ebuild respect USE=dedicated and also adjusted the path patch. Closing...
authorChris Gianelloni <wolf31o2@gentoo.org>
Thu, 3 Nov 2005 18:30:24 +0000 (18:30 +0000)
committerChris Gianelloni <wolf31o2@gentoo.org>
Thu, 3 Nov 2005 18:30:24 +0000 (18:30 +0000)
Package-Manager: portage-2.0.53_rc6

games-fps/quake2-icculus/ChangeLog
games-fps/quake2-icculus/Manifest
games-fps/quake2-icculus/files/quake2-icculus-0.16.1-gentoo-paths.patch
games-fps/quake2-icculus/quake2-icculus-0.16.1.ebuild

index 4c4f3f786040ff86754a7e5f8168d768dad6fbe7..82ed1bce7423cec3a14a14803df685d3c1a6ce23 100644 (file)
@@ -1,6 +1,13 @@
 # ChangeLog for games-fps/quake2-icculus
 # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/quake2-icculus/ChangeLog,v 1.16 2005/09/01 02:34:38 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quake2-icculus/ChangeLog,v 1.17 2005/11/03 18:30:24 wolf31o2 Exp $
+
+  03 Nov 2005; Chris Gianelloni <wolf31o2@gentoo.org>
+  files/quake2-icculus-0.16.1-gentoo-paths.patch,
+  quake2-icculus-0.16.1.ebuild:
+  Made the ebuild respect USE=dedicated and also adjusted the path patch.
+  Closing bug #104613. Thanks to Paul Bredbury and Tuomas Suutari for finding
+  and fixing these.
 
   01 Sep 2005; Mike Frysinger <vapier@gentoo.org>
   quake2-icculus-0.16.1.ebuild:
index d92e62c4544509761864bf07a73b292d8fed88e6..881b43d99a3c7251ae6bb7acc4db458ce3a8afab 100644 (file)
@@ -1,19 +1,9 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 588496390ebe85582924126956f0c5a4 quake2-icculus-0.16.1.ebuild 4428
-MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
-MD5 d666d4c7e1d052081181543885db4ffd ChangeLog 3178
-MD5 799bccbb58711b8831aeaeaa3142b965 files/digest-quake2-icculus-0.16.1 250
+MD5 9e14e81431a029df748fbdf29634c856 ChangeLog 3489
 MD5 a9abc17ddbcfc3e70d9b57276eaccfba files/0.16-rogue-nan.patch 242
-MD5 e3666835a5f4b277940d15f143792c33 files/quake2-icculus-0.16.1-gentoo-paths.patch 6855
 MD5 74cb73011282b923820f35f8450ba583 files/README-postinstall 3083
+MD5 799bccbb58711b8831aeaeaa3142b965 files/digest-quake2-icculus-0.16.1 250
 MD5 2df7805117c32223db23d0ae9c61881e files/quake2-icculus-0.16.1-amd64.patch 534
+MD5 8ca258baafe8f83f1ce63d9abe0b5bb6 files/quake2-icculus-0.16.1-gentoo-paths.patch 7688
 MD5 4b84093c6bccf958d3ca1b865c3f9402 files/quake2.xpm 1234
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2 (GNU/Linux)
-
-iD8DBQFDFmjagIKl8Uu19MoRApe3AJ9xAwLZHj8z6a8L5aDF1JGsfGijNgCcCfbf
-Lkq15HlIktvjxZEpijssxew=
-=X14t
------END PGP SIGNATURE-----
+MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
+MD5 ebcc49cdb3fd2ba8bad222830c06365f quake2-icculus-0.16.1.ebuild 4445
index 4e126c39338a2ca4ddd012bca1e6555fb596ac27..c017051583b83cdfb44a9fc1ce115319ec335b1e 100644 (file)
@@ -5,7 +5,7 @@ retrieving revision 1.56
 diff -u -p -r1.56 Makefile
 --- Makefile   5 May 2005 22:23:34 -0000       1.56
 +++ Makefile   29 Aug 2005 22:52:28 -0000
-@@ -74,35 +74,38 @@ endif
+@@ -74,35 +74,46 @@ endif
  
  CC=gcc
  
@@ -47,6 +47,14 @@ diff -u -p -r1.56 Makefile
  endif
 +endif
 +RELEASE_CFLAGS=$(BASE_CFLAGS) $(OPT_CFLAGS)
++
++ifeq ($(ADDCFLAGS),debug)
++CFLAGS=$(DEBUG_CFLAGS) -DLINUX_VERSION=\"$(VERSION) Debug\"
++endif
++
++ifeq ($(ADDCFLAGS),release)
++CFLAGS=$(RELEASE_CFLAGS) -DLINUX_VERSION=\"$(VERSION)\"
++endif
  
  VERSION=3.21+r0.16
  
@@ -55,15 +63,33 @@ diff -u -p -r1.56 Makefile
  endif
  
 +ifdef DEFAULT_BASEDIR
-+BASE_CFLAGS += -DDEFAULT_BASEDIR='\"$(DEFAULT_BASEDIR)\"'
++BASE_CFLAGS += -DDEFAULT_BASEDIR=\"$(DEFAULT_BASEDIR)\"
 +endif
 +ifdef DEFAULT_LIBDIR
-+BASE_CFLAGS += -DDEFAULT_LIBDIR='\"$(DEFAULT_LIBDIR)\"'
++BASE_CFLAGS += -DDEFAULT_LIBDIR=\"$(DEFAULT_LIBDIR)\"
 +endif
 +
  ifeq ($(strip $(BUILD_QMAX)),YES)
        BASE_CFLAGS+=-DQMAX
  endif
+@@ -406,7 +424,7 @@
+               $(BUILD_DEBUG_DIR)/ctf \
+               $(BUILD_DEBUG_DIR)/xatrix \
+               $(BUILD_DEBUG_DIR)/rogue
+-      $(MAKE) targets BUILDDIR=$(BUILD_DEBUG_DIR) CFLAGS="$(DEBUG_CFLAGS) -DLINUX_VERSION='\"$(VERSION) Debug\"'"
++      $(MAKE) targets BUILDDIR=$(BUILD_DEBUG_DIR) ADDCFLAGS=debug
+ 
+ build_release:
+       @-mkdir -p $(BUILD_RELEASE_DIR) \
+@@ -418,7 +436,7 @@
+               $(BUILD_RELEASE_DIR)/ctf \
+               $(BUILD_RELEASE_DIR)/xatrix \
+               $(BUILD_RELEASE_DIR)/rogue
+-      $(MAKE) targets BUILDDIR=$(BUILD_RELEASE_DIR) CFLAGS="$(RELEASE_CFLAGS) -DLINUX_VERSION='\"$(VERSION)\"'"
++      $(MAKE) targets BUILDDIR=$(BUILD_RELEASE_DIR) ADDCFLAGS=release
+ 
+ targets: $(TARGETS)
+ 
 Index: src/linux/qgl_linux.c
 ===================================================================
 RCS file: /cvs/cvsroot/quake2/src/linux/qgl_linux.c,v
index 4ed0c3e3543568a47c117195c651fb0b4458a033..c136d35e54b89929683383f5803f146f0039ea76 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/quake2-icculus/quake2-icculus-0.16.1.ebuild,v 1.8 2005/09/01 02:34:38 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quake2-icculus/quake2-icculus-0.16.1.ebuild,v 1.9 2005/11/03 18:30:24 wolf31o2 Exp $
 
 inherit eutils games
 
@@ -90,7 +90,7 @@ src_compile() {
                        BUILD_XATRIX=$(yesno xatrix) \
                        BUILD_ROGUE=$(yesno rogue) \
                        BUILD_JOYSTICK=$(yesno joystick) \
-                       BUILD_DEDICATED=YES \
+                       BUILD_DEDICATED=$(yesno dedicated) \
                        BUILD_AA=$(yesno aalib) \
                        BUILD_QMAX=${BUILD_QMAX} \
                        HAVE_IPV6=$(yesno ipv6) \