Browse Source

mtools: fix target compilation

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>
Gustavo Zacarias 11 years ago
parent
commit
42aca737b4
1 changed files with 6 additions and 4 deletions
  1. 6 4
      package/mtools/mtools.mk

+ 6 - 4
package/mtools/mtools.mk

@@ -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_LICENSE_FILES = COPYING
+MTOOLS_CONF_ENV = ac_cv_func_setpgrp_void=yes
+MTOOLS_CONF_OPT = --without-x
 
 
 $(eval $(autotools-package))
 $(eval $(autotools-package))
 $(eval $(host-autotools-package))
 $(eval $(host-autotools-package))