From owner-svn-ports-all@FreeBSD.ORG Fri Dec 27 10:28:43 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 36926997; Fri, 27 Dec 2013 10:28:43 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 16CE8135C; Fri, 27 Dec 2013 10:28:43 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBRASgFu077034; Fri, 27 Dec 2013 10:28:42 GMT (envelope-from tijl@svn.freebsd.org) Received: (from tijl@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBRASg9v077033; Fri, 27 Dec 2013 10:28:42 GMT (envelope-from tijl@svn.freebsd.org) Message-Id: <201312271028.rBRASg9v077033@svn.freebsd.org> From: Tijl Coosemans Date: Fri, 27 Dec 2013 10:28:42 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r337696 - head/math/scilab X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Dec 2013 10:28:43 -0000 Author: tijl Date: Fri Dec 27 10:28:42 2013 New Revision: 337696 URL: http://svnweb.freebsd.org/changeset/ports/337696 Log: - New LIB_DEPENDS syntax. - USES=fortran. - Replace GMAKE with MAKE_CMD in regression-test. Modified: head/math/scilab/Makefile Modified: head/math/scilab/Makefile ============================================================================== --- head/math/scilab/Makefile Fri Dec 27 10:27:36 2013 (r337695) +++ head/math/scilab/Makefile Fri Dec 27 10:28:42 2013 (r337696) @@ -19,18 +19,16 @@ EXTRACT_DEPENDS+= ${UNZIP_CMD}:${PORTSDI NO_STAGE= yes # A partial dependencies list can be found at: # http://wiki.scilab.org/Dependencies_of_Scilab_5.X -LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2 \ - pcre.3:${PORTSDIR}/devel/pcre +LIB_DEPENDS= libxml2.so:${PORTSDIR}/textproc/libxml2 \ + libpcre.so:${PORTSDIR}/devel/pcre - -USE_FORTRAN= yes -USES= gettext gmake pkgconfig +USES= fortran gettext gmake pkgconfig GNU_CONFIGURE= yes USE_LDCONFIG= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -CONFIGURE_ARGS = --with-gfortran +CONFIGURE_ARGS= --with-gfortran CONFIGURE_ENV= ac_cv_search_pthread_join="${PTHREAD_LIBS}" \ BLAS_LIBS="${BLAS_LIBS}" LAPACK_LIBS="${LAPACK_LIBS}" @@ -48,12 +46,12 @@ UMFPACK_DESC= Build with umfpack .include .if ${PORT_OPTIONS:MATLAS} -LIB_DEPENDS+= atlas.2:${PORTSDIR}/math/atlas +LIB_DEPENDS+= libatlas.so:${PORTSDIR}/math/atlas BLAS_LIBS= -lf77blas LAPACK_LIBS= -lalapack -lcblas .else -LIB_DEPENDS+= lapack.4:${PORTSDIR}/math/lapack -LIB_DEPENDS+= blas.2:${PORTSDIR}/math/blas +LIB_DEPENDS+= liblapack.so:${PORTSDIR}/math/lapack \ + libblas.so:${PORTSDIR}/math/blas BLAS_LIBS?= -lblas LAPACK_LIBS?= -llapack .endif @@ -95,7 +93,7 @@ JGRAPHX_JAR= jgraphx-${JGRAPHX_VERSION:C EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-bin-JAVA_HOME -LIB_DEPENDS+= hdf5.7:${PORTSDIR}/science/hdf5-18 +LIB_DEPENDS+= libhdf5.so:${PORTSDIR}/science/hdf5-18 GUI_DEPENDS= ${JAVALIBDIR}/flexdock.jar:${PORTSDIR}/devel/flexdock \ ${JAVALIBDIR}/jogl.jar:${PORTSDIR}/graphics/jogl \ @@ -148,7 +146,7 @@ ALL_TARGET= all doc .if ! ${PORT_OPTIONS:MFFTW} CONFIGURE_ARGS+= --without-fftw .else -LIB_DEPENDS+= fftw3:${PORTSDIR}/math/fftw3 +LIB_DEPENDS+= libfftw3.so:${PORTSDIR}/math/fftw3 .endif .if ! ${PORT_OPTIONS:MPVM} @@ -167,7 +165,7 @@ CONFIGURE_ENV= PVM_ROOT=${LOCALBASE} \ .if ! ${PORT_OPTIONS:MUMFPACK} CONFIGURE_ARGS+= --without-umfpack .else -LIB_DEPENDS+= amd.1:${PORTSDIR}/math/suitesparse +LIB_DEPENDS+= libamd.so:${PORTSDIR}/math/suitesparse CONFIGURE_ARGS+= --with-umfpack-include=${LOCALBASE}/include \ --with-umfpack-library=${LOCALBASE}/lib .endif @@ -175,7 +173,7 @@ CONFIGURE_ARGS+= --with-umfpack-include= .if ! ${PORT_OPTIONS:MMATIO} CONFIGURE_ARGS+= --without-matio .else -LIB_DEPENDS+= matio.1:${PORTSDIR}/math/matio +LIB_DEPENDS+= libmatio.so:${PORTSDIR}/math/matio .endif .if ! ${PORT_OPTIONS:MOCAML} @@ -279,8 +277,8 @@ post-install: @${TOUCH} ${DATADIR}/contrib/xcos_toolbox_skeleton/images/h5/.keep_me .endif -check test: build - @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${GMAKE} ${_MAKE_JOBS} \ - ${MAKE_ARGS} check +check test regression-test: build + @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${_MAKE_JOBS} \ + ${MAKE_ARGS} check) .include