aboutsummaryrefslogtreecommitdiff
path: root/sysutils/gupsc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/gupsc/Makefile')
-rw-r--r--sysutils/gupsc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysutils/gupsc/Makefile b/sysutils/gupsc/Makefile
index f40f382b05eb..3ea93d7bd8a9 100644
--- a/sysutils/gupsc/Makefile
+++ b/sysutils/gupsc/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' ${WRKSRC}/configure \
${WRKSRC}/src/Makefile.in
@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \