aboutsummaryrefslogtreecommitdiffstats
path: root/games/teg/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/teg/Makefile')
-rw-r--r--games/teg/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/games/teg/Makefile b/games/teg/Makefile
index dcc79bb89c20..66c66024c5d7 100644
--- a/games/teg/Makefile
+++ b/games/teg/Makefile
@@ -21,7 +21,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -lintl"
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 ; \