aboutsummaryrefslogtreecommitdiff
path: root/finance/gnucash-devel/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'finance/gnucash-devel/Makefile')
-rw-r--r--finance/gnucash-devel/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/finance/gnucash-devel/Makefile b/finance/gnucash-devel/Makefile
index 591a4a4755eb..32d5fd6a4d9b 100644
--- a/finance/gnucash-devel/Makefile
+++ b/finance/gnucash-devel/Makefile
@@ -41,7 +41,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
MAN1= gnc-prices.1 gnucash.1
pre-patch:
- @${PERL} -pi -e 's^-l(pthread|c_r)^-pthread^g ; \
+ @${PERL} -pi -e 's^-l(pthread|c_r)^${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 ; \