aboutsummaryrefslogtreecommitdiff
path: root/devel/gconf/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/gconf/Makefile')
-rw-r--r--devel/gconf/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/devel/gconf/Makefile b/devel/gconf/Makefile
index 4de0c11ba352..670f4c2671c0 100644
--- a/devel/gconf/Makefile
+++ b/devel/gconf/Makefile
@@ -28,7 +28,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 ; \