mirror of
https://git.freebsd.org/ports.git
synced 2025-06-07 13:50:38 -04:00
- Fix libtk nameing to enable scilab build-in to work.
PR: 110186 Submitted by: Jean-Sebastien Roy <js@jeannot.org> (maintainer)
This commit is contained in:
parent
fc532a135f
commit
97c69cc6df
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=187254
2 changed files with 14 additions and 4 deletions
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= scilab
|
PORTNAME= scilab
|
||||||
PORTVERSION= 4.1
|
PORTVERSION= 4.1
|
||||||
PORTREVISION= 1
|
PORTREVISION= 2
|
||||||
CATEGORIES= math cad parallel
|
CATEGORIES= math cad parallel
|
||||||
MASTER_SITES= http://www.scilab.org/download/${PORTVERSION}/
|
MASTER_SITES= http://www.scilab.org/download/${PORTVERSION}/
|
||||||
EXTRACT_SUFX= -src.tar.gz
|
EXTRACT_SUFX= -src.tar.gz
|
||||||
|
@ -69,7 +69,7 @@ PLIST_SUB+= GTK2="@comment " NOGTK2=""
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if exists(${LOCALBASE}/lib/libatlas_r.so) && !defined(WITH_BLAS)
|
.if exists(${LOCALBASE}/lib/libatlas_r.so) && !defined(WITH_BLAS)
|
||||||
WITH_ATLAS= yes
|
WITH_ATLAS= yes
|
||||||
.endif
|
.endif
|
||||||
.if defined(WITH_ATLAS)
|
.if defined(WITH_ATLAS)
|
||||||
CONFIGURE_ARGS+= --with-atlas-library=${LOCALBASE}/lib
|
CONFIGURE_ARGS+= --with-atlas-library=${LOCALBASE}/lib
|
||||||
|
@ -85,13 +85,13 @@ MAKE_ENV+= BLAS_LIBS="-L${LOCALBASE}/lib ${BLAS_LIBS}"
|
||||||
# Scilab broken with GCC 3.3 on FreeBSD 5.3
|
# Scilab broken with GCC 3.3 on FreeBSD 5.3
|
||||||
.if ${OSVERSION} >= 503000 && ${OSVERSION} < 600000
|
.if ${OSVERSION} >= 503000 && ${OSVERSION} < 600000
|
||||||
#USE_GCC= 3.2 #override FC and F77
|
#USE_GCC= 3.2 #override FC and F77
|
||||||
BUILD_DEPENDS+= gcc32:${PORTSDIR}/lang/gcc32
|
BUILD_DEPENDS+= gcc32:${PORTSDIR}/lang/gcc32
|
||||||
CC= gcc32
|
CC= gcc32
|
||||||
CXX= g++32
|
CXX= g++32
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
WANT_FORTRAN=yes #dummy but future use
|
WANT_FORTRAN=yes #dummy but future use
|
||||||
BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
|
BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
|
||||||
F77= gfortran42
|
F77= gfortran42
|
||||||
FC= gfortran42
|
FC= gfortran42
|
||||||
CONFIGURE_ARGS+= --with-gfortran
|
CONFIGURE_ARGS+= --with-gfortran
|
||||||
|
|
|
@ -53,3 +53,13 @@
|
||||||
fi
|
fi
|
||||||
DLDLIB='${SCIDIR}/libs/libdld.a'
|
DLDLIB='${SCIDIR}/libs/libdld.a'
|
||||||
DLD_SUBDIR=dld
|
DLD_SUBDIR=dld
|
||||||
|
@@ -1904,6 +1919,9 @@
|
||||||
|
GETLIBTK=libtk$TK_MAJOR_VERSION.$TK_MINOR_VERSION.$SONAME
|
||||||
|
|
||||||
|
case "$host" in
|
||||||
|
+ *-*-freebsd*)
|
||||||
|
+ GETLIBTK=libtk$TK_MAJOR_VERSION$TK_MINOR_VERSION.$SONAME
|
||||||
|
+ ;;
|
||||||
|
*-*-darwin*)
|
||||||
|
GETLIBTK=/sw/lib/libtk$TK_MAJOR_VERSION.$TK_MINOR_VERSION.dylib
|
||||||
|
;;
|
||||||
|
|
Loading…
Add table
Reference in a new issue