xapp_xman: fix dependencies
authorPeter Korsgaard <jacmet@sunsite.dk>
Fri, 23 Dec 2011 11:15:04 +0000 (12:15 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Fri, 23 Dec 2011 11:15:04 +0000 (12:15 +0100)
xman needs libXaw, has optional Xprintutil support and doesn't have a
--disable-IPv6 option.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/x11r7/xapp_xman/Config.in
package/x11r7/xapp_xman/xapp_xman.mk

index af9525bf4031905a28be44535879a52b1d62cd34..4f4f067e311e52c604751511ea09ac719291afe8 100644 (file)
@@ -1,4 +1,5 @@
 config BR2_PACKAGE_XAPP_XMAN
        bool "xman"
+       select BR2_PACKAGE_XLIB_LIBXAW
        help
          Manual page display program for the X Window System
index e3f623e50396bb9135952e873beee07ebd66776f..2706d61a5fe55a7ecc2200cfbe8e70257ed4cf47 100644 (file)
@@ -7,11 +7,14 @@ XAPP_XMAN_VERSION:=1.0.3
 XAPP_XMAN_SOURCE:=xman-$(XAPP_XMAN_VERSION).tar.bz2
 XAPP_XMAN_SITE:=http://xorg.freedesktop.org/releases/individual/app
 XAPP_XMAN_INSTALL_TARGET = YES
+XAPP_XMAN_DEPENDENCIES = xlib_libXaw
 
 XAPP_XMAN_CONF_ENV = ac_cv_file__etc_man_conf=no \
                ac_cv_file__etc_man_config=no \
                ac_cv_file__etc_manpath_config=no
 
-XAPP_XMAN_CONF_OPT = --disable-IPv6
+ifeq ($(BR2_PACKAGE_XLIB_LIBXPRINTUTIL),y)
+XAPP_XMAN_CONF_OPT += --enable-xprint
+endif
 
 $(eval $(call AUTOTARGETS))