aboutsummaryrefslogtreecommitdiff
path: root/sysutils/medusa/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/medusa/Makefile')
-rw-r--r--sysutils/medusa/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysutils/medusa/Makefile b/sysutils/medusa/Makefile
index 415adf7c8591..a09ddce7fa3e 100644
--- a/sysutils/medusa/Makefile
+++ b/sysutils/medusa/Makefile
@@ -26,7 +26,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
LIBS="-L${LOCALBASE}/lib -L${X11BASE}/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 ; \