summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorprlw1 <prlw1@pkgsrc.org>2016-04-07 21:35:33 +0000
committerprlw1 <prlw1@pkgsrc.org>2016-04-07 21:35:33 +0000
commit48f644e8a2348f6da67b765551423e2a7666b4fa (patch)
tree581b4944303bbfd821227a314ac8a07a7d4c53ed /devel
parent35f2151caa8bf7c6ffced2b87d6a1ae3774c017c (diff)
downloadpkgsrc-48f644e8a2348f6da67b765551423e2a7666b4fa.tar.gz
Remove /usr/bin/env from g-ir-annotation-tool and g-ir-scanner.
Diffstat (limited to 'devel')
-rw-r--r--devel/gobject-introspection/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/devel/gobject-introspection/Makefile b/devel/gobject-introspection/Makefile
index a3bea97ebe8..9be8c5cadd6 100644
--- a/devel/gobject-introspection/Makefile
+++ b/devel/gobject-introspection/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.45 2016/04/07 20:28:19 prlw1 Exp $
+# $NetBSD: Makefile,v 1.46 2016/04/07 21:35:33 prlw1 Exp $
DISTNAME= gobject-introspection-1.48.0
CATEGORIES= devel gnome
@@ -22,7 +22,7 @@ GMAKE_REQD= 3.81
PKGCONFIG_OVERRIDE+= gobject-introspection-1.0.pc.in
PKGCONFIG_OVERRIDE+= gobject-introspection-no-export-1.0.pc.in
-SUBST_CLASSES+= timet
+SUBST_CLASSES+= timet
SUBST_STAGE.timet= pre-configure
SUBST_FILES.timet= giscanner/ast.py
SUBST_FILES.timet+= tests/scanner/Regress-1.0-expected.gir
@@ -35,6 +35,12 @@ SUBST_SED.timet= -e 's,@TIMET_TYPENAME@,TYPE_LONG,g'
SUBST_SED.timet+= -e 's,@TIMET_CTYPE@,glong,g'
.endif
+#REPLACE_PYTHON+= tools/g-ir-tool-template.in
+SUBST_CLASSES+= pyenv
+SUBST_STAGE.pyenv+= pre-configure
+SUBST_FILES.pyenv+= tools/g-ir-tool-template.in
+SUBST_SED.pyenv+= -e 's,/usr/bin/env ,,'
+
# not executable
CHECK_INTERPRETER_SKIP+= lib/gobject-introspection/giscanner/*.py