diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /games-arcade/pachi/files | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'games-arcade/pachi/files')
-rw-r--r-- | games-arcade/pachi/files/1.0-autotools.patch | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/games-arcade/pachi/files/1.0-autotools.patch b/games-arcade/pachi/files/1.0-autotools.patch new file mode 100644 index 000000000000..0d0185f142f3 --- /dev/null +++ b/games-arcade/pachi/files/1.0-autotools.patch @@ -0,0 +1,46 @@ +--- configure.in ++++ configure.in +@@ -1,5 +1,7 @@ + # Process this file with autoconf to produce a configure script. ++AC_PREREQ([2.54]) + AC_INIT(src/faes.cpp, 0.1, T-1000@Bigfoot.com) ++AC_CANONICAL_SYSTEM + AM_INIT_AUTOMAKE(pachi, 0.1) + AM_CONFIG_HEADER(config.h) + +@@ -44,7 +46,7 @@ + SCOREDIR="." + else + DATADIR="$datadir/$PACKAGE" +- SCOREDIR="/var/lib/games/$PACKAGE" ++ SCOREDIR="$localstatedir/$PACKAGE" + fi + + eval DATAPATH=`eval echo "$DATADIR"` +--- data/Makefile.am ++++ data/Makefile.am +@@ -10,13 +10,13 @@ + objects_v2.dat \ + rooms_v2.dat + +-score_DATA = \ ++score_DATA_ = \ + scores.dat + +-EXTRA_DIST = $(dat_DATA) $(score_DATA) ++EXTRA_DIST = $(dat_DATA) $(score_DATA_) + + install-data-local: +- for file in $(score_DATA); do\ +- chgrp $(group) $(scoredir)/$$file; \ +- chmod $(perms) $(scoredir)/$$file; \ +- done ++ $(mkinstalldirs) $(DESTDIR)$(scoredir) ++ for file in $(score_DATA_); do \ ++ $(INSTALL) -g $(group) -m $(perms) $$file $(DESTDIR)$(scoredir); \ ++ done +--- Makefile.am ++++ Makefile.am +@@ -1 +1 @@ +-SUBDIRS = src Tgfx data fonts music sounds docs ++SUBDIRS = src Tgfx data fonts music sounds |