Date: Sun, 1 Apr 2018 04:58:18 +0000 (UTC) From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r466115 - head/math/ipopt Message-ID: <201804010458.w314wImS066882@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804010458.w314wImS066882>