From: Philip Prindeville Date: Mon, 1 Aug 2022 19:20:53 +0000 (-0600) Subject: lcdproc: don't enable LPT support on non-x86 architectures X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=13ed78046a150009a40355041d9b7574bf8cdebf;p=feed%2Fpackages.git lcdproc: don't enable LPT support on non-x86 architectures Signed-off-by: Philip Prindeville --- diff --git a/utils/lcdproc/Makefile b/utils/lcdproc/Makefile index b91245edaf..1a22607f8b 100644 --- a/utils/lcdproc/Makefile +++ b/utils/lcdproc/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=lcdproc PKG_VERSION:=0.5.9 -PKG_RELEASE:=7 +PKG_RELEASE:=8 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://github.com/lcdproc/lcdproc/releases/download/v$(PKG_VERSION)/ @@ -28,7 +28,6 @@ DISABLE_NLS:= define Package/lcdproc/Default SECTION:=utils CATEGORY:=Utilities - DEPENDS:=@(TARGET_x86||TARGET_x86_64) URL:=http://lcdproc.org/ endef @@ -99,8 +98,10 @@ define LCDPROC_OTHER_DRIVERS_TEXT curses futaba glcd hd44780 IOWarrior i2500vfd lis picolcd shuttleVFD ula200 endef -ifeq ($(CONFIG_PACKAGE_kmod-lp),y) +ifneq ($(CONFIG_TARGET_x86_64)$(CONFIG_TARGET_x86),) + ifeq ($(CONFIG_PACKAGE_kmod-lp),y) LCDPROC_OTHER_DRIVERS_TEXT+=sdeclcd sed1330 sed1520 stv5730 t6963 + endif endif LCDPROC_OTHER_DRIVERS:=$(strip $(LCDPROC_OTHER_DRIVERS_TEXT)) @@ -113,8 +114,12 @@ $(LCDPROC_OTHER_DRIVERS_TEXT) endef CONFIGURE_VARS += \ - ac_cv_mtab_file="/etc/mtab" \ + ac_cv_mtab_file="/etc/mtab" + +ifneq ($(CONFIG_TARGET_x86_64)$(CONFIG_TARGET_x86),) +CONFIGURE_VARGS += \ ac_cv_port_have_lpt="yes" +endif CONFIGURE_ARGS += \ --disable-libX11 \