changeset 3646:f38e710f1d95

octave: add --no-x flag when compiling for mingw * src/octave.mk: add --no-x flag to configure when for mingw. * src/stable-octave.mk: add --no-x flag to configure when for mingw.
author John Donoghue <john.donoghue@ieee.org>
date Sun, 06 Jul 2014 07:16:05 -0400
parents 75a1f1a468b9
children fc67e3ab9324
files src/octave.mk src/stable-octave.mk
diffstat 2 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/octave.mk	Sun Jul 06 07:15:26 2014 -0400
+++ b/src/octave.mk	Sun Jul 06 07:16:05 2014 -0400
@@ -68,6 +68,10 @@
     LDFLAGS='-Wl,-rpath-link,$(HOST_LIBDIR) -L$(HOST_LIBDIR)'
 endif
 
+ifeq ($(MXE_SYSTEM),mingw)
+  $(PKG)_EXTRA_CONFIGURE_OPTIONS += --no-x
+endif
+
 define $(PKG)_UPDATE
     echo 'Warning: Updates are temporarily disabled for package octave.' >&2;
     echo $($(PKG)_VERSION)
--- a/src/stable-octave.mk	Sun Jul 06 07:15:26 2014 -0400
+++ b/src/stable-octave.mk	Sun Jul 06 07:16:05 2014 -0400
@@ -68,6 +68,10 @@
     LDFLAGS='-Wl,-rpath-link,$(HOST_LIBDIR) -L$(HOST_LIBDIR)'
 endif
 
+ifeq ($(MXE_SYSTEM),mingw)
+  $(PKG)_EXTRA_CONFIGURE_OPTIONS += --no-x
+endif
+
 define $(PKG)_UPDATE
     echo 'Warning: Updates are temporarily disabled for package octave.' >&2;
     echo $($(PKG)_VERSION)