aboutsummaryrefslogtreecommitdiff
path: root/games/gcompris2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/gcompris2/Makefile')
-rw-r--r--games/gcompris2/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/games/gcompris2/Makefile b/games/gcompris2/Makefile
index 8c4c8e4ef96e..7925c5f06bd7 100644
--- a/games/gcompris2/Makefile
+++ b/games/gcompris2/Makefile
@@ -29,7 +29,7 @@ post-extract:
@${RM} -f ${WRKSRC}/config.cache
pre-patch:
- @${PERL} -pi -e 's|-lpthread|-pthread|g ; \
+ @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
's|\$$\(datadir\)/gnome/|\$$\(datadir\)/|g ; \