pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-boost



Module Name:    pkgsrc
Committed By:   markd
Date:           Tue Nov 13 12:00:33 UTC 2018

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

Log Message:
py-boost: allow for pythons with the pymalloc option set


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/devel/py-boost/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/Makefile
diff -u pkgsrc/devel/py-boost/Makefile:1.9 pkgsrc/devel/py-boost/Makefile:1.10
--- pkgsrc/devel/py-boost/Makefile:1.9  Sun Apr 29 20:41:11 2018
+++ pkgsrc/devel/py-boost/Makefile      Tue Nov 13 12:00:33 2018
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2018/04/29 20:41:11 adam Exp $
+# $NetBSD: Makefile,v 1.10 2018/11/13 12:00:33 markd Exp $
 
 BOOST_PACKAGE=         python
 BOOST_COMMENT=         (Boost.Python binary library)
@@ -17,9 +17,15 @@ MAKE_ENV+=           BOOST_BUILD_PATH=${WRKSRC}
 .include "../../devel/boost-jam/bjam.mk"
 .include "../../lang/python/pyversion.mk"
 
+.if exists(${PYTHONBIN}m)
+M=     m
+.else
+M=
+.endif
+
 post-configure:
        ${ECHO} 'using python : ${PYVERSSUFFIX} :' \
-           '${PREFIX}/bin/python${PYVERSSUFFIX} ;' \
+           '${PREFIX}/bin/python${PYVERSSUFFIX} : ${PREFIX}/include/python${PYVERSSUFFIX}${M} ;' \
            >${WRKSRC}/user-config.jam
 
 do-build: bjam-build



Home | Main Index | Thread Index | Old Index