aboutsummaryrefslogtreecommitdiff
path: root/graphics/gview
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/gview')
-rw-r--r--graphics/gview/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/gview/Makefile b/graphics/gview/Makefile
index 3bd835aa3255..3887947ae027 100644
--- a/graphics/gview/Makefile
+++ b/graphics/gview/Makefile
@@ -21,7 +21,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 ; \
s|USE_INCLUDED_LIBINTL=yes|#USE_INCLUDED_LIBINTL=yes|g ; \
s|\$$\(top_builddir\)/intl/libintl.a|-lintl|g' ${WRKSRC}/configure