summaryrefslogtreecommitdiff
path: root/x11/gswitchit
diff options
context:
space:
mode:
Diffstat (limited to 'x11/gswitchit')
-rw-r--r--x11/gswitchit/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/x11/gswitchit/Makefile b/x11/gswitchit/Makefile
index 112b0620b41a..2c4b32290bee 100644
--- a/x11/gswitchit/Makefile
+++ b/x11/gswitchit/Makefile
@@ -28,7 +28,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
MAN1= gswitchit_applet.1
-post-extract:
+pre-patch:
@${PERL} -pi -e 's|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \