diff options
author | garbled <garbled@pkgsrc.org> | 2000-12-15 04:55:25 +0000 |
---|---|---|
committer | garbled <garbled@pkgsrc.org> | 2000-12-15 04:55:25 +0000 |
commit | f0aca8cbd3646c2a0b646df65e65ea85a0972b4e (patch) | |
tree | 577f696c2e657842109645ff5fc679d4cf5a38aa /games/pacman | |
parent | ed15bcffd658aef6bc67fae13dbcfd5f02e6680f (diff) | |
download | pkgsrc-f0aca8cbd3646c2a0b646df65e65ea85a0972b4e.tar.gz |
Make this program able to find it's datafiles properly
Diffstat (limited to 'games/pacman')
-rw-r--r-- | games/pacman/Makefile | 4 | ||||
-rw-r--r-- | games/pacman/files/patch-sum | 3 | ||||
-rw-r--r-- | games/pacman/patches/patch-ab | 12 |
3 files changed, 17 insertions, 2 deletions
diff --git a/games/pacman/Makefile b/games/pacman/Makefile index 5535e7bea4e..4cc9dbaabae 100644 --- a/games/pacman/Makefile +++ b/games/pacman/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2000/12/15 03:18:31 garbled Exp $ +# $NetBSD: Makefile,v 1.7 2000/12/15 04:55:25 garbled Exp $ DISTNAME= Pacman-0.3-CVS-00-11-17 PKGNAME= Pacman-0.3 @@ -21,5 +21,7 @@ MAKE_ENV+= LDFLAGS="${LDFLAGS}" CPPFLAGS="${CFLAGS}" pre-configure: cd ${WRKSRC} && autoconf + ${SED} -e 's@/usr/share@${PREFIX}/share@' < ${WRKSRC}/Sources/config.h.in > ${WRKSRC}/foo + ${MV} ${WRKSRC}/foo ${WRKSRC}/Sources/config.h.in .include "../../mk/bsd.pkg.mk" diff --git a/games/pacman/files/patch-sum b/games/pacman/files/patch-sum index 89b8c28c505..a61d7c604d3 100644 --- a/games/pacman/files/patch-sum +++ b/games/pacman/files/patch-sum @@ -1,3 +1,4 @@ -$NetBSD: patch-sum,v 1.2 2000/12/15 03:18:32 garbled Exp $ +$NetBSD: patch-sum,v 1.3 2000/12/15 04:55:25 garbled Exp $ MD5 (patch-aa) = 452b5fc6a093bc5bfbff25cf5f19baaf +MD5 (patch-ab) = dcd8ffb815ebe2438e27c199d70a26f0 diff --git a/games/pacman/patches/patch-ab b/games/pacman/patches/patch-ab new file mode 100644 index 00000000000..a59f3fa2193 --- /dev/null +++ b/games/pacman/patches/patch-ab @@ -0,0 +1,12 @@ +$NetBSD: patch-ab,v 1.3 2000/12/15 04:55:26 garbled Exp $ +--- Sources/pacman.cpp.orig Thu Dec 14 21:51:21 2000 ++++ Sources/pacman.cpp Thu Dec 14 21:51:45 2000 +@@ -54,7 +54,7 @@ + + try + { +- resources = CL_ResourceManager::create("pacman.dat", true); ++ resources = CL_ResourceManager::create(DATAFILE, true); + } + catch (CL_Error err) + { |