aboutsummaryrefslogtreecommitdiffstats
path: root/x11-themes
diff options
context:
space:
mode:
Diffstat (limited to 'x11-themes')
-rw-r--r--x11-themes/gtk-qt-engine/Makefile2
-rw-r--r--x11-themes/gtk-qt4-engine/Makefile2
2 files changed, 4 insertions, 0 deletions
diff --git a/x11-themes/gtk-qt-engine/Makefile b/x11-themes/gtk-qt-engine/Makefile
index 971bcd9dba85..eeb1e5971441 100644
--- a/x11-themes/gtk-qt-engine/Makefile
+++ b/x11-themes/gtk-qt-engine/Makefile
@@ -27,6 +27,8 @@ USE_REINPLACE= yes
PLIST_SUB= GTK_VER=2.4.0
PLIST_SUB+= X11BASE=${X11BASE} LOCALBASE=${LOCALBASE}
+CONFIGURE_ARGS+=--x-libraries=${X11BASE}/lib --x-includes=${X11BASE}/include
+
pre-configure:
@${REINPLACE_CMD} -e "s|/share/themes/|/X11R6/share/themes/|" \
${WRKSRC}/kcm_gtk/kcmgtk.cpp
diff --git a/x11-themes/gtk-qt4-engine/Makefile b/x11-themes/gtk-qt4-engine/Makefile
index 971bcd9dba85..eeb1e5971441 100644
--- a/x11-themes/gtk-qt4-engine/Makefile
+++ b/x11-themes/gtk-qt4-engine/Makefile
@@ -27,6 +27,8 @@ USE_REINPLACE= yes
PLIST_SUB= GTK_VER=2.4.0
PLIST_SUB+= X11BASE=${X11BASE} LOCALBASE=${LOCALBASE}
+CONFIGURE_ARGS+=--x-libraries=${X11BASE}/lib --x-includes=${X11BASE}/include
+
pre-configure:
@${REINPLACE_CMD} -e "s|/share/themes/|/X11R6/share/themes/|" \
${WRKSRC}/kcm_gtk/kcmgtk.cpp