# HG changeset patch # User John Donoghue # Date 1402414510 14400 # Node ID 5ab3fc53d7a5eb765399aeb270bbb930f6ee7b8d # Parent 566fd51378f2200c0dbdc66b981ccf7f49660543 Add enable/disable-stable configure option * Makefile.in: set stable build dependant on configure variable ENABLE_STABLE. * configure.ac: add --enable-stable arg. * src/octave.mk: set devel octave to 3.8.2-rc1 diff -r 566fd51378f2 -r 5ab3fc53d7a5 Makefile.in --- a/Makefile.in Mon Jun 09 08:00:17 2014 -0400 +++ b/Makefile.in Tue Jun 10 11:35:10 2014 -0400 @@ -1,7 +1,7 @@ # This file is part of MXE. # See index.html for further information. -STABLE_BUILD := yes +STABLE_BUILD := @ENABLE_STABLE@ ifeq ($(STABLE_BUILD),yes) OCTAVE_TARGET := stable-octave diff -r 566fd51378f2 -r 5ab3fc53d7a5 configure.ac --- a/configure.ac Mon Jun 09 08:00:17 2014 -0400 +++ b/configure.ac Tue Jun 10 11:35:10 2014 -0400 @@ -139,6 +139,13 @@ [if test "$enableval" = yes; then ENABLE_OPENBLAS=yes; fi], []) AC_SUBST(ENABLE_OPENBLAS) +ENABLE_STABLE=yes +AC_ARG_ENABLE(stable, + [AS_HELP_STRING([--enable-stable], + [Enable stable build of octave instead of devel octave])], + [if test "$enableval" = no; then ENABLE_STABLE=no; fi], []) +AC_SUBST(ENABLE_STABLE) + ### Default is to cross compile for mingw. echo $host_alias diff -r 566fd51378f2 -r 5ab3fc53d7a5 src/octave.mk --- a/src/octave.mk Mon Jun 09 08:00:17 2014 -0400 +++ b/src/octave.mk Tue Jun 10 11:35:10 2014 -0400 @@ -3,11 +3,11 @@ PKG := octave $(PKG)_IGNORE := -$(PKG)_VERSION := 3.8.0 -$(PKG)_CHECKSUM := 7dc2736d05fef50e4f7b3e1b9ab83c8287e8f267 +$(PKG)_VERSION := 3.8.2-rc1 +$(PKG)_CHECKSUM := face1114dd7c7a04392a23c4ce2d916c999e0ed4 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) $(PKG)_FILE := octave-$($(PKG)_VERSION).tar.gz -$(PKG)_URL := ftp://ftp.gnu.org/gnu/octave/$($(PKG)_FILE) +$(PKG)_URL := ftp://alpha.gnu.org/gnu/octave/$($(PKG)_FILE) ifeq ($(USE_SYSTEM_FONTCONFIG),no) $(PKG)_FONTCONFIG := fontconfig endif