From owner-svn-ports-all@freebsd.org Sun Apr 1 04:58:19 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2D32BF7BEFF; Sun, 1 Apr 2018 04:58:19 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CBDBF694AB; Sun, 1 Apr 2018 04:58:18 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C33412227A; Sun, 1 Apr 2018 04:58:18 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w314wIcw066885; Sun, 1 Apr 2018 04:58:18 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w314wImS066882; Sun, 1 Apr 2018 04:58:18 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201804010458.w314wImS066882@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Sun, 1 Apr 2018 04:58:18 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r466115 - head/math/ipopt X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: head/math/ipopt X-SVN-Commit-Revision: 466115 X-SVN-Commit-Repository: ports 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.25 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: Sun, 01 Apr 2018 04:58:19 -0000 Author: yuri Date: Sun Apr 1 04:58:18 2018 New Revision: 466115 URL: https://svnweb.freebsd.org/changeset/ports/466115 Log: math/ipopt: Update 3.12.7 -> 3.12.9; Unbreak on 12 Port changes: * Change to DISTVERSION * Patch config.h to set HAVE_RAND=1. It was failing due to some glitch in configure: the rand() test program was failing because the declaration of the exit() function didn't match. * Silence commands. Modified: head/math/ipopt/Makefile head/math/ipopt/distinfo head/math/ipopt/pkg-plist Modified: head/math/ipopt/Makefile ============================================================================== --- head/math/ipopt/Makefile Sun Apr 1 03:58:03 2018 (r466114) +++ head/math/ipopt/Makefile Sun Apr 1 04:58:18 2018 (r466115) @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= Ipopt -PORTVERSION= 3.12.7 -PORTREVISION= 3 +DISTVERSION= 3.12.9 CATEGORIES= math MASTER_SITES= http://www.coin-or.org/download/source/Ipopt/ \ http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis/OLD/:metis \ @@ -46,14 +45,16 @@ pre-patch: @(cd ${WRKSRC}/ThirdParty/Mumps && ${PATCH} -p0 < mumps.patch && ${PATCH} -p0 < mumps_mpi.patch ) @(${MV} ${WRKSRC}/ThirdParty/Mumps/MUMPS/libseq/mpi.h ${WRKSRC}/ThirdParty/Mumps/MUMPS/libseq/mumps_mpi.h); +pre-build: # workaround: configure fails to find the 'rand' function on 12, need to investigate. This patch unbreaks the build. + @${REINPLACE_CMD} -e 's|.*HAVE_RAND.*|#define HAVE_RAND 1|' ${WRKSRC}/Ipopt/src/Common/config.h + post-install-DOCS-off: - ${RM} -r ${STAGEDIR}${PREFIX}/share/coin + @${RM} -r ${STAGEDIR}${PREFIX}/share/coin post-install-DOCS-on: - ${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/Ipopt/doc/documentation.pdf\ - ${STAGEDIR}${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/Ipopt/doc/documentation.pdf ${STAGEDIR}${DOCSDIR} ${MV} ${STAGEDIR}${PREFIX}/share/coin/doc ${STAGEDIR}${DOCSDIR} - ${RM} -r ${STAGEDIR}${PREFIX}/share/coin + @${RM} -r ${STAGEDIR}${PREFIX}/share/coin .include Modified: head/math/ipopt/distinfo ============================================================================== --- head/math/ipopt/distinfo Sun Apr 1 03:58:03 2018 (r466114) +++ head/math/ipopt/distinfo Sun Apr 1 04:58:18 2018 (r466115) @@ -1,6 +1,6 @@ -TIMESTAMP = 1488130237 -SHA256 (Ipopt-3.12.7.tgz) = 9c8b02149fa4f0cdf63e838ae68f86aa41a577d7f05932139eede9179f314861 -SIZE (Ipopt-3.12.7.tgz) = 4528176 +TIMESTAMP = 1522551519 +SHA256 (Ipopt-3.12.9.tgz) = 8ff3fe1a8560896fc5559839a87c2530cac4ed231b0806e487bfd3cf2d294ab8 +SIZE (Ipopt-3.12.9.tgz) = 4519545 SHA256 (metis-4.0.3.tar.gz) = 5efa35de80703c1b2c4d0de080fafbcf4e0d363a21149a1ad2f96e0144841a55 SIZE (metis-4.0.3.tar.gz) = 522624 SHA256 (MUMPS_4.10.0.tar.gz) = d0f86f91a74c51a17a2ff1be9c9cee2338976f13a6d00896ba5b43a5ca05d933 Modified: head/math/ipopt/pkg-plist ============================================================================== --- head/math/ipopt/pkg-plist Sun Apr 1 03:58:03 2018 (r466114) +++ head/math/ipopt/pkg-plist Sun Apr 1 04:58:18 2018 (r466115) @@ -84,7 +84,7 @@ lib/libcoinmumps.so.1 lib/libcoinmumps.so.1.6.0 lib/libipopt.so lib/libipopt.so.1 -lib/libipopt.so.1.10.7 +lib/libipopt.so.1.10.9 libdata/pkgconfig/coinmetis.pc libdata/pkgconfig/coinmumps.pc libdata/pkgconfig/ipopt.pc