aboutsummaryrefslogtreecommitdiff
path: root/games/gnomegames/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/gnomegames/Makefile')
-rw-r--r--games/gnomegames/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/games/gnomegames/Makefile b/games/gnomegames/Makefile
index 83b8044bef9c..3fc21bbd6026 100644
--- a/games/gnomegames/Makefile
+++ b/games/gnomegames/Makefile
@@ -25,7 +25,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
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 ; \