aboutsummaryrefslogtreecommitdiff
path: root/games/pioneers/Makefile
diff options
context:
space:
mode:
authorAde Lovett <ade@FreeBSD.org>2000-09-01 18:21:24 +0000
committerAde Lovett <ade@FreeBSD.org>2000-09-01 18:21:24 +0000
commit36cb187fb4edb99fdb5ae5a95f3992540fad68ed (patch)
tree285d22eeee5c61964a2ac21bd755087afb5a2959 /games/pioneers/Makefile
parent7797cbad37ed7a496b374d376b935b1c57f5a26c (diff)
downloadports-36cb187fb4edb99fdb5ae5a95f3992540fad68ed.tar.gz
ports-36cb187fb4edb99fdb5ae5a95f3992540fad68ed.zip
GNOME cleanups
Notes
Notes: svn path=/head/; revision=32183
Diffstat (limited to 'games/pioneers/Makefile')
-rw-r--r--games/pioneers/Makefile7
1 files changed, 7 insertions, 0 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>