From owner-freebsd-ports@FreeBSD.ORG Wed Jan 7 01:10:42 2009 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0BDCC106564A for ; Wed, 7 Jan 2009 01:10:42 +0000 (UTC) (envelope-from gerald@pfeifer.com) Received: from vexpert.dbai.tuwien.ac.at (vexpert.dbai.tuwien.ac.at [128.131.111.2]) by mx1.freebsd.org (Postfix) with ESMTP id C0D398FC1E for ; Wed, 7 Jan 2009 01:10:41 +0000 (UTC) (envelope-from gerald@pfeifer.com) Received: from acrux.dbai.tuwien.ac.at (acrux [128.131.111.60]) by vexpert.dbai.tuwien.ac.at (Postfix) with ESMTP id DEF443911A; Wed, 7 Jan 2009 01:41:00 +0100 (CET) Received: by acrux.dbai.tuwien.ac.at (Postfix, from userid 1203) id 1654E10059; Wed, 7 Jan 2009 01:41:06 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by acrux.dbai.tuwien.ac.at (Postfix) with ESMTP id 063DB10054; Wed, 7 Jan 2009 01:41:07 +0100 (CET) Date: Wed, 7 Jan 2009 01:41:06 +0100 (CET) From: Gerald Pfeifer To: Pav Lucistnik , ports@FreeBSD.org In-Reply-To: <1231268995.62131.12.camel@hood.oook.cz> Message-ID: References: <1231268995.62131.12.camel@hood.oook.cz> User-Agent: Alpine 1.99 (LSU 1142 2008-08-13) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Subject: Re: [Fwd: scilab-4.1.2_1 failed on amd64 7] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jan 2009 01:10:42 -0000 Thanks for the report, Pav. > http://pointyhat.FreeBSD.org/errorlogs/amd64-errorlogs/a.7.20090105194422/scilab-4.1.2_1.log This port is one of (way too) many without a maintainer, and I am not in a good position to give proper testing to this, but perhaps someone on ports@ may be willing to step in? Below is a first cleanup of this port. Note you'll also need to rebuild the dependencies built by gfortran (lapack and blas after recent changes to Mk/bsd.gcc.mk), PORTREVISION bump is in the work. Gerald Omit F77, FFLAGS and CFLAGS from CONFIGURE_ENV since these are handled by the ports infrastructure. Employ USE_FORTRAN, simplifying things. Index: Makefile =================================================================== RCS file: /home/ncvs/ports/math/scilab/Makefile,v retrieving revision 1.48 diff -u -3 -p -r1.48 Makefile --- Makefile 6 Jan 2009 19:26:40 -0000 1.48 +++ Makefile 7 Jan 2009 00:34:17 -0000 @@ -22,6 +22,8 @@ BUILD_DEPENDS= wish8.4:${PORTSDIR}/x11-t RUN_DEPENDS+= wish8.4:${PORTSDIR}/x11-toolkits/tk84 \ pvm:${PORTSDIR}/net/pvm +USE_FORTRAN=yes +CONFIGURE_ARGS+= --with-gfortran USE_XORG= x11 GNU_CONFIGURE= yes USE_GETTEXT= yes @@ -44,8 +46,7 @@ CONFIGURE_ARGS= --with-tk \ --with-gtk2 CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib -CONFIGURE_ENV+= F77=${F77} CFLAGS="${CFLAGS}" FFLAGS="${FFLAGS}" \ - PVM_ROOT=${LOCALBASE}/lib/pvm +CONFIGURE_ENV+= PVM_ROOT=${LOCALBASE}/lib/pvm .include @@ -67,13 +68,6 @@ BLAS_LIBS?= -llapack -lblas .endif MAKE_ENV+= BLAS_LIBS="-L${LOCALBASE}/lib ${BLAS_LIBS}" -WANT_FORTRAN=yes #dummy but future use -BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42 -RUN_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42 -F77= gfortran42 -FC= gfortran42 -CONFIGURE_ARGS+= --with-gfortran - .if ${ARCH} == "alpha" || ${ARCH} == "ia64" || ${ARCH} == "sparc64" BROKEN= does not compile on alpha 5.x, ia64, sparc64 .endif