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/b2cbfc03a1e8
branches:  trunk
changeset: 336754:b2cbfc03a1e8
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 65c318983eb0 -r b2cbfc03a1e8 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