Paul Irofti [2017-11-06, 01:27:51]: > > Index: math/octave/Makefile > > =================================================================== > > RCS file: /cvs/ports/math/octave/Makefile,v > > retrieving revision 1.98 > > diff -u -p -u -r1.98 Makefile > > --- math/octave/Makefile 3 Nov 2017 12:28:53 -0000 1.98 > > +++ math/octave/Makefile 4 Nov 2017 21:54:46 -0000 > > @@ -4,6 +4,7 @@ COMMENT = high-level language for numeri > > > > VERSION = 4.2.1 > > DISTNAME = octave-${VERSION} > > +REVISION = 0 > > CATEGORIES = math > > > > SHARED_LIBS += octave 8.0 > > @@ -44,6 +45,8 @@ BUILD_DEPENDS = ${MODFORTRAN_BUILD_DEPEN > > textproc/gsed \ > > math/gnuplot > > > > +MODFORTRAN_COMPILER = gfortran > > + > > # configure checks for desktop-file-install(1) > > BUILD_DEPENDS +=devel/desktop-file-utils > > > > @@ -78,8 +81,7 @@ CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE} > > -I${LOCALBASE}/include/ereadline" \ > > LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" \ > > LRELEASE="${MODQT_LRELEASE}" \ > > - F77=${FC} CXXFLAGS="${CXXFLAGS} -std=gnu++11" > > - > > + CXXFLAGS="${CXXFLAGS} -std=gnu++11" > > > > # needed to build on amd64 > > GCC_ARCH = ${MACHINE_ARCH}-unknown-openbsd${OSREV} > > Perhaps I did something wrong, but I get this error when compiling > octave with the above. That libquadmath path looks weird. > > /usr/bin/libtool --tag=CXX --mode=link c++ -fPIC -pthread -Wall -W > -Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align > -Wcast-qual -O2 -pipe -std=gnu++11 -version-info 4:0:0 -no-undefined > -bindir /usr/local/bin -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib > -L/usr/X11R6/lib -o liboctave/liboctave.la -rpath /usr/local/lib/octave/4.2.1 > liboctave/liboctave_liboctave_la-liboctave-build-info.lo > liboctave/array/libarray.la liboctave/cruft/ranlib/libranlib.la > liboctave/cruft/libcruft.la liboctave/numeric/libnumeric.la > liboctave/operators/liboperators.la liboctave/system/libsystem.la > liboctave/util/libutil.la liboctave/wrappers/libwrappers.la libgnu/libgnu.la > -lcurl -lcholmod -lumfpack -lamd -lcamd -lcolamd -lccolamd -lcxsparse > -lsuitesparseconfig -larpack -lqrupdate -lfftw3_threads -lfftw3 > -lfftw3f_threads -lfftw3f -llapack -lblas -lereadline -lncurses > -L/usr/local/lib -Wl,-R/usr/local/lib -lpcre -L/usr/local/lib > -L/usr/X11R6/lib -L/usr/ports/pobj/octave-4.2.1/bin > -L/usr/local/lib/gcc/x86_64-unknown-openbsd6.2/4.9.4 > -L/usr/local/lib/gcc/x86_64-unknown-openbsd6.2/4.9.4/../../.. -lgfortran -lm > -lquadmath -lutil -lm -lutil -lm > Cannot read '/usr/local/lib'/libquadmath.la: No such file or directory
yes, I forgot to mention, there is a quoting issue in /usr/local/lib/libgfortran.la either the gcc port or libtool needs a fix, haven't looked into that yet.