From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Jan 24 22:40:13 2005 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6C8BB16A4CE for ; Mon, 24 Jan 2005 22:40:13 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 350E943D67 for ; Mon, 24 Jan 2005 22:40:13 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id j0OMeDMV010259 for ; Mon, 24 Jan 2005 22:40:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id j0OMeDSs010257; Mon, 24 Jan 2005 22:40:13 GMT (envelope-from gnats) Resent-Date: Mon, 24 Jan 2005 22:40:13 GMT Resent-Message-Id: <200501242240.j0OMeDSs010257@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jean-Sebastien Roy Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 22BC716A4CE for ; Mon, 24 Jan 2005 22:38:57 +0000 (GMT) Received: from durandal.jeannot.org (durandal.jeannot.org [80.65.225.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC29B43D5D for ; Mon, 24 Jan 2005 22:38:55 +0000 (GMT) (envelope-from js@jeannot.org) Received: from durandal.root (localhost [127.0.0.1])j0OMcsAA001444 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO) for ; Mon, 24 Jan 2005 23:38:54 +0100 (CET) (envelope-from js@durandal.root) Received: (from root@localhost) by durandal.root (8.12.11/8.12.11/Submit) id j0OMcrIq001427; Mon, 24 Jan 2005 23:38:53 +0100 (CET) (envelope-from js) Message-Id: <200501242238.j0OMcrIq001427@durandal.root> Date: Mon, 24 Jan 2005 23:38:53 +0100 (CET) From: Jean-Sebastien Roy To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/76636: Maintainer update for math/scilab X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Jean-Sebastien Roy List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Jan 2005 22:40:13 -0000 >Number: 76636 >Category: ports >Synopsis: Maintainer update for math/scilab >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Mon Jan 24 22:40:12 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Jean-Sebastien Roy >Release: FreeBSD 4.10-BETA i386 >Organization: >Environment: System: FreeBSD durandal.root 4.10-BETA FreeBSD 4.10-BETA #0: Thu Sep 23 15:29:28 CEST 2004 js@durandal.root:/opt/obj/usr/src/sys/DURANDAL i386 >Description: Scilab 3.0 crashes under FreeBSD 5.3. >How-To-Repeat: Try to execute "1/3" in scilab under FreeBSD 5.3. >Fix: The problem seems to be compiler related, and do not occur with GCC 3.2. The following patch forces the use of GCC 3.2 until a better fix is found. Many thanks to David Steen for checking it works under FreeBSD 5.3. diff -ruN scilab/Makefile scilab.301/Makefile --- scilab/Makefile Wed Aug 11 10:09:50 2004 +++ scilab.301/Makefile Sun Jan 16 18:34:33 2005 @@ -7,6 +7,7 @@ PORTNAME= scilab PORTVERSION= 3.0 +PORTREVISION= 1 CATEGORIES= math cad parallel MASTER_SITES= ftp://ftp.inria.fr/INRIA/Scilab/distributions/ EXTRACT_SUFX= .src.tar.gz @@ -43,12 +44,17 @@ --with-atlas-library=${LOCALBASE}/lib \ --without-ocaml -CONFIGURE_ENV= PVM_ROOT=${PVM_ROOT} X11BASE=${X11BASE} +CONFIGURE_ENV= PVM_ROOT=${PVM_ROOT} X11BASE=${X11BASE} F77=$(F77) MAKE_ENV= PVM_INCLUDE=${LOCALBASE}/include PLIST_SUB= PORTVERSION="${PORTVERSION}" .include + +# Scilab broken with GCC 3.3 on FreeBSD 5.3 +.if ${OSVERSION} >= 503000 +USE_GCC= 3.2 +.endif .if ${ARCH} == "alpha" && ${OSVERSION} >= 502102 || ${ARCH} == "sparc64" BROKEN= "Does not compile on alpha 5.x or sparc64" diff -ruN scilab/files/patch-bb scilab.301/files/patch-bb --- scilab/files/patch-bb Wed Aug 11 10:09:50 2004 +++ scilab.301/files/patch-bb Sun Jan 16 18:34:32 2005 @@ -1,5 +1,29 @@ ---- configure.orig Sat Jul 24 11:16:25 2004 -+++ configure Sat Jul 24 11:16:34 2004 +--- configure.orig Fri Jul 9 10:28:05 2004 ++++ configure Sun Jan 16 14:45:09 2005 +@@ -21087,12 +21087,12 @@ + # FreeBSD systems (not supported by INRIA) + *-*-freebsd*) + GCC=yes +- CC=cc ++ CC=$CC + CC_OPTIONS="${CFLAGS} -Dfreebsd" + CC_LDFLAGS=-lm + CC_PICFLAGS='-fPIC' + # script shell f77 have bugs, get ours +- FC=f77 ++ FC=$F77 + FC_OPTIONS="${CFLAGS} -Dfreebsd" + FC_OPTIONS_O0='-Dfreebsd' + FC_LDFLAGS='-lm -Wl,--export-dynamic' +@@ -21106,7 +21106,7 @@ + fi + if test "$WITH_G77" = yes; then + # On FreeBSD the gnu fortran compiler is named f77 +- FC=f77 ++ FC=$F77 + fi + DLDLIB='${SCIDIR}/libs/libdld.a' + DLD_SUBDIR=dld @@ -26503,7 +26503,7 @@ ;; esac >Release-Note: >Audit-Trail: >Unformatted: