Commit cfb9ae7c authored by Natanael Copa's avatar Natanael Copa

testing/octave: rebuild against libgfortran.so.5 (gcc-8)

also fix automake
parent 704a811a
......@@ -2,14 +2,14 @@
# Maintainer:
pkgname=octave
pkgver=4.2.0
pkgrel=1
pkgrel=2
pkgdesc="A high-level language, primarily intended for numerical computations"
url="https://www.gnu.org/software/octave/"
arch="all !s390x"
license="GPL-3.0"
depends=""
subpackages="$pkgname-doc"
makedepends="autoconf automake bison curl fftw-dev fltk-dev fontconfig-dev
makedepends="autoconf automake libtool bison curl fftw-dev fltk-dev fontconfig-dev
freetype-dev gfortran glu-dev gnuplot imagemagick-dev hdf5-dev
lapack-dev libsm-dev libltdl lcms2-dev pcre-dev perl pkgconf qt-dev
readline-dev texinfo zlib-dev"
......@@ -26,6 +26,7 @@ prepare() {
cd "$builddir"
find -name \*.cc -o -name \*.h -o -name \*.yy | xargs sed -i -e 's/#include <c\(math\|stdlib\)>/#include <\1.h>/'
find -name \*.h -o -name \*.cc | xargs sed -i -e 's/<config.h>/"config.h"/' -e 's/<base-list.h>/"base-list.h"/'
autoreconf -vif
}
build() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment