summaryrefslogtreecommitdiff
path: root/finance/emma/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'finance/emma/Makefile')
-rw-r--r--finance/emma/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/finance/emma/Makefile b/finance/emma/Makefile
index 44af09361aeb..69055e2c333d 100644
--- a/finance/emma/Makefile
+++ b/finance/emma/Makefile
@@ -27,7 +27,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|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \