[Fwd: scilab-4.1.2_1 failed on amd64 7]
Gerald Pfeifer
gerald at pfeifer.com
Wed Jan 7 01:10:42 UTC 2009
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 <bsd.port.pre.mk>
@@ -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
More information about the freebsd-ports
mailing list