aboutsummaryrefslogtreecommitdiffstats
path: root/x11-themes/gtk-qt4-engine/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11-themes/gtk-qt4-engine/Makefile')
-rw-r--r--x11-themes/gtk-qt4-engine/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/x11-themes/gtk-qt4-engine/Makefile b/x11-themes/gtk-qt4-engine/Makefile
index bc814c760ee8..45fc05e8c825 100644
--- a/x11-themes/gtk-qt4-engine/Makefile
+++ b/x11-themes/gtk-qt4-engine/Makefile
@@ -33,4 +33,10 @@ WRKSRC= ${WRKDIR}/gtk-qt-engine
USE_GNOME+= libbonoboui
.endif
+post-patch:
+ @${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' \
+ ${WRKSRC}/kcm_gtk/searchpaths.cpp
+ @${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' \
+ ${WRKSRC}/src/rcproperties.cpp
+
.include <bsd.port.post.mk>