From owner-svn-ports-head@FreeBSD.ORG Thu Oct 24 16:44:53 2013 Return-Path: Delivered-To: svn-ports-head@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 ESMTP id 7EC18A77; Thu, 24 Oct 2013 16:44:53 +0000 (UTC) (envelope-from makc@FreeBSD.org) 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 5239C2AA1; Thu, 24 Oct 2013 16:44:53 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r9OGirCL047474; Thu, 24 Oct 2013 16:44:53 GMT (envelope-from makc@svn.freebsd.org) Received: (from makc@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r9OGiqTR047472; Thu, 24 Oct 2013 16:44:52 GMT (envelope-from makc@svn.freebsd.org) Message-Id: <201310241644.r9OGiqTR047472@svn.freebsd.org> From: Max Brazhnikov Date: Thu, 24 Oct 2013 16:44:52 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r331500 - in head/math/scilab: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Oct 2013 16:44:53 -0000 Author: makc Date: Thu Oct 24 16:44:52 2013 New Revision: 331500 URL: http://svnweb.freebsd.org/changeset/ports/331500 Log: - Fix build with UMFPACK [1] - Update patch to really fix configure after hdf5-18 update [2] PR: ports/177364 [1] Submitted by: truckman [1] Submitted by: Mamoru Iwaki <1wkmmr at gmail.com> via ports maillist [2] Modified: head/math/scilab/Makefile head/math/scilab/files/patch-configure Modified: head/math/scilab/Makefile ============================================================================== --- head/math/scilab/Makefile Thu Oct 24 16:41:28 2013 (r331499) +++ head/math/scilab/Makefile Thu Oct 24 16:44:52 2013 (r331500) @@ -201,7 +201,7 @@ post-extract: post-patch: @# Configure fixes @${REINPLACE_CMD} -e 's|-ldl | |' ${WRKSRC}/configure - @${REINPLACE_CMD} -e 's|-lumfpack|-lumfpack -lamd -lcholmod -lcolamd $$LAPACK_LIBS $$BLAS_LIBS|g' ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's|-lumfpack|-lumfpack -lsuitesparseconfig -lamd -lcholmod -lcolamd $$LAPACK_LIBS $$BLAS_LIBS|g' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|TCLTK_LIBS=" -ldl"|TCLTK_LIBS=" "|' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|"x=" ==|"x" =|g' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|"x" ==|"x" =|g' ${WRKSRC}/configure Modified: head/math/scilab/files/patch-configure ============================================================================== --- head/math/scilab/files/patch-configure Thu Oct 24 16:41:28 2013 (r331499) +++ head/math/scilab/files/patch-configure Thu Oct 24 16:44:52 2013 (r331500) @@ -1,5 +1,23 @@ --- ./configure.orig 2011-07-20 08:15:42.000000000 +0000 +++ ./configure 2013-10-23 11:59:48.722499060 +0000 +@@ -12226,14 +12226,15 @@ + + public class conftest { + public static void main(String[] argv) { +- String minVersion="1.8.4"; ++ int minVersion=10804; + int[] vers = new int[3]; + try { H5.H5get_libversion(vers); } + catch (Throwable ex) {System.exit(-1);} + String ver = vers[0] + "."+ vers[1] +"."+vers[2]; ++ int Version = 10000*vers[0] + 100*vers[1] + vers[2]; + + System.out.println(ver); +- if (minVersion.compareTo(ver) > 0) { ++ if (minVersion > Version) { + System.exit(-1); + } + @@ -12281,14 +12281,15 @@ public class conftest {