Commit Graph

188 Commits

Author SHA1 Message Date
Max Brazhnikov 1741835dc5 math/scilab:
- Add patch from AUR to fix build with upcoming hdf5-1.12

PR:		251894
PR:		252967
2021-01-27 11:14:18 +00:00
Sunpoet Po-Chuan Hsieh 3c9a236ce3 Fix r561520
/!\ scilab-6.1.0_4: Makefile errors /!\

you cannot include bsd.port[.pre].mk twice

Defining both PORTVERSION and DISTVERSION is wrong, only set one, if necessary,
set DISTNAME

*** Error code 1

Stop.
make: stopped in /usr/ports/math/scilab

Approved by:	portmgr (blanket)
2021-01-26 17:56:04 +00:00
Mark Linimon f86c964117 Update GCC_DEFAULT from 9 to 10.
A few (mostly Fortran-based) ports need to be patched because GCC 10
is stricter.  A handful of ports need to be restricted to GCC 9 because
they fail with 10.

5 ports still fail with GCC 10.  However, seeing as this work has been
ongoing since 2020-05-24, it is simply time to make the commit and
notify the affected maintainers.

While here, pet portlint (Makevar order).

PR:		246700
Submitted by:	gerald
Approved by:	antoine (after many, many, -exp runs)
2021-01-13 23:03:31 +00:00
Thierry Thomas 0b5864f66c - Upgrade math/eigen3 to 3.3.8;
- Add some dependencies which might be detected by Find_Package but not registered;

- Bump PORTREVISION of consumers.

PR:		250833
Submitted by:	/me
Approved by:	tcberner@ (KDE / maintainer) + exp-run
2020-12-12 17:04:37 +00:00
Max Brazhnikov 2141a80f94 math/scilab:
- convert to USES=eigen

PR:		250949
Reported by:	lbartoletti
2020-11-08 20:04:43 +00:00
Max Brazhnikov f29c12c318 math/scilab: add patch to fix build with matio-1.5.18 2020-09-26 16:29:23 +00:00
Max Brazhnikov 7dbd093d10 math/scilab: fix build with -fno-common 2020-08-28 10:04:24 +00:00
Max Brazhnikov fcea5e1434 devel/looks:
- Rename to devel/jgoodies-looks to match upstream and update to 2.7.0
- Add SRC option to install source jar
2020-06-26 12:29:23 +00:00
Max Brazhnikov fd47ec79aa math/scilab:
- Chase devel/apache-commons-io update to 2.7. Although it is binary
  compatible with 2.6, scilab hardcodes path to the versioned jar.
- Patch scilab configure script to avoid dependencies on versioned jar files.
2020-06-01 20:02:39 +00:00
Max Brazhnikov 436139c7b3 math/scilab:
- Update to 6.1.0. Requires decent c++ compiler and iconv from ports.
- Clean up patch target: remove no longer needed patches and those ones which
  don't affect build - at least for me.
- Remove MAKE_JOBS_UNSAFE. It was added in svn r417126 arguing that many
  ocaml-dependent ports are not jobs safe, but there were no logs to analyse.
  The plist change in that commit is unrelated to jobs safety.
2020-05-31 13:11:27 +00:00
Yuri Victorovich 84c4942d38 Bump 37 ports depending on math/openblas through USES=blaslapack:openblas because after the recent math/openblas update the library name changed in openblas 2020-05-06 16:39:12 +00:00
Max Brazhnikov f5b8def8f5 math/scilab:
- Remove BROKEN. OpenJDK 8u242 has a regression that breaks scilab at runtime.
  Apparently, the regression was fixed in 8u252.
2020-04-25 13:02:51 +00:00
Jimmy Olgeni 880396f84b Finish migration of java/jakarta-commons-beanutils to apache-commons-beanutils.
- Update to version 1.9.4
- Pet portlint
- Bump PORTREVISION for related dependencies

PR:		243719
Submitted by:	pfg
Security:	CESA-2020:0194
2020-01-30 17:53:26 +00:00
Steve Wills fb44dca45d Fix math/openblas and bump dependent ports
* Fix build on i386 [1]
* Fix science/code_saturne build with new openblas [2]
* Avoid installing private headers [3]
* Prevent build from optimizing for host by correcting build confg [4]
* Bump portrevision of dependent ports [5]

