pkgsrc-WIP-changes archive

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

py-graph-tool: make build get further with python 3.x



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <tk%giga.or.at@localhost>
Pushed By:	wiz
Date:		Thu Sep 3 17:48:16 2020 +0200
Changeset:	cd3ceda8d192c8c54c06f2d43c8db9f334a67fa7

Modified Files:
	py-graph-tool/Makefile

Log Message:
py-graph-tool: make build get further with python 3.x

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=cd3ceda8d192c8c54c06f2d43c8db9f334a67fa7

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

diffstat:
 py-graph-tool/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diffs:
diff --git a/py-graph-tool/Makefile b/py-graph-tool/Makefile
index eb13c88b47..bd74fd7573 100644
--- a/py-graph-tool/Makefile
+++ b/py-graph-tool/Makefile
@@ -36,7 +36,7 @@ CONFIGURE_ARGS+=	--with-numpy=${PREFIX}
 CONFIGURE_ARGS+=	--disable-silent-rules
 
 # Why is this necessary?
-CXXFLAGS+=	-I${PREFIX}/lib/python2.7/site-packages/numpy/core/include
+CXXFLAGS+=	-I${PREFIX}/lib/python${PYVERSSUFFIX}/site-packages/numpy/core/include
 CXXFLAGS+=	-Wno-unknown-pragmas
 CXXFLAGS+=	-Wno-maybe-uninitialized
 CXXFLAGS+=	-std=c++14


Home | Main Index | Thread Index | Old Index