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