diff options
author | Fernando ApesteguĂa <fernape@FreeBSD.org> | 2019-04-20 16:55:01 +0000 |
---|---|---|
committer | Fernando ApesteguĂa <fernape@FreeBSD.org> | 2019-04-20 16:55:01 +0000 |
commit | f120cfee5a7ee29f1fc43c28fc519145d691128d (patch) | |
tree | 584a1085a087a85327bec2c70b64b035b07c1520 | |
parent | sysutils/memtest86+: Remove gcc run dependency (diff) |
graphics/partio: Use python 2.7
Some of the scripts don't work yet with python 3.0. Use python 2.7 instead.
Remove also two problematic scripts due to lack of necessary wrappers.
Reported by: tcberner
Notes
Notes:
svn path=/head/; revision=499460
-rw-r--r-- | graphics/partio/Makefile | 6 | ||||
-rw-r--r-- | graphics/partio/pkg-plist | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/graphics/partio/Makefile b/graphics/partio/Makefile index 168584c5ba88..86eb6c754067 100644 --- a/graphics/partio/Makefile +++ b/graphics/partio/Makefile @@ -12,7 +12,7 @@ LICENSE= BSD3CLAUSE BUILD_DEPENDS= swig3.0:devel/swig30 -USES= cmake compiler:c++11-lang gl python shebangfix +USES= cmake compiler:c++11-lang gl python:2.7 shebangfix SHEBANG_FILES= src/tools/partedit.py src/tools/partinspect.py \ src/tools/partjson.py USE_GL= gl glu glut @@ -48,6 +48,10 @@ post-patch-DOCS-off: @${REINPLACE_CMD} -e '/ADD_SUBDIRECTORY.*src\/doc.*/d' \ ${WRKSRC}/CMakeLists.txt +# Remove those files that don't yet work +post-install: + ${RM} ${STAGEDIR}${PREFIX}/bin/partedit ${STAGEDIR}${PREFIX}/bin/partinspect + post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/src/doc && ${INSTALL_DATA} tutorial.txt partio.tex ${STAGEDIR}${DOCSDIR} diff --git a/graphics/partio/pkg-plist b/graphics/partio/pkg-plist index fc05c2be5b58..bb55127c5cc3 100644 --- a/graphics/partio/pkg-plist +++ b/graphics/partio/pkg-plist @@ -1,8 +1,6 @@ bin/partattr bin/partconvert -bin/partedit bin/partinfo -bin/partinspect bin/partjson bin/partview include/Partio.h |