aboutsummaryrefslogtreecommitdiff
path: root/games/atomix
diff options
context:
space:
mode:
Diffstat (limited to 'games/atomix')
-rw-r--r--games/atomix/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/games/atomix/Makefile b/games/atomix/Makefile
index 18d3abb7651b..3abba5fa2085 100644
--- a/games/atomix/Makefile
+++ b/games/atomix/Makefile
@@ -19,7 +19,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 ; \