aboutsummaryrefslogtreecommitdiff
path: root/games/freeciv/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/freeciv/Makefile')
-rw-r--r--games/freeciv/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/games/freeciv/Makefile b/games/freeciv/Makefile
index 956e6c8504fd..0ce17a95b1fa 100644
--- a/games/freeciv/Makefile
+++ b/games/freeciv/Makefile
@@ -32,7 +32,7 @@ CONFIGURE_ARGS= --disable-gtktest
.endif
pre-patch:
- @${PERL} -pi -e 's|-lpthread|-pthread|g ; \
+ @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g ; \
s|USE_INCLUDED_LIBINTL=yes|#USE_INCLUDED_LIBINTL=yes|g ; \
s|\$$\(top_builddir\)/intl/libintl.a|-lintl|g' ${WRKSRC}/configure