-if test "$(get_spell_provider $SPELL X11-LIBS)" != "xorg"; then
+XKLAVIER_XLIBS="$(get_spell_provider $SPELL X11-LIBS)" &&
+
+if [[ "${XKLAVIER_XLIBS:0:4}" != "xorg" ]]; then
depends xfree86_xkb_xml
fi &&
diff --git a/gnome2-libs/libxklavier/HISTORY b/gnome2-libs/libxklavier/HISTORY
index c8ba372..36e3216 100644
--- a/gnome2-libs/libxklavier/HISTORY
+++ b/gnome2-libs/libxklavier/HISTORY
@@ -1,3 +1,7 @@
+2006-07-05 Robin Cook <rcook AT wyrms.net>
+ * DEPENDS: test for both xorg and xorg-server
+ * BUILD: add to set OPTS if xorg-server
+
2006-03-12 Karsten Behrmann <BearPerson AT sourcemage.org>
* DETAILS: (automated) Add KEYWORDS
[SM-Commit] GIT changes to master grimoire by Robin Cook (3d4131533f3e62d2dc5f221ad4eb471d24596daf),
Robin Cook, 07/05/2006