summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-board/gnubg/files/gnubg-20090817-build.patch')
-rw-r--r--games-board/gnubg/files/gnubg-20090817-build.patch53
1 files changed, 53 insertions, 0 deletions
diff --git a/games-board/gnubg/files/gnubg-20090817-build.patch b/games-board/gnubg/files/gnubg-20090817-build.patch
new file mode 100644
index 000000000000..089d23597cde
--- /dev/null
+++ b/games-board/gnubg/files/gnubg-20090817-build.patch
@@ -0,0 +1,53 @@
+diff -ru gnubg.orig/Makefile.am gnubg/Makefile.am
+--- gnubg.orig/Makefile.am 2009-08-08 22:30:04.000000000 -0400
++++ gnubg/Makefile.am 2009-08-20 02:13:01.696689411 -0400
+@@ -2,9 +2,9 @@
+
+ ACLOCAL_AMFLAGS = -I m4
+
+-AM_CPPFLAGS = -DDOCDIR='"$(datadir)/doc/gnubg/"' -DDATADIR='"$(datadir)"' -DPKGDATADIR='"$(datadir)/gnubg"'
++AM_CPPFLAGS = -DDOCDIR='"@docdir@/"' -DDATADIR='"$(datadir)"' -DPKGDATADIR='"$(datadir)/gnubg"'
+
+-SUBDIRS = lib doc met po m4 xpm sounds board3d textures scripts flags fonts non-src pixmaps .
++SUBDIRS = lib doc met po m4 xpm sounds board3d textures scripts flags non-src pixmaps .
+
+ bin_PROGRAMS = gnubg makebearoff makehyper bearoffdump makeweights
+
+diff -ru gnubg.orig/doc/Makefile.am gnubg/doc/Makefile.am
+--- gnubg.orig/doc/Makefile.am 2009-08-08 22:30:05.000000000 -0400
++++ gnubg/doc/Makefile.am 2009-08-20 02:10:53.969939597 -0400
+@@ -1,6 +1,6 @@
+-AM_CPPFLAGS = -DDOCDIR='"$(datadir)/doc/gnubg/"' -DDATADIR='"$(datadir)"' -DPKGDATADIR='"$(datadir)/gnubg"'
+-gnubg_helpdir = $(datadir)/doc/gnubg/
+-gnubg_imagedir = $(datadir)/doc/gnubg/images
++AM_CPPFLAGS = -DDOCDIR='"@docdir@/"' -DDATADIR='"$(datadir)"' -DPKGDATADIR='"$(datadir)/gnubg"'
++gnubg_helpdir = @docdir@/
++gnubg_imagedir = @docdir@/images
+ gnubg_help_DATA = gnubg.html allabout.html
+ gnubg_image_DATA = images/1540d81e.png images/16d7944c.png images/1805dc7d.png \
+ images/20bc52ca.png images/20d56757.png images/234924dc.png images/26e34ea5.png \
+diff -ru gnubg.orig/pixmaps/Makefile.am gnubg/pixmaps/Makefile.am
+--- gnubg.orig/pixmaps/Makefile.am 2008-12-08 22:30:08.000000000 -0500
++++ gnubg/pixmaps/Makefile.am 2009-08-20 02:12:00.050689327 -0400
+@@ -1,5 +1,5 @@
+-gnubgiconsdir = $(datadir)
+-gnubgpixmapsdir = $(pkgdatadir)/pixmaps
++gnubgiconsdir = /usr/share
++gnubgpixmapsdir = /usr/share/pixmaps
+
+ ICONS_16_SCALABLE = icons/hicolor/16x16/apps/scalable/gnubg.svg
+ ICONS_16 = icons/hicolor/16x16/apps/gnubg.png
+diff -ru gnubg.orig/po/Makefile.in.in gnubg/po/Makefile.in.in
+--- gnubg.orig/po/Makefile.in.in 2008-09-29 22:30:08.000000000 -0400
++++ gnubg/po/Makefile.in.in 2009-08-20 02:09:51.838814286 -0400
+@@ -28,8 +28,8 @@
+ datarootdir = @datarootdir@
+ datadir = @datadir@
+ libdir = @libdir@
+-localedir = $(libdir)/locale
+-gnulocaledir = $(datadir)/locale
++localedir = @localedir@
++gnulocaledir = @localedir@
+ gettextsrcdir = $(datadir)/glib-2.0/gettext/po
+ subdir = po
+