pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-boost py-boost: allow for pythons with the py...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0a4018e8805f
branches:  trunk
changeset: 314996:0a4018e8805f
user:      markd <markd%pkgsrc.org@localhost>
date:      Tue Nov 13 12:00:33 2018 +0000

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

diffstat:

 devel/py-boost/Makefile |  10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 6b114a1e93d9 -r 0a4018e8805f devel/py-boost/Makefile
--- a/devel/py-boost/Makefile   Tue Nov 13 11:57:26 2018 +0000
+++ b/devel/py-boost/Makefile   Tue Nov 13 12:00:33 2018 +0000
@@ -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 @@
 .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