aboutsummaryrefslogtreecommitdiffstats
path: root/misc/grdb/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'misc/grdb/Makefile')
-rw-r--r--misc/grdb/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/grdb/Makefile b/misc/grdb/Makefile
index 2a8bbca84e2f..ade1426afbeb 100644
--- a/misc/grdb/Makefile
+++ b/misc/grdb/Makefile
@@ -31,7 +31,7 @@ CONFIGURE_ARGS= --disable-gnome
.endif
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 ; \