summaryrefslogtreecommitdiff
path: root/print/ggv2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'print/ggv2/Makefile')
-rw-r--r--print/ggv2/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/print/ggv2/Makefile b/print/ggv2/Makefile
index 95722aef37bd..c93991509bd5 100644
--- a/print/ggv2/Makefile
+++ b/print/ggv2/Makefile
@@ -22,7 +22,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 ; \