aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/ruby-gtk2
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/ruby-gtk2')
-rw-r--r--x11-toolkits/ruby-gtk2/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/x11-toolkits/ruby-gtk2/Makefile b/x11-toolkits/ruby-gtk2/Makefile
index 2e61dbd2a625..049d867e20d6 100644
--- a/x11-toolkits/ruby-gtk2/Makefile
+++ b/x11-toolkits/ruby-gtk2/Makefile
@@ -35,11 +35,11 @@ INSTALL_TARGET= site-install
DOCS= COPYING.LIB ChangeLog README
post-patch: general-patch
- @${REINPLACE_CMD} -e 's|/usr/share|${X11BASE}/share|g' \
+ @${REINPLACE_CMD} -e 's|/usr/share|${LOCALBASE}/share|g' \
${WRKSRC}/sample/gtk-demo/common.rb
@${REINPLACE_CMD} -e 's|local/bin/ruby|bin/env ruby|g' \
${WRKSRC}/sample/misc/button2.rb
- @${REINPLACE_CMD} -e 's|/usr/local/share|${X11BASE}/share|g' \
+ @${REINPLACE_CMD} -e 's|/usr/local/share|${LOCALBASE}/share|g' \
${WRKSRC}/sample/testgtk/testgtk*
@${FIND} ${WRKSRC} -name '*.bak' -delete