summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-board/gnubg/files/gnubg-20121201-build.patch')
-rw-r--r--games-board/gnubg/files/gnubg-20121201-build.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/games-board/gnubg/files/gnubg-20121201-build.patch b/games-board/gnubg/files/gnubg-20121201-build.patch
new file mode 100644
index 000000000000..2ada67ca7424
--- /dev/null
+++ b/games-board/gnubg/files/gnubg-20121201-build.patch
@@ -0,0 +1,36 @@
+diff -ru gnubg.orig/Makefile.am gnubg/Makefile.am
+--- gnubg.orig/Makefile.am 2012-10-08 22:40:06.000000000 -0400
++++ gnubg/Makefile.am 2012-12-04 15:39:12.871440413 -0500
+@@ -21,7 +21,7 @@
+ AM_CPPFLAGS += @PYTHON_INCLUDES@
+ endif
+
+-AM_CPPFLAGS += -DAC_DOCDIR='"$(datadir)/doc/gnubg/"' -DAC_DATADIR='"$(datadir)"' -DAC_PKGDATADIR='"$(datadir)/gnubg"'
++AM_CPPFLAGS += -DAC_DOCDIR='"@docdir@"' -DAC_DATADIR='"$(datadir)"' -DAC_PKGDATADIR='"$(datadir)/gnubg"'
+
+ OTHER_LIBS =
+ if WIN32
+diff -ru gnubg.orig/doc/Makefile.am gnubg/doc/Makefile.am
+--- gnubg.orig/doc/Makefile.am 2011-08-16 04:27:54.000000000 -0400
++++ gnubg/doc/Makefile.am 2012-12-04 15:39:58.373743258 -0500
+@@ -1,6 +1,6 @@
+-AM_CPPFLAGS = -DAC_DOCDIR='"$(datadir)/doc/gnubg/"' -DAC_DATADIR='"$(datadir)"' -DAC_PKGDATADIR='"$(datadir)/gnubg"'
+-gnubg_helpdir = $(datadir)/doc/gnubg/
+-gnubg_imagedir = $(datadir)/doc/gnubg/images
++AM_CPPFLAGS = -DAC_DOCDIR='"@docdir@"' -DAC_DATADIR='"$(datadir)"' -DAC_PKGDATADIR='"$(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 2012-10-07 22:40:05.000000000 -0400
++++ gnubg/pixmaps/Makefile.am 2012-12-04 15:40:37.812274970 -0500
+@@ -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