aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libgtop/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/libgtop/Makefile')
-rw-r--r--devel/libgtop/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/devel/libgtop/Makefile b/devel/libgtop/Makefile
index efd81e044497..27fe508006a6 100644
--- a/devel/libgtop/Makefile
+++ b/devel/libgtop/Makefile
@@ -27,7 +27,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
GLIB_CONFIG="${GLIB_CONFIG}" \
LIBS="-L${LOCALBASE}/lib"
-post-extract:
+pre-patch:
@${PERL} -pi -e 's|-lpthread|-pthread|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \