aboutsummaryrefslogtreecommitdiffstats
path: root/games/gcompris/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/gcompris/Makefile')
-rw-r--r--games/gcompris/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/games/gcompris/Makefile b/games/gcompris/Makefile
index bff3bd41d429..af91c737b956 100644
--- a/games/gcompris/Makefile
+++ b/games/gcompris/Makefile
@@ -8,7 +8,7 @@
PORTNAME= gcompris
DISTVERSION= 8.4.5
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= games gnome
MASTER_SITES= SF/gcompris
@@ -54,6 +54,8 @@ CONFIGURE_ENV+= DISPLAY="localhost:1001"
post-patch:
@${REINPLACE_CMD} -e 's|echo aout|echo elf|g' \
${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \
+ ${WRKSRC}/src/gcompris/gcompris.c
@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
's|-DGNOME_DISABLE_DEPRECATED||g'