mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-10 02:21:15 +02:00
mass fixes & updates
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
--- ./CMAKE/CheckLAPACKCompilerFlags.cmake.orig 2011-03-06 22:02:06.000000000 +0200
|
||||
+++ ./CMAKE/CheckLAPACKCompilerFlags.cmake 2021-11-08 20:57:32.706803000 +0200
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
# GNU Fortran
|
||||
if( CMAKE_Fortran_COMPILER_ID STREQUAL "GNU" )
|
||||
- if( "${CMAKE_Fortran_FLAGS}" MATCHES "-ffpe-trap=[izoupd]")
|
||||
+ if( "${CMAKE_Fortran_FLAGS}" MATCHES "-fPIC -ffpe-trap=[izoupd]")
|
||||
set( FPE_EXIT TRUE )
|
||||
endif()
|
||||
|
||||
157
math/octave/Makefile
Normal file
157
math/octave/Makefile
Normal file
@@ -0,0 +1,157 @@
|
||||
# Created by: chuckr@FreeBSD.org
|
||||
|
||||
PORTNAME= octave
|
||||
PORTVERSION= 6.3.0
|
||||
CATEGORIES= math
|
||||
MASTER_SITES= GNU
|
||||
|
||||
MAINTAINER= stephen@FreeBSD.org
|
||||
COMMENT= High-level interactive language for numerical computations
|
||||
|
||||
|
||||
CONFIGURE_ARGS+= --disable-java
|
||||
CONFIGURE_ARGS+= --without-qt
|
||||
CONFIGURE_ARGS+= --without-qscintilla
|
||||
|
||||
LIB_DEPENDS+= libGLU.so:graph/libGLU
|
||||
LIB_DEPENDS+= libGL.so:graph/libmesa
|
||||
LIB_DEPENDS+= libX11.so:x11/libX11
|
||||
LIB_DEPENDS+= libcurl.so:net/libcurl
|
||||
LIB_DEPENDS+= libdrm.so:system/libdrm
|
||||
LIB_DEPENDS+= libexpat.so:text/libexpat
|
||||
LIB_DEPENDS+= libfftw3.so:math/libfftw3
|
||||
LIB_DEPENDS+= libfontconfig.so:x11/libfontconfig
|
||||
LIB_DEPENDS+= libfreetype.so:graph/libfreetype2
|
||||
LIB_DEPENDS+= libglapi.so:graph/libmesa
|
||||
LIB_DEPENDS+= libiconv.so:text/libiconv
|
||||
LIB_DEPENDS+= libnghttp2.so:net/libnghttp2
|
||||
LIB_DEPENDS+= libpcre.so:text/libpcre
|
||||
LIB_DEPENDS+= libpng16.so:graph/libpng
|
||||
LIB_DEPENDS+= libportaudio.so:media/libportaudio
|
||||
LIB_DEPENDS+= libreadline.so:devel/libreadline
|
||||
LIB_DEPENDS+= libsndfile.so:media/libsndfile
|
||||
|
||||
#CONFIGURE_ARGS+= --with-qt=qt4
|
||||
|
||||
BUILD_DEPENDS+= ${LOCALBASE}/bin/gnuplot:math/gnuplot
|
||||
BUILD_DEPENDS+= ${LOCALBASE}/bin/gsed:textproc/gsed
|
||||
BUILD_DEPENDS+= ${LOCALBASE}/bin/makeinfo:print/texinfo
|
||||
BUILD_DEPENDS+= ${LOCALBASE}/bin/gperf:devel/gperf
|
||||
|
||||
RUN_DEPENDS+= ${LOCALBASE}/bin/gnuplot:math/gnuplot
|
||||
RUN_DEPENDS+= ${LOCALBASE}/bin/gsed:textproc/gsed
|
||||
RUN_DEPENDS+= ${LOCALBASE}/bin/makeinfo:print/texinfo
|
||||
|
||||
#RUN_DEPENDS= gnuplot:math/gnuplot \
|
||||
# gsed:textproc/gsed \
|
||||
# ${LOCALBASE}/bin/makeinfo:print/texinfo
|
||||
#LIB_DEPENDS= libGraphicsMagick.so:graphics/GraphicsMagick \
|
||||
# libarpack.so:math/arpack-ng \
|
||||
# libcurl.so:ftp/curl \
|
||||
# libfftw3.so:math/fftw3 \
|
||||
# libfftw3f.so:math/fftw3-float \
|
||||
# libfltk.so:x11-toolkits/fltk \
|
||||
# libftgl.so:graphics/ftgl \
|
||||
# libhdf5.so:science/hdf5 \
|
||||
# libpcre.so:devel/pcre \
|
||||
# libqhull.so.7:math/qhull \
|
||||
# libqrupdate.so:math/qrupdate \
|
||||
# libamd.so:math/suitesparse-amd \
|
||||
# libcamd.so:math/suitesparse-camd \
|
||||
# libccolamd.so:math/suitesparse-ccolamd \
|
||||
# libcholmod.so:math/suitesparse-cholmod \
|
||||
# libcolamd.so:math/suitesparse-colamd \
|
||||
# libsuitesparseconfig.so:math/suitesparse-config \
|
||||
# libcxsparse.so:math/suitesparse-cxsparse \
|
||||
# libklu.so:math/suitesparse-klu \
|
||||
# libumfpack.so:math/suitesparse-umfpack \
|
||||
# libglpk.so:math/glpk \
|
||||
# libgl2ps.so:print/gl2ps \
|
||||
# libfontconfig.so:x11-fonts/fontconfig \
|
||||
# libfreetype.so:print/freetype2 \
|
||||
# libdrm.so:graphics/libdrm \
|
||||
# libOSMesa.so:graphics/libosmesa \
|
||||
# libsundials_arkode.so:math/sundials \
|
||||
# libportaudio.so:audio/portaudio
|
||||
## libsndfile.so:audio/libsndfile # Commented out until this port no longer has vulnerabilities.
|
||||
|
||||
|
||||
|
||||
USES= charsetfix gmake perl5 pkgconfig tar:xz compiler:c++14-lang iconv
|
||||
USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME}/${PORTVERSION}
|
||||
USE_PERL5= build
|
||||
GNU_CONFIGURE= yes
|
||||
#USE_QT= core gui help network opengl \
|
||||
# qmake_build buildtools_build linguist_build \
|
||||
# printsupport sql widgets \
|
||||
# xml
|
||||
#USE_XORG= x11 xext xfixes xft \
|
||||
# xcursor xinerama xrender
|
||||
#USE_GL= gl glu
|
||||
|
||||
MOC_QTVER=moc-qt4
|
||||
UIC_QTVER=uic-qt4
|
||||
RCC_QTVER=rcc-qt4
|
||||
|
||||
|
||||
OCTAVE_VERSION= ${PORTVERSION}
|
||||
GNU_HOST= ${ARCH}-portbld-freebsd${OSREL}
|
||||
PLIST_SUB= OCTAVE_VERSION=${OCTAVE_VERSION} GNU_HOST=${GNU_HOST}
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
CONFIGURE_ENV+= GPERF="${LOCALBASE}/bin/gperf"
|
||||
#CONFIGURE_ENV+= JAVA_HOME=${JAVA_HOME}
|
||||
CONFIGURE_ENV+= MAKEINFO=${LOCALBASE}/bin/makeinfo
|
||||
CONFIGURE_ENV+= MKINFO=${LOCALBASE}/bin/makeinfo
|
||||
|
||||
CONFIGURE_ENV+= MOC_QTVER=${MOC}
|
||||
CONFIGURE_ENV+= UIC_QTVER=${UIC}
|
||||
CONFIGURE_ENV+= RCC_QTVER=${RCC}
|
||||
|
||||
CONFIGURE_ENV+= LRELEASE_QTVER=${LRELEASE}
|
||||
#CONFIGURE_ENV+= QCOLLECTIONGENERATOR_QTVER=${QCOLLECTIONGENERATOR}
|
||||
#CONFIGURE_ENV+= QHELPGENERATOR_QTVER=${QHELPGENERATOR}
|
||||
CONFIGURE_ENV+= ac_cv_type_max_align_t=yes
|
||||
CONFIGURE_ENV+= ac_cv_path_SED=${LOCALBASE}/bin/gsed
|
||||
|
||||
CONFIGURE_ARGS+= --host=${GNU_HOST}
|
||||
#CONFIGURE_ARGS+= --with-blas="-L${LOCALBASE}/lib ${BLASLIB}"
|
||||
#CONFIGURE_ARGS+= --with-lapack="${LAPACKLIB}"
|
||||
CONFIGURE_ARGS+= --enable-shared
|
||||
CONFIGURE_ARGS+= --disable-jit
|
||||
CONFIGURE_ARGS+= --disable-openmp
|
||||
#CONFIGURE_ARGS+= --with-osmesa
|
||||
|
||||
#INFO= octave liboctave
|
||||
|
||||
INSTALL_TARGET= install-strip
|
||||
|
||||
#OPTIONS_DEFINE= DOCS JAVA QT5
|
||||
|
||||
#OPTIONS_RADIO= BLAS
|
||||
#OPTIONS_RADIO_BLAS= OPENBLAS NETLIB ATLAS
|
||||
#OPTIONS_DEFAULT= JAVA OPENBLAS QT5
|
||||
#OPTIONS_SUB= yes
|
||||
|
||||
#DOCS_CONFIGURE_ENABLE= docs
|
||||
#JAVA_CONFIGURE_ENABLE= java
|
||||
#QT5_CONFIGURE_WITH= qt=5 qscintilla
|
||||
|
||||
#QT5_LIB_DEPENDS= libqscintilla2_qt5.so:devel/qscintilla2-qt5
|
||||
|
||||
#DOCS_USE= TEX=dvipsk:build,formats:build
|
||||
#JAVA_USE= JAVA=yes
|
||||
#QT5_USES= qt:5
|
||||
#OPENBLAS_USES= blaslapack:openblas
|
||||
#NETLIB_USES= blaslapack:netlib
|
||||
#ATLAS_USES= blaslapack:atlas
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} 's|"makeinfo"|"${LOCALBASE}/bin/makeinfo"|' ${WRKSRC}/libinterp/corefcn/help.cc
|
||||
${REINPLACE_CMD} 's|"-qt=$$qt_version"|"-qt=qt$$qt_version"|' ${WRKSRC}/configure
|
||||
|
||||
#post-install:
|
||||
# cd ${STAGEDIR}${DATADIR} && ${LN} -s ${PORTVERSION}/imagelib .
|
||||
|
||||
|
||||
.include <bsd.port.mk>
|
||||
3
math/octave/distinfo
Normal file
3
math/octave/distinfo
Normal file
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1626389174
|
||||
SHA256 (octave-6.3.0.tar.xz) = fb472cb957c748670391cbc3385ff230cf44832bc314fee359e43c69cf9da5ef
|
||||
SIZE (octave-6.3.0.tar.xz) = 25330580
|
||||
11
math/octave/files/patch-build-aux_find-defun-files.sh
Normal file
11
math/octave/files/patch-build-aux_find-defun-files.sh
Normal file
@@ -0,0 +1,11 @@
|
||||
--- build-aux/find-defun-files.sh.orig 2020-11-26 18:20:44 UTC
|
||||
+++ build-aux/find-defun-files.sh
|
||||
@@ -27,7 +27,7 @@
|
||||
|
||||
set -e
|
||||
|
||||
-SED=${SED:-sed}
|
||||
+SED=gsed
|
||||
EGREP=${EGREP:-egrep}
|
||||
|
||||
# Some stupid egreps don't like empty elements in alternation patterns,
|
||||
11
math/octave/files/patch-build-aux_find-files-with-tests.sh
Normal file
11
math/octave/files/patch-build-aux_find-files-with-tests.sh
Normal file
@@ -0,0 +1,11 @@
|
||||
--- build-aux/find-files-with-tests.sh.orig 2020-11-26 18:20:44 UTC
|
||||
+++ build-aux/find-files-with-tests.sh
|
||||
@@ -28,7 +28,7 @@
|
||||
set -e
|
||||
|
||||
GREP=${GREP:-grep}
|
||||
-SED=${SED:-sed}
|
||||
+SED=gsed
|
||||
|
||||
srcdir="$1"
|
||||
if [ "$1" ]; then
|
||||
11
math/octave/files/patch-build-aux_mk-octave-config-h.sh
Normal file
11
math/octave/files/patch-build-aux_mk-octave-config-h.sh
Normal file
@@ -0,0 +1,11 @@
|
||||
--- build-aux/mk-octave-config-h.sh.orig 2020-11-26 18:20:44 UTC
|
||||
+++ build-aux/mk-octave-config-h.sh
|
||||
@@ -29,7 +29,7 @@
|
||||
# autoconf-generated config.h file. See the notes at the top of the
|
||||
# generated octave-config.h file for more details.
|
||||
|
||||
-SED=${SED:-sed}
|
||||
+SED=gsed
|
||||
|
||||
if [ $# -ne 1 ]; then
|
||||
echo "usage: mk-octave-config-h.sh CONFIG-FILE" 1>&2
|
||||
16
math/octave/files/patch-configure
Normal file
16
math/octave/files/patch-configure
Normal file
@@ -0,0 +1,16 @@
|
||||
--- configure.orig 2020-11-26 18:20:44 UTC
|
||||
+++ configure
|
||||
@@ -83764,6 +83764,13 @@ $as_echo_n "checking for include file <jni.h>... " >&6
|
||||
JAVA_CPPFLAGS="-I${JAVA_HOME}/include -I${JAVA_HOME}/include/darwin"
|
||||
fi
|
||||
;;
|
||||
+ freebsd*)
|
||||
+ if test -n "$JAVA_CPPFLAGS"; then
|
||||
+ JAVA_CPPFLAGS="-I${JAVA_CPPFLAGS} -I${JAVA_CPPFLAGS}/freebsd"
|
||||
+ else
|
||||
+ JAVA_CPPFLAGS="-I${JAVA_HOME}/include -I${JAVA_HOME}/include/freebsd"
|
||||
+ fi
|
||||
+ ;;
|
||||
*)
|
||||
if test -n "$JAVA_CPPFLAGS"; then
|
||||
JAVA_CPPFLAGS="-I${JAVA_CPPFLAGS} -I${JAVA_CPPFLAGS}/linux"
|
||||
11
math/octave/files/patch-libgnu_math.in.h
Normal file
11
math/octave/files/patch-libgnu_math.in.h
Normal file
@@ -0,0 +1,11 @@
|
||||
--- libgnu/math.in.h.orig 2020-11-26 18:20:44 UTC
|
||||
+++ libgnu/math.in.h
|
||||
@@ -15,7 +15,7 @@
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||
|
||||
-#ifndef _@GUARD_PREFIX@_MATH_H
|
||||
+#if 1
|
||||
|
||||
#if __GNUC__ >= 3
|
||||
@PRAGMA_SYSTEM_HEADER@
|
||||
13
math/octave/files/patch-libinterp_corefcn_sysdep.cc
Normal file
13
math/octave/files/patch-libinterp_corefcn_sysdep.cc
Normal file
@@ -0,0 +1,13 @@
|
||||
--- libinterp/corefcn/sysdep.cc.orig 2020-11-26 18:20:44 UTC
|
||||
+++ libinterp/corefcn/sysdep.cc
|
||||
@@ -61,6 +61,10 @@
|
||||
# include <omp.h>
|
||||
#endif
|
||||
|
||||
+#if defined (__FreeBSD__) && defined(__arm__)
|
||||
+#include <fenv.h>
|
||||
+#endif
|
||||
+
|
||||
#include "cmd-edit.h"
|
||||
#include "file-ops.h"
|
||||
#include "lo-mappers.h"
|
||||
@@ -0,0 +1,11 @@
|
||||
--- scripts/pkg/private/configure_make.m.orig 2019-02-23 17:33:37 UTC
|
||||
+++ scripts/pkg/private/configure_make.m
|
||||
@@ -91,7 +91,7 @@ function configure_make (desc, packdir, verbose)
|
||||
endif
|
||||
|
||||
if (exist (fullfile (src, "Makefile"), "file"))
|
||||
- [status, output] = shell (sprintf ("%s make --jobs %i --directory '%s'",
|
||||
+ [status, output] = shell (sprintf ("%s gmake --jobs %i --directory '%s'",
|
||||
scenv, jobs, src), verbose);
|
||||
if (status != 0)
|
||||
rmdir (desc.dir, "s");
|
||||
60
math/octave/files/patch-x-Makefile.in
Normal file
60
math/octave/files/patch-x-Makefile.in
Normal file
@@ -0,0 +1,60 @@
|
||||
--- ./Makefile.in.orig 2021-11-09 14:21:12.667740000 +0200
|
||||
+++ ./Makefile.in 2021-11-09 14:19:00.608707000 +0200
|
||||
@@ -290,7 +290,7 @@
|
||||
|
||||
@AMCOND_BUILD_QT_GUI_TRUE@am__append_35 = src/octave-gui \
|
||||
@AMCOND_BUILD_QT_GUI_TRUE@ src/octave-svgconvert
|
||||
-@AMCOND_BUILD_QT_GUI_TRUE@am__append_36 = src/octave-gui-$(version)$(EXEEXT)
|
||||
+@AMCOND_BUILD_QT_GUI_TRUE@am__append_36 = src/octave-gui$(EXEEXT)
|
||||
@AMCOND_BUILD_QT_GUI_TRUE@am__append_37 = src/octave-gui$(EXEEXT) \
|
||||
@AMCOND_BUILD_QT_GUI_TRUE@ src/octave-svgconvert$(EXEEXT)
|
||||
@AMCOND_CROSS_TOOLS_TRUE@am__append_38 = src/$(host_triplet)-mkoctfile$(BUILD_EXEEXT) \
|
||||
@@ -6053,7 +6053,7 @@
|
||||
$(am__append_6) $(am__append_14) $(am__append_18) \
|
||||
src/display-available.h src/shared-fcns.h
|
||||
nodist_noinst_HEADERS =
|
||||
-OCTAVE_VERSION_LINKS = src/octave-cli-$(version)$(EXEEXT) \
|
||||
+OCTAVE_VERSION_LINKS = src/octave-cli$(EXEEXT) \
|
||||
$(am__append_36)
|
||||
OCTAVE_CROSS_TOOLS = $(am__append_38)
|
||||
OCTAVE_INTERPRETER_TARGETS = $(LIBOCTAVE_TST_FILES) \
|
||||
@@ -30891,31 +30891,17 @@
|
||||
src/octave-build-info.cc: src/octave-build-info.in.cc HG-ID | src/$(octave_dirstamp)
|
||||
$(AM_V_GEN)$(build-info-commands)
|
||||
|
||||
-install-exec-hook: make-version-links
|
||||
+install-exec-hook:
|
||||
|
||||
-uninstall-local: remove-version-links
|
||||
+uninstall-local:
|
||||
|
||||
-make-version-links:
|
||||
- cd $(DESTDIR)$(bindir) && \
|
||||
- for f in $(notdir $(basename $(bin_PROGRAMS))); do \
|
||||
- mv $$f$(EXEEXT) $$f-$(version)$(EXEEXT) && \
|
||||
- $(LN_S) $$f-$(version)$(EXEEXT) $$f$(EXEEXT); \
|
||||
- done
|
||||
+#src/octave-cli-$(version)$(EXEEXT): src/octave-cli$(EXEEXT)
|
||||
+# $(AM_V_GEN)rm -f $@ && \
|
||||
+# cd $(@D) && $(LN_S) $(<F) $(@F)
|
||||
|
||||
-remove-version-links:
|
||||
- for f in $(notdir $(basename $(bin_PROGRAMS))); do \
|
||||
- rm -f $(DESTDIR)$(bindir)/$$f-$(version)$(EXEEXT); \
|
||||
- done
|
||||
-
|
||||
-.PHONY: make-version-links remove-version-links
|
||||
-
|
||||
-src/octave-cli-$(version)$(EXEEXT): src/octave-cli$(EXEEXT)
|
||||
- $(AM_V_GEN)rm -f $@ && \
|
||||
- cd $(@D) && $(LN_S) $(<F) $(@F)
|
||||
-
|
||||
-src/octave-gui-$(version)$(EXEEXT): src/octave-gui$(EXEEXT)
|
||||
- $(AM_V_GEN)rm -f $@ && \
|
||||
- cd $(@D) && $(LN_S) $(<F) $(@F)
|
||||
+#src/octave-gui-$(version)$(EXEEXT): src/octave-gui$(EXEEXT)
|
||||
+# $(AM_V_GEN)rm -f $@ && \
|
||||
+# cd $(@D) && $(LN_S) $(<F) $(@F)
|
||||
|
||||
src-clean:
|
||||
rm -f $(src_CLEANFILES)
|
||||
36
math/octave/files/patch-x-build-aux-ltmain.sh
Normal file
36
math/octave/files/patch-x-build-aux-ltmain.sh
Normal file
@@ -0,0 +1,36 @@
|
||||
--- ./build-aux/ltmain.sh.orig 2021-07-11 19:19:32.000000000 +0200
|
||||
+++ ./build-aux/ltmain.sh 2021-11-08 21:19:27.043458000 +0200
|
||||
@@ -8906,13 +8906,13 @@
|
||||
#
|
||||
case $version_type in
|
||||
# correct linux to gnu/linux during the next big refactor
|
||||
- darwin|freebsd-elf|linux|osf|windows|none)
|
||||
+ darwin|linux|osf|windows|none)
|
||||
func_arith $number_major + $number_minor
|
||||
current=$func_arith_result
|
||||
age=$number_minor
|
||||
revision=$number_revision
|
||||
;;
|
||||
- freebsd-aout|qnx|sunos)
|
||||
+ freebsd*|qnx|sunos)
|
||||
current=$number_major
|
||||
revision=$number_minor
|
||||
age=0
|
||||
@@ -8995,15 +8995,9 @@
|
||||
esac
|
||||
;;
|
||||
|
||||
- freebsd-aout)
|
||||
+ freebsd*)
|
||||
major=.$current
|
||||
- versuffix=.$current.$revision
|
||||
- ;;
|
||||
-
|
||||
- freebsd-elf)
|
||||
- func_arith $current - $age
|
||||
- major=.$func_arith_result
|
||||
- versuffix=$major.$age.$revision
|
||||
+ versuffix=.$current
|
||||
;;
|
||||
|
||||
irix | nonstopux)
|
||||
92
math/octave/files/patch-x-configure
Normal file
92
math/octave/files/patch-x-configure
Normal file
@@ -0,0 +1,92 @@
|
||||
--- ./configure.orig 2021-11-08 21:18:02.629038000 +0200
|
||||
+++ ./configure 2021-11-08 21:38:19.355543000 +0200
|
||||
@@ -8452,7 +8452,7 @@
|
||||
|
||||
|
||||
|
||||
- : ${localveroctfiledir='${libdir}/octave/${version}/site/oct/${canonical_host_type}'}
|
||||
+ : ${localveroctfiledir='${libdir}/octave/site/oct/${canonical_host_type}'}
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: defining localveroctfiledir to be $localveroctfiledir" >&5
|
||||
$as_echo "defining localveroctfiledir to be $localveroctfiledir" >&6; }
|
||||
|
||||
@@ -8460,7 +8460,7 @@
|
||||
|
||||
## Where to install Octave's include files.
|
||||
|
||||
- : ${octincludedir='${includedir}/octave-${version}/octave'}
|
||||
+ : ${octincludedir='${includedir}/octave'}
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: defining octincludedir to be $octincludedir" >&5
|
||||
$as_echo "defining octincludedir to be $octincludedir" >&6; }
|
||||
|
||||
@@ -8470,7 +8470,7 @@
|
||||
## This includes the Octave version, so that the function files for different
|
||||
## versions of Octave will be installed in separate directories.
|
||||
|
||||
- : ${fcnfiledir='${datadir}/octave/${version}/m'}
|
||||
+ : ${fcnfiledir='${datadir}/octave/m'}
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: defining fcnfiledir to be $fcnfiledir" >&5
|
||||
$as_echo "defining fcnfiledir to be $fcnfiledir" >&6; }
|
||||
|
||||
@@ -8494,7 +8494,7 @@
|
||||
|
||||
|
||||
|
||||
- : ${localverfcnfiledir='${datadir}/octave/${version}/site/m'}
|
||||
+ : ${localverfcnfiledir='${datadir}/octave/site/m'}
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: defining localverfcnfiledir to be $localverfcnfiledir" >&5
|
||||
$as_echo "defining localverfcnfiledir to be $localverfcnfiledir" >&6; }
|
||||
|
||||
@@ -8502,7 +8502,7 @@
|
||||
|
||||
## Where to install extra files like NEWS and doc-cache.
|
||||
|
||||
- : ${octetcdir='${datadir}/octave/${version}/etc'}
|
||||
+ : ${octetcdir='${datadir}/octave/etc'}
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: defining octetcdir to be $octetcdir" >&5
|
||||
$as_echo "defining octetcdir to be $octetcdir" >&6; }
|
||||
|
||||
@@ -8510,7 +8510,7 @@
|
||||
|
||||
## Where to install the language files for the GUI.
|
||||
|
||||
- : ${octlocaledir='${datadir}/octave/${version}/locale'}
|
||||
+ : ${octlocaledir='${datadir}/octave/locale'}
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: defining octlocaledir to be $octlocaledir" >&5
|
||||
$as_echo "defining octlocaledir to be $octlocaledir" >&6; }
|
||||
|
||||
@@ -8542,7 +8542,7 @@
|
||||
|
||||
## Where Octave will search to find image files.
|
||||
|
||||
- : ${imagedir='${datadir}/octave/${version}/imagelib'}
|
||||
+ : ${imagedir='${datadir}/octave/imagelib'}
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: defining imagedir to be $imagedir" >&5
|
||||
$as_echo "defining imagedir to be $imagedir" >&6; }
|
||||
|
||||
@@ -8550,7 +8550,7 @@
|
||||
|
||||
## Where Octave will search for example data files shipped with distribution.
|
||||
|
||||
- : ${octdatadir='${datadir}/octave/${version}/data'}
|
||||
+ : ${octdatadir='${datadir}/octave/data'}
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: defining octdatadir to be $octdatadir" >&5
|
||||
$as_echo "defining octdatadir to be $octdatadir" >&6; }
|
||||
|
||||
@@ -8558,7 +8558,7 @@
|
||||
|
||||
## Where Octave will search for Qt help files shipped with distribution.
|
||||
|
||||
- : ${octdocdir='${datadir}/octave/${version}/doc'}
|
||||
+ : ${octdocdir='${datadir}/octave/doc'}
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: defining octdocdir to be $octdocdir" >&5
|
||||
$as_echo "defining octdocdir to be $octdocdir" >&6; }
|
||||
|
||||
@@ -8566,7 +8566,7 @@
|
||||
|
||||
## Where Octave will search for fallback font files shipped with distribution.
|
||||
|
||||
- : ${octfontsdir='${datadir}/octave/${version}/fonts'}
|
||||
+ : ${octfontsdir='${datadir}/octave/fonts'}
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: defining octfontsdir to be $octfontsdir" >&5
|
||||
$as_echo "defining octfontsdir to be $octfontsdir" >&6; }
|
||||
|
||||
11
math/octave/files/patch-x-src-main.in.cc
Normal file
11
math/octave/files/patch-x-src-main.in.cc
Normal file
@@ -0,0 +1,11 @@
|
||||
--- ./src/main.in.cc.orig 2021-07-11 19:19:32.000000000 +0200
|
||||
+++ ./src/main.in.cc 2021-11-09 15:51:49.309926000 +0200
|
||||
@@ -220,7 +220,7 @@
|
||||
std::string octave_bindir = get_octave_bindir ();
|
||||
std::string octave_archlibdir = get_octave_archlibdir ();
|
||||
std::string octave_cli
|
||||
- = octave_bindir + dir_sep_char + "octave-cli-" OCTAVE_VERSION;
|
||||
+ = octave_bindir + dir_sep_char + "octave-cli";
|
||||
std::string octave_gui = octave_archlibdir + dir_sep_char + "octave-gui";
|
||||
|
||||
#if defined (HAVE_OCTAVE_QT_GUI)
|
||||
60
math/octave/files/patch-x-src-module.mk
Normal file
60
math/octave/files/patch-x-src-module.mk
Normal file
@@ -0,0 +1,60 @@
|
||||
--- ./src/module.mk.orig 2021-07-11 19:19:32.000000000 +0200
|
||||
+++ ./src/module.mk 2021-11-08 21:43:06.436194000 +0200
|
||||
@@ -203,34 +203,34 @@
|
||||
|
||||
ALL_LOCAL_TARGETS += $(OCTAVE_CROSS_TOOLS)
|
||||
|
||||
-install-exec-hook: make-version-links
|
||||
+#install-exec-hook: make-version-links
|
||||
+#
|
||||
+#uninstall-local: remove-version-links
|
||||
+#
|
||||
+#make-version-links:
|
||||
+# cd $(DESTDIR)$(bindir) && \
|
||||
+# for f in $(notdir $(basename $(bin_PROGRAMS))); do \
|
||||
+# mv $$f$(EXEEXT) $$f-$(version)$(EXEEXT) && \
|
||||
+# $(LN_S) $$f-$(version)$(EXEEXT) $$f$(EXEEXT); \
|
||||
+# done
|
||||
+#
|
||||
+#remove-version-links:
|
||||
+# for f in $(notdir $(basename $(bin_PROGRAMS))); do \
|
||||
+# rm -f $(DESTDIR)$(bindir)/$$f-$(version)$(EXEEXT); \
|
||||
+# done
|
||||
+#
|
||||
+#.PHONY: make-version-links remove-version-links
|
||||
|
||||
-uninstall-local: remove-version-links
|
||||
-
|
||||
-make-version-links:
|
||||
- cd $(DESTDIR)$(bindir) && \
|
||||
- for f in $(notdir $(basename $(bin_PROGRAMS))); do \
|
||||
- mv $$f$(EXEEXT) $$f-$(version)$(EXEEXT) && \
|
||||
- $(LN_S) $$f-$(version)$(EXEEXT) $$f$(EXEEXT); \
|
||||
- done
|
||||
-
|
||||
-remove-version-links:
|
||||
- for f in $(notdir $(basename $(bin_PROGRAMS))); do \
|
||||
- rm -f $(DESTDIR)$(bindir)/$$f-$(version)$(EXEEXT); \
|
||||
- done
|
||||
-
|
||||
-.PHONY: make-version-links remove-version-links
|
||||
-
|
||||
## We need these filenames in the build tree because the wrapper
|
||||
## program (main.cc) will try to invoke the versioned binaries.
|
||||
|
||||
-%reldir%/octave-cli-$(version)$(EXEEXT): %reldir%/octave-cli$(EXEEXT)
|
||||
- $(AM_V_GEN)rm -f $@ && \
|
||||
- cd $(@D) && $(LN_S) $(<F) $(@F)
|
||||
+#%reldir%/octave-cli-$(version)$(EXEEXT): %reldir%/octave-cli$(EXEEXT)
|
||||
+# $(AM_V_GEN)rm -f $@ && \
|
||||
+# cd $(@D) && $(LN_S) $(<F) $(@F)
|
||||
|
||||
-%reldir%/octave-gui-$(version)$(EXEEXT): %reldir%/octave-gui$(EXEEXT)
|
||||
- $(AM_V_GEN)rm -f $@ && \
|
||||
- cd $(@D) && $(LN_S) $(<F) $(@F)
|
||||
+#%reldir%/octave-gui-$(version)$(EXEEXT): %reldir%/octave-gui$(EXEEXT)
|
||||
+# $(AM_V_GEN)rm -f $@ && \
|
||||
+# cd $(@D) && $(LN_S) $(<F) $(@F)
|
||||
|
||||
%canon_reldir%_CLEANFILES += \
|
||||
$(OCTAVE_VERSION_LINKS) \
|
||||
7
math/octave/pkg-descr
Normal file
7
math/octave/pkg-descr
Normal file
@@ -0,0 +1,7 @@
|
||||
Octave is a high-level language, primarily intended for numerical
|
||||
computations. It provides a convenient command line interface for
|
||||
solving linear and nonlinear problems numerically, and for performing
|
||||
other numerical experiments. It may also be used as a batch-oriented
|
||||
language.
|
||||
|
||||
WWW: http://www.octave.org/
|
||||
2584
math/octave/pkg-plist
Normal file
2584
math/octave/pkg-plist
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user