The following commit has been merged in the master branch:
commit 4c0035089e20a8d6b53547e8897d5abe173af8a1
Author: Stephen M. Webb <[email protected]>
Date:   Fri Dec 9 22:38:50 2011 -0500

    Fixed FTBFS with ld --as-needed (Closes: #641293) (LP: #832918).

diff --git a/debian/changelog b/debian/changelog
index ea04fad..81ecc8a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,8 +9,9 @@ xgalaga (2.1.1.0-4) UNRELEASED; urgency=low
     - ran wrap-and-sort.
   * Converted copyright file to DEP5 format.
   * debian/rules: added build-arch and build-indep targets.
+  * Fixed FTBFS with ld --as-needed (Closes: #641293) (LP: #832918).
 
- -- Stephen M. Webb <[email protected]>  Fri, 09 Dec 2011 20:59:11 
-0500
+ -- Stephen M. Webb <[email protected]>  Fri, 09 Dec 2011 22:36:01 
-0500
 
 xgalaga (2.1.1.0-3) unstable; urgency=low
 
diff --git a/debian/rules b/debian/rules
index b2b134e..7e86b6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,6 @@
 #!/usr/bin/make -f
 
 export CFLAGS=-Wall -g -DXF86VIDMODE
-export LDFLAGS=-lXxf86vm
   
 ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
        CFLAGS += -O0
@@ -20,7 +19,7 @@ build-stamp:
        dh_testdir
        ln -sf /usr/share/misc/config.sub
        ln -sf /usr/share/misc/config.guess
-       ./configure \
+       LIBS=-lXxf86vm ./configure \
                --prefix=/usr/share/games/xgalaga \
                --exec-prefix=/usr/games CFLAGS="$(CFLAGS)" 
        # hack SOUNDDEFS so we don't need symlinks

-- 
Packaging for Xgalaga

_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to