pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/gdk-pixbuf2 gdk-pixbuf2: Fix the path to the ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/13e07b55555c
branches:  trunk
changeset: 398562:13e07b55555c
user:      nia <nia%pkgsrc.org@localhost>
date:      Mon Jul 22 09:13:13 2019 +0000

description:
gdk-pixbuf2: Fix the path to the Python interpreter.

diffstat:

 graphics/gdk-pixbuf2/Makefile |  13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diffs (27 lines):

diff -r 9d289b388711 -r 13e07b55555c graphics/gdk-pixbuf2/Makefile
--- a/graphics/gdk-pixbuf2/Makefile     Mon Jul 22 08:42:49 2019 +0000
+++ b/graphics/gdk-pixbuf2/Makefile     Mon Jul 22 09:13:13 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.37 2019/07/21 12:45:49 ryoon Exp $
+# $NetBSD: Makefile,v 1.38 2019/07/22 09:13:13 nia Exp $
 
 DISTNAME=      gdk-pixbuf-${PIXBUF2_VERSION}
 PKGNAME=       ${DISTNAME:S/pixbuf/pixbuf2/}
@@ -24,6 +24,17 @@
 PKGCONFIG_OVERRIDE_STAGE=pre-install
 PKGCONFIG_OVERRIDE=    output/meson-private/gdk-pixbuf-2.0.pc
 
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
+.include "../../lang/python/pyversion.mk"
+
+REPLACE_INTERPRETER+=  py3
+REPLACE.py3.old=       .*/usr/bin/env python[^ ]*
+REPLACE.py3.new=       ${PYTHONBIN}
+REPLACE_FILES.py3+=    build-aux/gen-installed-test.py
+REPLACE_FILES.py3+=    build-aux/gen-thumbnailer.py
+REPLACE_FILES.py3+=    build-aux/gen-resources.py
+
 _BUILDING_GTK2= yes
 .include "loaders.mk"
 



Home | Main Index | Thread Index | Old Index