From 6e2b9def0c49c3e565a14f5987fd3e9f46d285c6 Mon Sep 17 00:00:00 2001 From: sobomax Date: Thu, 29 Mar 2001 16:35:19 +0000 Subject: -pthread --> ${PTHREAD_LIBS} -D_THREAD_SAFE --> ${PTHREAD_CFLAGS} Note: my first intention was to test this out on bento/beta, but per ade's requiest I opted to do it quickly. --- finance/emma/Makefile | 2 +- finance/gnofin/Makefile | 2 +- finance/gnomepm/Makefile | 2 +- finance/gnucash-devel/Makefile | 2 +- finance/gnucash/Makefile | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'finance') 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 ; \ diff --git a/finance/gnofin/Makefile b/finance/gnofin/Makefile index 1fa7f102328e..d170faf3d953 100644 --- a/finance/gnofin/Makefile +++ b/finance/gnofin/Makefile @@ -23,7 +23,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ MAN1= gnofin.1 pre-patch: - @${PERL} -pi -e 's|-lpthread|-pthread|g ; \ + @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ s|DATADIRNAME=lib|DATADIRNAME=share|g ; \ s|USE_INCLUDED_LIBINTL=yes|#USE_INCLUDED_LIBINTL=yes|g ; \ s|\$$\(top_builddir\)/intl/libintl.a|-lintl|g' ${WRKSRC}/configure diff --git a/finance/gnomepm/Makefile b/finance/gnomepm/Makefile index d6bf14ce61c2..581379ff5acf 100644 --- a/finance/gnomepm/Makefile +++ b/finance/gnomepm/Makefile @@ -24,7 +24,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LIBS="-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 ; \ 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 ; \ diff --git a/finance/gnucash/Makefile b/finance/gnucash/Makefile index 591a4a4755eb..32d5fd6a4d9b 100644 --- a/finance/gnucash/Makefile +++ b/finance/gnucash/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 ; \ -- cgit