This is correcting issues from r523749 [1][2][4] and r515970 [3]

PR:		231371
Reported by:	build cluster [1]
Reported by:	Dima Pasechnik <dimpase+freebsd@gmail.com> [2]
Reported by:	many [5]
Reviewed by:	mat, bapt
Approved by:	implicit, since this is a build fix
2020-01-30 14:17:44 +00:00
Antoine Brodin 4616d11683 Mark BROKEN: fails to build
LANG=C LC_ALL=en_US.UTF-8 SCI_DISABLE_TK=1 SCI_JAVA_ENABLE_HEADLESS=1 ./bin/scilab-adv-cli -noatomsautoload -nb -l en_US -nouserstartup -e "try xmltojar([],[],'en_US');catch disp(lasterror()); exit(-1);end;exit(0);"
Could not access to the Main Scilab Class:
Exception in thread "main" java.lang.ExceptionInInitializerError
	at org.scilab.modules.localization.Messages.gettext(Unknown Source)
	at org.scilab.modules.commons.xml.XConfiguration.<clinit>(Unknown Source)
	at org.scilab.modules.core.Scilab.<clinit>(Unknown Source)
Caused by: java.lang.NullPointerException
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1847)
	at java.lang.Runtime.loadLibrary0(Runtime.java:871)
	at java.lang.System.loadLibrary(System.java:1124)
	at org.scilab.modules.localization.MessagesJNI.<clinit>(Unknown Source)
	... 3 more

Reported by:	pkg-fallout
2020-01-21 13:23:10 +00:00
Tobias Kortkamp 9284bc5ac0 math: Add missing USES={gl,gnome,php,sdl,xorg} 2019-11-08 14:11:45 +00:00
Pedro F. Giffuni c937a4ccc9 rename most cases of jakarta- to apache-
The Apache Softare Foundation used to maintain an umbrella project named
Jakarta but it was retired on 2011. This name now conflicts with the new
name for Java EE under the Eclipse Foundation.

Rename most of the packages to be more consistent. Some other packages remain
but they will require intervention by their corresponding maintainers.

Approved by:	thierry (mentor), makc
Differential Revision:	https://reviews.freebsd.org/D21902
2019-10-06 19:08:14 +00:00
Max Brazhnikov 695e0150b8 Chase graphics/batik update to 1.11:
- Add patch to math/scilab to fix build with new API
- Bump PORTREVISIONs
2019-08-22 16:51:35 +00:00
Max Brazhnikov 302f234bdc math/scilab: add patch to fix build with updated graphics/xmlgraphics-commons 2019-08-21 19:45:18 +00:00
Max Brazhnikov 6dbf576601 math/scilab:
- Add patch to fix build with updated graphics/jogamp-jogl
2019-08-14 22:35:35 +00:00
Gerald Pfeifer ea8c8ec7da Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
2019-07-26 20:46:53 +00:00
Greg Lewis 8abfdc2b2b Adjust to proposed changes in Java versioning
* Bug #238758 proposes to change the Java versioning from versions such
  as "1.6.0" to versions such as "6" (for example).  Modify the Makefile
  checks on JAVA_PORT_VERSION to cope with either format.

PR:		238982
Approved by:	makc (maintainer)
2019-07-07 23:13:20 +00:00
Alexey Dokuchaev f68d300d10 Unbreak the build against both current and future versions of OCaml.
Obtained from:	http://gitweb.scilab.org/?p=scilab.git;a=commit;h=25f52e9
2019-06-21 16:56:38 +00:00
Gerald Pfeifer 879e75a659 Related to revision 499061 bump ports with USES=fortran to have them
benefit from the improved situation where libgcc_s is only used when
absolutely necessary.

Suggested by:	tijl
2019-04-22 13:16:33 +00:00
Max Brazhnikov d15cc92143 - bump PORTREVISION after math/matio update 2019-04-06 16:46:17 +00:00
Don Lewis e8b4b36c08 Make USES=gl conditional on the GUI option to unbreak build when GUI is
disabled.  Error was:
  scilab-5.5.2_15 need to specify gl component with USE_GL.
because USE_GUI is conditional on GUI.

While here, tweak Makefile statement ordering to reduce portlint warnings.

