summaryrefslogtreecommitdiff
path: root/sysutils/gnomefind/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/gnomefind/Makefile')
-rw-r--r--sysutils/gnomefind/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysutils/gnomefind/Makefile b/sysutils/gnomefind/Makefile
index cb3399c4bf3d..3d9df3d28fd4 100644
--- a/sysutils/gnomefind/Makefile
+++ b/sysutils/gnomefind/Makefile
@@ -26,7 +26,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
MAN1= gnome-find.1
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 ; \