summaryrefslogtreecommitdiff
path: root/net/spat/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/spat/Makefile')
-rw-r--r--net/spat/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/spat/Makefile b/net/spat/Makefile
index ff3fcc233c4b..ea8d98c3c082 100644
--- a/net/spat/Makefile
+++ b/net/spat/Makefile
@@ -23,7 +23,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-lcompat -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 ; \