summaryrefslogtreecommitdiffstats
path: root/mail/mmc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mmc/Makefile')
-rw-r--r--mail/mmc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/mmc/Makefile b/mail/mmc/Makefile
index b5d34b4..c5278b6 100644
--- a/mail/mmc/Makefile
+++ b/mail/mmc/Makefile
@@ -23,7 +23,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-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|\$$\(gnomedatadir\)/gnome/|\$$\(datadir\)/|g ; \
OpenPOWER on IntegriCloud