diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2018-04-01 04:58:18 +0000 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2018-04-01 04:58:18 +0000 |
commit | 3e16f8dadf57ff6ab33107f863de5caf6bffec0b (patch) | |
tree | 8cf2bb3a97f92525c02a6839283d8efc144632e5 /math/ipopt | |
parent | devel/py-pycparser: Update to 2.18 (diff) |
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.
Notes
Notes:
svn path=/head/; revision=466115
Diffstat (limited to 'math/ipopt')
-rw-r--r-- | math/ipopt/Makefile | 15 | ||||
-rw-r--r-- | math/ipopt/distinfo | 6 | ||||
-rw-r--r-- | math/ipopt/pkg-plist | 2 |
3 files changed, 12 insertions, 11 deletions
diff --git a/math/ipopt/Makefile b/math/ipopt/Makefile index 6c4b460432c0..08bd5f72a556 100644 --- a/math/ipopt/Makefile +++ b/math/ipopt/Makefile @@ -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> diff --git a/math/ipopt/distinfo b/math/ipopt/distinfo index 2582a9596c14..5a657d5b75fe 100644 --- a/math/ipopt/distinfo +++ b/math/ipopt/distinfo @@ -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 diff --git a/math/ipopt/pkg-plist b/math/ipopt/pkg-plist index 92d26de397ec..ffcf7cba4371 100644 --- a/math/ipopt/pkg-plist +++ b/math/ipopt/pkg-plist @@ -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 |