diff options
Diffstat (limited to 'graphics/dia/Makefile')
-rw-r--r-- | graphics/dia/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/dia/Makefile b/graphics/dia/Makefile index 69fd0575d9cb..9bc220594bb9 100644 --- a/graphics/dia/Makefile +++ b/graphics/dia/Makefile @@ -34,7 +34,7 @@ CONFIGURE_ARGS= --enable-gnome .endif 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 ; \ |