fix a dependency problem
authorFelix Fietkau <nbd@openwrt.org>
Thu, 24 Jan 2008 22:05:03 +0000 (22:05 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 24 Jan 2008 22:05:03 +0000 (22:05 +0000)
SVN-Revision: 10241

XOrg/app/xinit/Makefile

index dcdecb86e80baa0a49dd86f24d5410c6532e0590..1656ca44638b8034bdcc676b1a7e94c7c352207e 100644 (file)
@@ -16,18 +16,13 @@ PKG_SOURCE_URL:=http://xorg.freedesktop.org/releases/X11R7.2/src/app
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/${PKG_NAME}-$(PKG_VERSION)/
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/${PKG_NAME}-$(PKG_VERSION)/
 
-_DEPEND:=
-ifneq (xinit,xinit)
-_DEPEND+=xorg-server-essentials
-endif
-
 include $(INCLUDE_DIR)/package.mk
 
 define Package/xinit
   SECTION:=xorg-app
   CATEGORY:=Xorg
   SUBMENU:=app
 include $(INCLUDE_DIR)/package.mk
 
 define Package/xinit
   SECTION:=xorg-app
   CATEGORY:=Xorg
   SUBMENU:=app
-  DEPENDS:=${_DEPEND} @DISPLAY_SUPPORT
+  DEPENDS:=libX11 @DISPLAY_SUPPORT
   TITLE:=xinit
   URL:=http://xorg.freedesktop.org/
 endef
   TITLE:=xinit
   URL:=http://xorg.freedesktop.org/
 endef