aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/gtop
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/gtop')
-rw-r--r--sysutils/gtop/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysutils/gtop/Makefile b/sysutils/gtop/Makefile
index 6225412c3704..f64df8d8e9b7 100644
--- a/sysutils/gtop/Makefile
+++ b/sysutils/gtop/Makefile
@@ -26,7 +26,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
GTK_CONFIG="${GTK_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 \