aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/gtkgraph/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/gtkgraph/Makefile')
-rw-r--r--graphics/gtkgraph/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/gtkgraph/Makefile b/graphics/gtkgraph/Makefile
index 713f81a31417..eeab113ea676 100644
--- a/graphics/gtkgraph/Makefile
+++ b/graphics/gtkgraph/Makefile
@@ -22,7 +22,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
pre-patch:
- @${PERL} -pi -e 's|-lpthread|-pthread|g ; s|-O2|${CFLAGS}| ; \
+ @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; s|-O2|${CFLAGS}| ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
.include <bsd.port.mk>