From: Jo-Philipp Wich Date: Mon, 30 May 2016 13:05:03 +0000 (+0200) Subject: gettext-full: prevent using emacs X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=927ab9a2623f4e8e414d77bb2744b0c192e62238;p=openwrt%2Fstaging%2Fmkresin.git gettext-full: prevent using emacs When the gettext-full host build phase finds an `emacs` exectuble during the build it will launch an `emacs --batch` command to run some Lisp code. On certain Debian systems the `/usr/bin/emacs` path might point, via alternatives, to the `/usr/bin/jove` editor which will then launch an interactive session when invoked by the gettext build. In order to avoid this problem, explicitely disable emacs handling during the build through a configure environment variable. Also remove my now unreachable maintainer address. Signed-off-by: Jo-Philipp Wich --- diff --git a/package/libs/gettext-full/Makefile b/package/libs/gettext-full/Makefile index e525d3002c..abe311fe69 100644 --- a/package/libs/gettext-full/Makefile +++ b/package/libs/gettext-full/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=gettext-full PKG_VERSION:=0.19.6 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE:=gettext-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=@GNU/gettext @@ -17,7 +17,7 @@ PKG_MD5SUM:=69d79254ee3b41df23f41c2f4fd720d9 PKG_BUILD_DIR:=$(BUILD_DIR)/gettext-$(PKG_VERSION) HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/gettext-$(PKG_VERSION) -PKG_MAINTAINER:=Jo-Philipp Wich +PKG_MAINTAINER:=Jo-Philipp Wich PKG_LICENSE:=GPL-3.0+ PKG_FIXUP:=autoreconf @@ -60,6 +60,9 @@ CONFIGURE_ARGS += \ HOST_CONFIGURE_ARGS += \ --with-included-libxml --without-libxml2-prefix --with-included-libcroco +HOST_CONFIGURE_VARS += \ + EMACS="no" + define Build/InstallDev $(INSTALL_DIR) $(1)/usr/lib/libintl-full/include $(CP) $(PKG_INSTALL_DIR)/usr/include/libintl.h $(1)/usr/lib/libintl-full/include/