pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-boost-cmake



Module Name:    pkgsrc
Committed By:   riastradh
Date:           Thu Jan 23 23:09:45 UTC 2025

Modified Files:
        pkgsrc/devel/py-boost-cmake: Makefile

Log Message:
devel/py-boost-cmake: Defer evaluation of PYTHON_VERSION_REQD.

This way it can be determined by PKGNAME_REQD too.

No functional change intended when the build succeeds -- the output
is still supposed to be independent of the Python version.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/py-boost-cmake/Makefile

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

Modified files:

Index: pkgsrc/devel/py-boost-cmake/Makefile
diff -u pkgsrc/devel/py-boost-cmake/Makefile:1.1 pkgsrc/devel/py-boost-cmake/Makefile:1.2
--- pkgsrc/devel/py-boost-cmake/Makefile:1.1    Thu Jan 23 19:37:40 2025
+++ pkgsrc/devel/py-boost-cmake/Makefile        Thu Jan 23 23:09:45 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2025/01/23 19:37:40 riastradh Exp $
+# $NetBSD: Makefile,v 1.2 2025/01/23 23:09:45 riastradh Exp $
 
 BOOST_PACKAGE=         python
 BOOST_COMMENT=         (Boost.Python cmake files)
@@ -19,9 +19,7 @@ PKGNAME=              py-boost-cmake-${BOOST_VERSION
 # XXX Can we convince bjam to build just the cmake files?
 #
 # XXX Reduce copypasta from devel/py-boost/Makefile.
-.if !defined(PYTHON_VERSION_REQD)
-PYTHON_VERSIONS_ACCEPTED=      ${PYTHON_VERSION_DEFAULT}
-.endif
+PYTHON_VERSIONS_ACCEPTED=      ${PYTHON_VERSION_REQD:U${PYTHON_VERSION_DEFAULT}}
 
 USE_TOOLS+=            pax
 



Home | Main Index | Thread Index | Old Index