summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authormef <mef@pkgsrc.org>2021-09-18 05:06:06 +0000
committermef <mef@pkgsrc.org>2021-09-18 05:06:06 +0000
commita347965822beaf7e336617d24f777f5f4ce311c2 (patch)
treedb87673e3e68b296f8b06b79504f00638fd1f6d0 /math
parentefae13c0407d2109c9e1fbdf8d990b7045d07f74 (diff)
downloadpkgsrc-a347965822beaf7e336617d24f777f5f4ce311c2.tar.gz
(math/nlopt) Updated 2.4.2 to 2.6.2
# NLopt Release Notes ## NLopt 2.6.2 15 April 2020 * Fixed forced stop exception with dimension elimination ([#317]) * Fixed `get_initial_step` wrapping ([#319]) * Various build fixes ([#314], [#308], [#303], [#278]) ## NLopt 2.6.1 13 April 2019 * Fix `nlopt_version` result for 2.6.x and update soname. ## NLopt 2.6 12 April 2019 * New `nlopt_set_upper_bound` and `nlopt_set_lower_bound` functions in the low-level C API to set one bound at a time ([#257]). * There is no longer a separate `libnlopt_cxx` library: C++ algorithms (STOGO and AGS) are compiled and included by default ([#198]). * Various build fixes ([#197], [#216], [#245], [#250], [#230], [#261], etc.), other fixes ([#242], [#258]). ## NLopt 2.5 26 July 2018 * New AGS global solver ([#194]), thanks to Vladislav Sovrasov. * New `nlopt_get_numevals` function providing a built-in evaluation counter ([#160]). * New `nlopt_get_errmsg` function for more descriptive error messages. * Build system is converted to `cmake` ([#49]), thanks to Julien Schueller * Plugins updated for recent Octave and Guile versions. * Various other build fixes and minor bug fixes.
Diffstat (limited to 'math')
-rw-r--r--math/nlopt/Makefile12
-rw-r--r--math/nlopt/PLIST12
-rw-r--r--math/nlopt/buildlink3.mk6
-rw-r--r--math/nlopt/distinfo10
4 files changed, 24 insertions, 16 deletions
diff --git a/math/nlopt/Makefile b/math/nlopt/Makefile
index 03a6538d347..b05e97fba27 100644
--- a/math/nlopt/Makefile
+++ b/math/nlopt/Makefile
@@ -1,20 +1,20 @@
-# $NetBSD: Makefile,v 1.1 2015/11/28 07:33:38 wen Exp $
+# $NetBSD: Makefile,v 1.2 2021/09/18 05:06:06 mef Exp $
-DISTNAME= nlopt-2.4.2
+VERSION= 2.6.2
+DISTNAME= nlopt-${VERSION}
CATEGORIES= math
-MASTER_SITES= http://ab-initio.mit.edu/nlopt/
+MASTER_SITES= ${MASTER_SITE_GITHUB:=stevengj/}
+GITHUB_TAG= v${VERSION}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://ab-initio.mit.edu/nlopt/
COMMENT= Nonlinear optimization library
LICENSE= gnu-lgpl-v2.1 OR mit
-GNU_CONFIGURE= yes
+USE_CMAKE= yes
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config
USE_LANGUAGES= c c++
-PKGCONFIG_OVERRIDE= lib/pkgconfig/nlopt.pc
-
.include "../../devel/gmp/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/math/nlopt/PLIST b/math/nlopt/PLIST
index 8e4bd791aa4..88608d70313 100644
--- a/math/nlopt/PLIST
+++ b/math/nlopt/PLIST
@@ -1,7 +1,15 @@
-@comment $NetBSD: PLIST,v 1.1 2015/11/28 07:33:38 wen Exp $
+@comment $NetBSD: PLIST,v 1.2 2021/09/18 05:06:06 mef Exp $
include/nlopt.f
include/nlopt.h
include/nlopt.hpp
-lib/libnlopt.la
+lib/cmake/nlopt/NLoptConfig.cmake
+lib/cmake/nlopt/NLoptConfigVersion.cmake
+lib/cmake/nlopt/NLoptLibraryDepends-release.cmake
+lib/cmake/nlopt/NLoptLibraryDepends.cmake
+lib/libnlopt.so
+lib/libnlopt.so.0
+lib/libnlopt.so.0.10.0
lib/pkgconfig/nlopt.pc
man/man3/nlopt.3
+man/man3/nlopt_minimize.3
+man/man3/nlopt_minimize_constrained.3
diff --git a/math/nlopt/buildlink3.mk b/math/nlopt/buildlink3.mk
index 99eceb15150..8df461741f0 100644
--- a/math/nlopt/buildlink3.mk
+++ b/math/nlopt/buildlink3.mk
@@ -1,12 +1,12 @@
-# $NetBSD: buildlink3.mk,v 1.2 2018/01/07 13:04:23 rillig Exp $
+# $NetBSD: buildlink3.mk,v 1.3 2021/09/18 05:06:06 mef Exp $
BUILDLINK_TREE+= nlopt
.if !defined(NLOPT_BUILDLINK3_MK)
NLOPT_BUILDLINK3_MK:=
-BUILDLINK_API_DEPENDS.nlopt+= nlopt>=2.4.2
-BUILDLINK_ABI_DEPENDS.nlopt+= nlopt>=2.4.2
+BUILDLINK_API_DEPENDS.nlopt+= nlopt>=2.6.2
+BUILDLINK_ABI_DEPENDS.nlopt+= nlopt>=2.6.2
BUILDLINK_PKGSRCDIR.nlopt?= ../../math/nlopt
.endif # NLOPT_BUILDLINK3_MK
diff --git a/math/nlopt/distinfo b/math/nlopt/distinfo
index f28e2698ff1..e96b94628a0 100644
--- a/math/nlopt/distinfo
+++ b/math/nlopt/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2017/03/23 17:06:55 joerg Exp $
+$NetBSD: distinfo,v 1.3 2021/09/18 05:06:06 mef Exp $
-SHA1 (nlopt-2.4.2.tar.gz) = 838c399d8fffd7aa56b20231e0d7bd3462ca0226
-RMD160 (nlopt-2.4.2.tar.gz) = 851cdb65ce4de04007df1c038c566d0be8d9917b
-SHA512 (nlopt-2.4.2.tar.gz) = 136aacc00a69f77e8a7ce5dc26a5f3f027bc8c01b97aa1f43919462e0a412154eabfb01be258e082dffe61f9b554bb2bfbb550a7b82c7c77c7b22874a64a9703
-Size (nlopt-2.4.2.tar.gz) = 2361992 bytes
+SHA1 (nlopt-2.6.2.tar.gz) = d7f7962e4e8cc014b734d591d8041a64d56250c3
+RMD160 (nlopt-2.6.2.tar.gz) = 133b655d359ef9d5475324e077e28901a30bb757
+SHA512 (nlopt-2.6.2.tar.gz) = 61e5c01140a57c0ad2a0acd82ad50dce1b5679dc281e55cbbc332e876b19a689013100617545a42b721d8c487df37d6ccd67859171243433fe29468f259b556b
+Size (nlopt-2.6.2.tar.gz) = 2040229 bytes