PR:		234651
Approved by:	makc (maintainer)
MFH:		2019Q1
2019-01-08 17:51:14 +00:00
Sunpoet Po-Chuan Hsieh 91c3078096 Update science/hdf5 to 1.10.4
- Bump PORTREVISION of dependent ports for shlib change

Changes:	https://portal.hdfgroup.org/display/support/HDF5%201.10.4#releasenotes
PR:		233070
Submitted by:	wen
2019-01-05 22:46:53 +00:00
Yuri Victorovich 8c3341447b math/scilab: Small changes
* Change MASTER_SITES to https
* Add license
* Add USES=gl gnome

Approved by:	portmgr (port compliance, infrastructure)
2018-12-17 21:10:37 +00:00
Gerald Pfeifer a9f015d155 Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
2018-12-12 01:35:33 +00:00
Max Brazhnikov 748dc57a7d math/scilab:
- Add patch from upstream to fix build with gfortran 8 [1]
- Update WWW

PR:		232958 [1]
Reported by:	gerald
2018-11-06 07:45:09 +00:00
Yuri Victorovich b73f018b9c cad/calculix-ccx math/arpack++ math/armadillo math/scilab math/octave: Change dependency from math/arpack to math/arpack-ng
math/arpack is a dead, unmaintained project, and math/arpack-ng is a maintained and updated fork.
This commit is effectively a version upgrade of the arpack dependency.

Approved by:	portmgr blanket (does not result in a change in contents of the resulting package)
2018-10-05 05:24:46 +00:00
Sunpoet Po-Chuan Hsieh c548cd43e8 Update science/hdf5 to 1.10.2
- Bump PORTREVISION of dependent ports for shlib change

Changes:	https://portal.hdfgroup.org/display/support/HDF5%201.10.2#releasenotes
		https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.10/hdf5-1.10.2/src/hdf5-1.10.2-RELEASE.txt
PR:		231009
Exp-run by:	antoine
2018-09-05 22:05:23 +00:00
Gerald Pfeifer 09f9633cb6 Bump PORTREVISION for ports depending on the canonical version of GCC
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which
has now moved from GCC 6 to GCC 7 by default.

This includes ports
 - featuring USE_GCC=yes or USE_GCC=any,
 - featuring USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and those
 - with USES=compiler specifying one of openmp, nestedfct, c11, c++0x,
   c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib.

PR:		222542
2018-07-29 22:18:44 +00:00
Dmitry Marakasov 4ecd5cdf96 - Switch to new test framework
Approved by:	portmgr blanket
2018-07-04 08:37:36 +00:00
Max Brazhnikov 73380a9647 math/scilab:
- Restrict to gnu++98 standard to allow build on FreeBSD 11.x and greater
2018-05-14 21:54:21 +00:00
Yuri Victorovich 61818ce94b math/suitesparse: Update 4.0.2 -> 5.2.0
Port changes:
* Change to DISTVERSION
* Update MASTER_SITES
* Change to LICENSE_COMB=dual
* Add LIB_DEPENDS
* Unbundle metis, made it a dependency
* Update do-build and do-install
* Update WWW

Bump 11 ports.
games/naev is marked broken because it depends on the no longer installed library.

PR:		210579
Submitted by:	yuri
Submitted by:	pfg
Approved by:	maintainer timeout (maho@FreeBSD.org, 21 months)
Approved by:	maintainer timeout (fortran@FreeBSD.org, 45 days)
2018-04-26 06:41:30 +00:00
Gerald Pfeifer c2a92a1aea Bump PORTREVISIONs of all users of math/mpc that we just updated to
version 1.1.0 (via revision 464079).
2018-03-10 17:46:04 +00:00
Gerald Pfeifer e59c88cece Bump PORTREVISION for ports depending on the canonical version of GCC
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from
GCC 5.4 to GCC 6.4 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang,
   c++14-lang, c++0x, c11, or gcc-c++11-lib.

PR:		219275
2017-09-10 20:55:38 +00:00
Sunpoet Po-Chuan Hsieh 8b1d897ff6 Update science/hdf5 to 1.10.1
- Bump PORTREVISION for shlib change

