Skip to content

Commit d34cd77

Browse files
author
adam
committed
gdk-pixbuf2: fix build on Darwin - avoid system python3
1 parent eee70ab commit d34cd77

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

graphics/gdk-pixbuf2/Makefile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $NetBSD: Makefile,v 1.70 2025/08/01 09:10:57 nia Exp $
1+
# $NetBSD: Makefile,v 1.71 2025/08/05 04:57:19 adam Exp $
22

33
DISTNAME= gdk-pixbuf-2.42.12
44
PKGNAME= ${DISTNAME:S/pixbuf/pixbuf2/}
@@ -65,9 +65,10 @@ MAKE_ENV+= DYLD_LIBRARY_PATH=${WRKSRC}/output/gdk-pixbuf
6565

6666
.endif
6767

68-
PYTHON_VERSIONS_INCOMPATIBLE= 27
69-
PYTHON_FOR_BUILD_ONLY= tool
68+
PYTHON_FOR_BUILD_ONLY= tool
69+
REPLACE_PYTHON+= build-aux/gen-thumbnailer.py
7070

71+
.include "../../lang/python/application.mk"
7172
.include "../../lang/python/tool.mk"
7273

7374
_BUILDING_GTK2= yes
@@ -80,7 +81,7 @@ _BUILDING_GTK2= yes
8081
.include "../../devel/py-gi-docgen/buildlink3.mk"
8182
BUILDLINK_API_DEPENDS.glib2+= glib2>=2.37.2
8283
.include "../../devel/glib2/buildlink3.mk"
84+
.include "../../graphics/png/buildlink3.mk"
8385
.include "../../graphics/tiff/buildlink3.mk"
8486
.include "../../mk/jpeg.buildlink3.mk"
85-
.include "../../graphics/png/buildlink3.mk"
8687
.include "../../mk/bsd.pkg.mk"

0 commit comments

Comments
 (0)