aboutsummaryrefslogtreecommitdiff
path: root/palm/gnomepilot2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'palm/gnomepilot2/Makefile')
-rw-r--r--palm/gnomepilot2/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/palm/gnomepilot2/Makefile b/palm/gnomepilot2/Makefile
index 69ec630f4d2e..a209b743ad7e 100644
--- a/palm/gnomepilot2/Makefile
+++ b/palm/gnomepilot2/Makefile
@@ -29,7 +29,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/pilot/include" \
LIBS="-L${LOCALBASE}/lib -L${LOCALBASE}/pilot/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 ; \