Changes:	https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.10/hdf5-1.10.1/src/hdf5-1.10.1-RELEASE.txt
2017-05-30 02:56:43 +00:00
Matthew Rezny b760897dde Revision bump of all ports with USE_GL after consolidation of mesa-libs
Approved by:	swills (mentor)
Differential Revision:	https://reviews.freebsd.org/D10845
2017-05-23 05:03:14 +00:00
Gerald Pfeifer 04d6f52202 Bump PORTREVISIONs for ports depending on the canonical version of GCC and
lang/gcc which have moved from GCC 4.9.4 to GCC 5.4 (at least under some
circumstances such as versions of FreeBSD or platforms).

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using using Mk/bsd.octave.mk which in turn has USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++14-lang,
   c++11-lang, c++0x, c11, or gcc-c++11-lib.

PR:		216707
2017-04-01 15:23:30 +00:00
Jan Beich afcba43610 math/scilab: unbreak with clang 4.0
src/cpp/diary_manager.cpp:64:24: error: ordered comparison between pointer and zero ('int *' and 'int')
        if (array_size > 0)
            ~~~~~~~~~~ ^ ~

PR:		216214
Submitted by:	pfg
Approved by:	maintainer timeout (2 weeks)
2017-02-05 18:57:40 +00:00
Tijl Coosemans 02f27a83b4 The output of tools like awk, date, sort, tr,... depends on the current
locale set by the user.  Add LANG=C and LC_ALL=C at the beginning of
bsd.port.mk and export them so all commands are executed with the C locale.
LC_ALL=C overrides all other LC_* variables.  LANG is used by setlocale(3)
as default value for LC_* variables, so normally it isn't used when LC_ALL
is set, but there's code out there that looks at LANG directly so it's safer
to set it as well.  The only commands not captured by this are !=
assignments before any inclusion of bsd.port.*mk.

Introduce USE_LOCALE=<locale> that adds LANG=<locale> and LC_ALL=<locale> to
CONFIGURE_ENV and MAKE_ENV so upstream build systems can be executed with a
different locale (e.g. USE_LOCALE=en_US.UTF-8).

PR:		215882
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2017-01-18 13:20:31 +00:00
Gerald Pfeifer e4b7b9118a Bump PORTREVISIONS for ports depending on the canonical version of GCC and
lang/gcc which have moved from GCC 4.8.5 to GCC 4.9.4 (at least under some
circumstances such as versions of FreeBSD or platforms), part II.

The first part covered  ports with USE_GCC=yes, USE_GCC=any, or one of
gcc-c++11-lib, openmp, nestedfct, c++11-lib as well as c++14-lang,
c++11-lang, c++0x, c11 requested via USES=compiler.

This adds ports with USES=fortran and ports using Mk/bsd.octave.mk
which in turn has USES=fortran.

PR:		214965
Reported by:	thierry
2016-12-07 13:24:56 +00:00
John Marino a8a293db40 math/scilab: Document ncurses requirement
Approved by:	ncurses blanket
2016-11-18 19:49:07 +00:00
Max Brazhnikov d691f0492a math/scilab:
- Add missing dependency on x11-toolkits/bwidget [1]
- Take maintainership

PR:		212666 [1]
Submitted by:	otacilio.neto
2016-10-31 23:24:03 +00:00
Raphael Kubo da Costa 366a97ec37 Reassign makc's ports back to the pool.
See "Maintainer Reset" in
https://www.freebsd.org/portmgr/policies_contributors.html. makc's last commit
was in March 31st (r412218), and his ports have been timing out since at least
July (r418155).

I also emailed him 2 weeks ago and have received no response so far.
2016-10-20 15:58:12 +00:00
John Marino 33ce8d3acf math/scilab is not jobs safe, plus fix pkg-plist
From experience, OCAML simply is not guaranteed to build concurrently.
Like many other ports that require OCAML to build, Scilab is not jobs
safe.  While confirmed this, I discovered the pkg-plist was missing
four files, so I've added those while marking the port jobs unsafe.
2016-06-19 17:09:26 +00:00
Dmitry Marakasov 4e942b6419 - Fix trailing whitespace in pkg-descrs, categories [g-n]*
Approved by:	portmgr blanket
2016-05-19 10:44:11 +00:00
Don Lewis 9068f977eb Fix build with science/hdf5 version 1.10 by specifying that we want to
use the version 1.8 API.

Fix the build when the GUI option is disabled.

Since this port installs icons, add INSTALLS_ICONS=yes to Makefile.

PR:		209244
Approved by:	makc (maintainer)
2016-05-06 21:45:19 +00:00