summaryrefslogtreecommitdiff
path: root/sysutils/battstat-applet
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/battstat-applet')
-rw-r--r--sysutils/battstat-applet/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysutils/battstat-applet/Makefile b/sysutils/battstat-applet/Makefile
index af41b483d4cb..7bac1b51ff34 100644
--- a/sysutils/battstat-applet/Makefile
+++ b/sysutils/battstat-applet/Makefile
@@ -23,7 +23,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 ; \