diff options
Diffstat (limited to 'games/pioneers')
-rw-r--r-- | games/pioneers/Makefile | 7 | ||||
-rw-r--r-- | games/pioneers/files/patch-aa | 20 |
2 files changed, 9 insertions, 18 deletions
diff --git a/games/pioneers/Makefile b/games/pioneers/Makefile index 376ed1c8b007..6453457c3e3c 100644 --- a/games/pioneers/Makefile +++ b/games/pioneers/Makefile @@ -28,4 +28,11 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ GTK_CONFIG="${GTK_CONFIG}" \ LIBS="-L${LOCALBASE}/lib" +pre-patch: + @${PERL} -pi -e 's|-lpthread|-pthread|g ; \ + s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure + @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \ + 's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \ + s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g' + .include <bsd.port.mk> diff --git a/games/pioneers/files/patch-aa b/games/pioneers/files/patch-aa index 46731c9e5492..ac13f43362bb 100644 --- a/games/pioneers/files/patch-aa +++ b/games/pioneers/files/patch-aa @@ -1,23 +1,7 @@ --- client/Makefile.in.orig Sun Jun 18 19:05:24 2000 -+++ client/Makefile.in Thu Jun 22 13:49:47 2000 -@@ -101,9 +101,9 @@ - - pixmapdir = $(datadir)/pixmaps/gnocatan - appicondir = $(datadir)/pixmaps --Gamesdir = $(datadir)/gnome/apps/Games -+Gamesdir = $(datadir)/apps/Games ++++ client/Makefile.in Fri Sep 1 11:57:51 2000 +@@ -105,3 +105,3 @@ -SUBDIRS = help +SUBDIRS = # help - bin_PROGRAMS = gnocatan - -@@ -115,7 +115,7 @@ - @ADMIN_GTK_SUPPORT_TRUE@ADMIN_GTK_FILES_INACTIVE = - @ADMIN_GTK_SUPPORT_FALSE@ADMIN_GTK_FILES_INACTIVE = admin-gtk.c - --INCLUDES = -I$(srcdir)/../common -I. -DGNOMELOCALEDIR=\""$(datadir)/locale"\" $(ADMIN_GTK) -I$(includedir) $(GNOME_INCLUDEDIR) -+INCLUDES = -I$(srcdir)/../common -I. -DGNOMELOCALEDIR=\""$(prefix)/share/locale"\" $(ADMIN_GTK) -I$(includedir) $(GNOME_INCLUDEDIR) - - - EXTRA_gnocatan_SOURCES = $(ADMIN_GTK_FILES_INACTIVE) |