summaryrefslogtreecommitdiff
path: root/textproc/uncrustify
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2019-07-09 20:23:07 +0000
committernia <nia@pkgsrc.org>2019-07-09 20:23:07 +0000
commit21f8a55c337094173fc3bdace69794de2e27d886 (patch)
tree92f5e67762b134e6180e70c3bdc8f7a32df4f04c /textproc/uncrustify
parent5905582dfeb5e10342663d4c4b2c63128a0f69d3 (diff)
downloadpkgsrc-21f8a55c337094173fc3bdace69794de2e27d886.tar.gz
uncrustify: Needs python to build, set PYTHON_FOR_BUILD_ONLY etc
Diffstat (limited to 'textproc/uncrustify')
-rw-r--r--textproc/uncrustify/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/textproc/uncrustify/Makefile b/textproc/uncrustify/Makefile
index 6287f461f12..7dcd19ec51a 100644
--- a/textproc/uncrustify/Makefile
+++ b/textproc/uncrustify/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2019/05/14 12:54:17 ryoon Exp $
+# $NetBSD: Makefile,v 1.4 2019/07/09 20:23:07 nia Exp $
DISTNAME= uncrustify-uncrustify-0.69.0
PKGNAME= ${DISTNAME:S/uncrustify-//}
@@ -19,7 +19,11 @@ OBJDIR= ${WRKSRC}/build
CONFIGURE_DIRS= ${OBJDIR}
CMAKE_ARG_PATH= ${WRKSRC}
+PYTHON_VERSIONS_INCOMPATIBLE= 36 37
+PYTHON_FOR_BUILD_ONLY= yes
+
pre-configure:
${MKDIR} ${WRKSRC}/build
+.include "../../lang/python/pyversion.mk"
.include "../../mk/bsd.pkg.mk"