Change Details
octave/Makefile |
6 | 6 | # OpenWRT package for the GNU Octave |
7 | 7 | # |
8 | 8 | # todo: how do we enable octave's internal help system? |
| 9 | # |
| 10 | # todo: we may have a (slight) linking problem: it prefers liboctinterp.so & |
| 11 | # friends from staging_dir/target-mipsel_uClibc-0.9.32/usr/lib/ over the one |
| 12 | # freshly compiled. As a workaround, try 'rm |
| 13 | # openwrt-xburst/staging_dir/target-mipsel_uClibc-0.9.32/usr/lib/*oct*' if |
| 14 | # compilation fails for you. Mostly that doesn't matter on clean rebuilds |
| 15 | # anyways. |
| 16 | # |
9 | 17 | |
10 | 18 | include $(TOPDIR)/rules.mk |
11 | 19 | |
12 | 20 | PKG_NAME:=octave |
13 | 21 | PKG_VERSION:=3.2.4 |
14 | | PKG_RELEASE:=3 |
| 22 | PKG_RELEASE:=4 |
15 | 23 | PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz |
16 | 24 | PKG_SOURCE_URL:=ftp://ftp.octave.org/pub/octave/ |
17 | 25 | PKG_MD5SUM:=90c39fa9e241ad2e978bcee4682a2ba9 |
... | ... | |
75 | 83 | # todo : need -enable-rpath? |
76 | 84 | |
77 | 85 | OCTAVE_LIB_DIR := /usr/lib |
| 86 | |
| 87 | # ugly workaround for octave 3.2.4 to compile with latest openwrt toolchain |
| 88 | TARGET_CXXFLAGS += -include stddef.h -fpermissive |
| 89 | |
78 | 90 | CONFIGURE_ARGS += --without-x --without-fftw --disable-docs |
79 | 91 | CONFIGURE_VARS += octlibdir=$(OCTAVE_LIB_DIR) \ |
80 | 92 | FFLAGS="$(TARGET_CFLAGS)" |
Download the corresponding diff file