aboutsummaryrefslogtreecommitdiff
path: root/games/gnomememoryblocks/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/gnomememoryblocks/Makefile')
-rw-r--r--games/gnomememoryblocks/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/games/gnomememoryblocks/Makefile b/games/gnomememoryblocks/Makefile
index 2ff6489043c7..4e376c16f6ce 100644
--- a/games/gnomememoryblocks/Makefile
+++ b/games/gnomememoryblocks/Makefile
@@ -21,7 +21,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 ; \