pkgsrc-Bugs archive

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

pkg/40304: patch games/xgalaga



>Number:         40304
>Category:       pkg
>Synopsis:       patch games/xgalaga
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 30 23:05:00 +0000 2008
>Originator:     Tim Larson
>Release:        
>Organization:
>Environment:
SunOS marcie 5.9 Generic_118558-34 sun4u sparc SUNW,Ultra-5_10
>Description:
Xgalaga doesn't build on Solaris.

Changed patch-ab to fix the typo, and update Makefile with DESTDIR support.
>How-To-Repeat:

>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/games/xgalaga/Makefile,v
retrieving revision 1.32
diff -u -p -r1.32 Makefile
--- Makefile    19 Jan 2008 09:16:23 -0000      1.32
+++ Makefile    30 Dec 2008 23:00:10 -0000
@@ -8,6 +8,8 @@ MASTER_SITES=           ${MASTER_SITE_LOCAL}
 MAINTAINER=            pkgsrc-users%NetBSD.org@localhost
 COMMENT=               Very fast true-to-the-original port of galaga for X11

+PKG_DESTDIR_SUPPORT=   user-destdir
+
 NO_SRC_ON_FTP=         "already in MASTER_SITE_LOCAL"

 GNU_CONFIGURE=         YES
@@ -20,7 +22,7 @@ MAKE_ENV+=            GAMEOWN=${GAMEOWN:Q} GAMEGRP
 INSTALLATION_DIRS=     libexec

 post-install:
-       ${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/xgalaga/README
+       ${INSTALL_MAN} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/xgalaga/README

 .include "../../x11/libXmu/buildlink3.mk"
 .include "../../x11/libXpm/buildlink3.mk"
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/games/xgalaga/distinfo,v
retrieving revision 1.10
diff -u -p -r1.10 distinfo
--- distinfo    2 Jul 2006 14:36:19 -0000       1.10
+++ distinfo    30 Dec 2008 23:00:10 -0000
@@ -4,7 +4,7 @@ SHA1 (xgalaga-2.0.34.tar.gz) = 82dcb328a
 RMD160 (xgalaga-2.0.34.tar.gz) = bf2cc91820c1cdb8e02bd35347b309cac27b3ba4
 Size (xgalaga-2.0.34.tar.gz) = 314189 bytes
 SHA1 (patch-aa) = 5857b8641701bc34a97fbca31411478c0c47501a
-SHA1 (patch-ab) = 75c407d95d4ab4b7dad6625050439eda5a012839
+SHA1 (patch-ab) = d96f102ff438dcde0e61bc6314bdd049091209e5
 SHA1 (patch-ac) = ca85bafaa637fc03d1c53a527c7804a95c146fe3
 SHA1 (patch-ad) = 22b946b261c4d0969e48bf5de1ba0d55c3649bb8
 SHA1 (patch-ae) = 2e9f31a279aa5ecd14a0843dc18d151e7990aed0
Index: patches/patch-ab
===================================================================
RCS file: /cvsroot/pkgsrc/games/xgalaga/patches/patch-ab,v
retrieving revision 1.2
diff -u -p -r1.2 patch-ab
--- patches/patch-ab    13 Jan 2006 02:02:50 -0000      1.2
+++ patches/patch-ab    30 Dec 2008 23:00:10 -0000
@@ -1,8 +1,6 @@
-$NetBSD: patch-ab,v 1.2 2006/01/13 02:02:50 joerg Exp $
-
---- configure.orig     1998-05-11 07:02:12.000000000 +0000
-+++ configure
-@@ -1810,9 +1810,15 @@ if test -n "$sound-type"; then
+--- configure.orig     Mon May 11 02:02:12 1998
++++ configure  Tue Dec 30 16:45:21 2008
+@@ -1810,9 +1810,15 @@
      *linux*)
        sound_type=native
        ;;
@@ -18,7 +16,7 @@ $NetBSD: patch-ab,v 1.2 2006/01/13 02:02
      *sunos*)
          sound_type=native
          ;;
-@@ -1839,7 +1845,7 @@ EOF
+@@ -1839,7 +1845,7 @@
  EOF

        ;;
@@ -27,7 +25,7 @@ $NetBSD: patch-ab,v 1.2 2006/01/13 02:02
          SOUNDSERVER=xgal.sndsrv.freebsd
        cat >> confdefs.h <<\EOF
  #define SOUNDDEV "/dev/dsp"
-@@ -1850,6 +1856,16 @@ EOF
+@@ -1850,8 +1856,18 @@
  EOF

        ;;
@@ -42,5 +40,17 @@ $NetBSD: patch-ab,v 1.2 2006/01/13 02:02
 +
 +      ;;
        *sunos*)
-         SOUNDSERVER=xgal.sndsrv.sun.c
+-        SOUNDSERVER=xgal.sndsrv.sun.c
++        SOUNDSERVER=xgal.sndsrv.sun
        cat >> confdefs.h <<\EOF
+ #define SOUNDDEV "/dev/audio"
+ EOF
+@@ -1862,7 +1878,7 @@
+
+       ;;
+       *solaris*)
+-        SOUNDSERVER=xgal.sndsrv.sun.c
++        SOUNDSERVER=xgal.sndsrv.sun
+       cat >> confdefs.h <<\EOF
+ #define SOUNDDEV "/dev/audio"
+ EOF



Home | Main Index | Thread Index | Old Index