mtools: fix target compilation
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Wed, 19 Mar 2014 10:49:00 +0000 (07:49 -0300)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 20 Mar 2014 15:44:43 +0000 (16:44 +0100)
It needs some help regarding setpgrp, fixes:
http://autobuild.buildroot.net/results/33e/33e38bf1c30cc09dbe992dfb95c48997ca860212/
Also disable X11 support since it picks up the host variant.
And use normal indentation for variables.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/mtools/mtools.mk

index 6d8f44bb25509a958a87a48b62c8a4a18c9de8c2..4880245e250d39d52638f41cb83041519662e081 100644 (file)
@@ -4,11 +4,13 @@
 #
 ################################################################################
 
-MTOOLS_VERSION       = 4.0.18
-MTOOLS_SOURCE        = mtools-$(MTOOLS_VERSION).tar.bz2
-MTOOLS_SITE          = $(BR2_GNU_MIRROR)/mtools/
-MTOOLS_LICENSE       = GPLv3+
+MTOOLS_VERSION = 4.0.18
+MTOOLS_SOURCE = mtools-$(MTOOLS_VERSION).tar.bz2
+MTOOLS_SITE = $(BR2_GNU_MIRROR)/mtools/
+MTOOLS_LICENSE = GPLv3+
 MTOOLS_LICENSE_FILES = COPYING
+MTOOLS_CONF_ENV = ac_cv_func_setpgrp_void=yes
+MTOOLS_CONF_OPT = --without-x
 
 $(eval $(autotools-package))
 $(eval $(host-autotools-package))