pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/games/quakedata quakedata: switch to lhasa to avoid st...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/66add751b278
branches:  trunk
changeset: 450819:66add751b278
user:      nia <nia%pkgsrc.org@localhost>
date:      Thu Apr 22 09:23:58 2021 +0000

description:
quakedata: switch to lhasa to avoid strange build failure

diffstat:

 games/quakedata/Makefile |  9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diffs (34 lines):

diff -r d63f3da99475 -r 66add751b278 games/quakedata/Makefile
--- a/games/quakedata/Makefile  Thu Apr 22 08:57:59 2021 +0000
+++ b/games/quakedata/Makefile  Thu Apr 22 09:23:58 2021 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.29 2021/04/21 15:34:46 wiz Exp $
+# $NetBSD: Makefile,v 1.30 2021/04/22 09:23:58 nia Exp $
 
 DISTNAME=      quake106
 PKGNAME=       quakedata-1.0
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    games
 MASTER_SITES=  ftp://ftp.fu-berlin.de/pc/msdos/games/idgames/idstuff/quake/
 EXTRACT_SUFX=  .zip
@@ -17,17 +17,16 @@
 NO_BIN_ON_CDROM=       ${RESTRICTED}
 NO_BIN_ON_FTP=         ${RESTRICTED}
 
-BUILD_DEPENDS+=        lha-[0-9]*:../../archivers/lha
+TOOL_DEPENDS+=         lhasa-[0-9]*:../../archivers/lhasa
 
 EXTRACT_ELEMENTS=      resource.*
 
 WRKSRC=                ${WRKDIR}
 NO_BUILD=      YES
-USE_TOOLS+=    lha
 
 post-extract:
        cd ${WRKSRC} && ${CAT} resource.dat resource.1 > resource.exe
-       cd ${WRKDIR} && ${LHA} xfq resource.exe id1/pak0.pak
+       cd ${WRKDIR} && ${PREFIX}/bin/lha xfq resource.exe id1/pak0.pak
 
 do-install:
        ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/quake/id1



Home | Main Index | Thread Index | Old Index