diff options
Diffstat (limited to 'math')
-rw-r--r-- | math/gnumeric/Makefile | 2 | ||||
-rw-r--r-- | math/gnumeric2/Makefile | 2 | ||||
-rw-r--r-- | math/scigraphica/Makefile | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/math/gnumeric/Makefile b/math/gnumeric/Makefile index 026392377a86..d43debd5d1e5 100644 --- a/math/gnumeric/Makefile +++ b/math/gnumeric/Makefile @@ -33,7 +33,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ PLIST_SUB= VERSION=${PORTVERSION} 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/math/gnumeric2/Makefile b/math/gnumeric2/Makefile index 026392377a86..d43debd5d1e5 100644 --- a/math/gnumeric2/Makefile +++ b/math/gnumeric2/Makefile @@ -33,7 +33,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ PLIST_SUB= VERSION=${PORTVERSION} 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/math/scigraphica/Makefile b/math/scigraphica/Makefile index eca1982b8926..d924cf20e833 100644 --- a/math/scigraphica/Makefile +++ b/math/scigraphica/Makefile @@ -30,7 +30,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 ; \ |