diff options
Diffstat (limited to 'graphics/xmps/Makefile')
-rw-r--r-- | graphics/xmps/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/xmps/Makefile b/graphics/xmps/Makefile index 36b9123f82d5..8c4339620bb7 100644 --- a/graphics/xmps/Makefile +++ b/graphics/xmps/Makefile @@ -25,12 +25,12 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" pre-patch: - @${PERL} -pi -e "s|-lpthread|-pthread|g" ${WRKSRC}/configure + @${PERL} -pi -e "s|-lpthread|${PTHREAD_LIBS}|g" ${WRKSRC}/configure @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \ 's|\$$\(datadir\)/gnome/|\$$\(datadir\)/|g ; \ s|\$$\(datadir\)/aclocal|\$$\(prefix\)/share/aclocal|g ; \ s|\$$\(datadir\)/locale|\$$\(prefix\)/share/locale|g ; \ - s|-lpthread|-pthread|g' + s|-lpthread|${PTHREAD_LIBS}|g' post-configure: @${PERL} -pi -e 's|^deplibs_check_method=.*|deplibs_check_method=pass_all|' \ |