diff options
author | miwi <miwi@FreeBSD.org> | 2007-03-13 16:26:26 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2007-03-13 16:26:26 +0800 |
commit | c38494c84295e18730e89c7eab7ae2f6eb3c91b0 (patch) | |
tree | 3b0f62558a9a8bc4eee664fe13c778df310d81ab /math | |
parent | b68b9c95bb88d0f02570cda04f7466d51d316a4e (diff) | |
download | freebsd-ports-gnome-c38494c84295e18730e89c7eab7ae2f6eb3c91b0.tar.gz freebsd-ports-gnome-c38494c84295e18730e89c7eab7ae2f6eb3c91b0.tar.zst freebsd-ports-gnome-c38494c84295e18730e89c7eab7ae2f6eb3c91b0.zip |
- Fix libtk nameing to enable scilab build-in to work.
PR: 110186
Submitted by: Jean-Sebastien Roy <js@jeannot.org> (maintainer)
Diffstat (limited to 'math')
-rw-r--r-- | math/scilab/Makefile | 8 | ||||
-rw-r--r-- | math/scilab/files/patch-configure.in | 10 |
2 files changed, 14 insertions, 4 deletions
diff --git a/math/scilab/Makefile b/math/scilab/Makefile index 186cf453440f..7ce9011591ff 100644 --- a/math/scilab/Makefile +++ b/math/scilab/Makefile @@ -7,7 +7,7 @@ PORTNAME= scilab PORTVERSION= 4.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= math cad parallel MASTER_SITES= http://www.scilab.org/download/${PORTVERSION}/ EXTRACT_SUFX= -src.tar.gz @@ -69,7 +69,7 @@ PLIST_SUB+= GTK2="@comment " NOGTK2="" .endif .if exists(${LOCALBASE}/lib/libatlas_r.so) && !defined(WITH_BLAS) -WITH_ATLAS= yes +WITH_ATLAS= yes .endif .if defined(WITH_ATLAS) 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 .if ${OSVERSION} >= 503000 && ${OSVERSION} < 600000 #USE_GCC= 3.2 #override FC and F77 -BUILD_DEPENDS+= gcc32:${PORTSDIR}/lang/gcc32 +BUILD_DEPENDS+= gcc32:${PORTSDIR}/lang/gcc32 CC= gcc32 CXX= g++32 .endif WANT_FORTRAN=yes #dummy but future use -BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42 +BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42 F77= gfortran42 FC= gfortran42 CONFIGURE_ARGS+= --with-gfortran diff --git a/math/scilab/files/patch-configure.in b/math/scilab/files/patch-configure.in index 3e4fde71b033..0dd311f105d9 100644 --- a/math/scilab/files/patch-configure.in +++ b/math/scilab/files/patch-configure.in @@ -53,3 +53,13 @@ fi DLDLIB='${SCIDIR}/libs/libdld.a' 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 + ;; |