pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/math/nlopt



Module Name:    pkgsrc
Committed By:   wiz
Date:           Tue May  7 21:44:12 UTC 2024

Modified Files:
        pkgsrc/math/nlopt: Makefile

Log Message:
nlopt: disable Python autodetection.

Switch to cmake/build.mk.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/math/nlopt/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/math/nlopt/Makefile
diff -u pkgsrc/math/nlopt/Makefile:1.3 pkgsrc/math/nlopt/Makefile:1.4
--- pkgsrc/math/nlopt/Makefile:1.3      Fri Aug 11 08:31:20 2023
+++ pkgsrc/math/nlopt/Makefile  Tue May  7 21:44:12 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2023/08/11 08:31:20 mef Exp $
+# $NetBSD: Makefile,v 1.4 2024/05/07 21:44:12 wiz Exp $
 
 VERSION=               2.7.1
 DISTNAME=              nlopt-${VERSION}
@@ -11,10 +11,12 @@ HOMEPAGE=           http://ab-initio.mit.edu/nlop
 COMMENT=               Nonlinear optimization library
 LICENSE=               gnu-lgpl-v2.1 OR mit
 
-USE_CMAKE=             yes
 USE_LIBTOOL=           yes
 USE_TOOLS+=            pkg-config
 USE_LANGUAGES=         c c++
 
+CMAKE_ARGS+=           -DNLOPT_PYTHON=OFF
+
+.include "../../devel/cmake/build.mk"
 .include "../../devel/gmp/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index