pkgsrc-Bugs archive

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

pkg/39984: [patch] destdir support for games/xbomb



>Number:         39984
>Category:       pkg
>Synopsis:       [patch] destdir support for games/xbomb
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 20 19:00:01 +0000 2008
>Originator:     cheusov%tut.by@localhost
>Release:        NetBSD 4.0_STABLE
>Organization:
>Environment:
System: NetBSD chen.chizhovka.net 4.0_STABLE NetBSD 4.0_STABLE (GENERIC) #3: 
Sun Oct 19 20:54:51 EEST 2008 
cheusov%chen.chizhovka.net@localhost:/srv/obj/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
patch for destdir support (tested under NetBSD)
>Fix:

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/games/xbomb/Makefile,v
retrieving revision 1.13
diff -u -r1.13 Makefile
--- Makefile    10 Nov 2008 17:21:35 -0000      1.13
+++ Makefile    20 Nov 2008 18:54:43 -0000
@@ -10,9 +10,12 @@
 HOMEPAGE=      http://www.gedanken.demon.co.uk/xbomb/
 COMMENT=       Square, hexagonal, and triangual minesweeper clone
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 USE_TOOLS+=            gmake
 BUILD_TARGET=          xbomb
 MAKE_ENV+=             SCORE_PATH=${SCORE_PATH:Q}
+INSTALL_MAKE_FLAGS+=   INSTDIR=${DESTDIR}${PREFIX}
 
 SCORE_PATH=    ${VARBASE}/games/xbomb
 SCORE_USER=    games



Home | Main Index | Thread Index | Old Index