summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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