pkgsrc-Changes archive

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

CVS commit: pkgsrc/x11/gtk2



Module Name:    pkgsrc
Committed By:   tnn
Date:           Thu May  1 13:47:16 UTC 2025

Modified Files:
        pkgsrc/x11/gtk2: Makefile

Log Message:
gtk2: work around CGWindowListCreateImage deprecation on macOS >= 15


To generate a diff of this commit:
cvs rdiff -u -r1.355 -r1.356 pkgsrc/x11/gtk2/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/x11/gtk2/Makefile
diff -u pkgsrc/x11/gtk2/Makefile:1.355 pkgsrc/x11/gtk2/Makefile:1.356
--- pkgsrc/x11/gtk2/Makefile:1.355      Thu Apr 24 14:16:11 2025
+++ pkgsrc/x11/gtk2/Makefile    Thu May  1 13:47:16 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.355 2025/04/24 14:16:11 wiz Exp $
+# $NetBSD: Makefile,v 1.356 2025/05/01 13:47:16 tnn Exp $
 
 DISTNAME=      gtk+-2.24.33
 PKGNAME=       ${DISTNAME:S/gtk/gtk2/}
@@ -72,6 +72,11 @@ TOOL_DEPENDS+=               ${PKGNAME}:../../${PKGPA
 CONFIGURE_ARGS+=       GTK_UPDATE_ICON_CACHE=${TOOLBASE:Q}/bin/gtk2-update-icon-cache
 .endif
 
+# https://github.com/macports/macports-ports/pull/25847
+.if ${OPSYS} == "Darwin" && ${OPSYS_VERSION} >= 150000
+MACOSX_DEPLOYMENT_TARGET=      14.0
+.endif
+
 #SUBST_CLASSES+=       pthread
 #SUBST_STAGE.pthread=  pre-configure
 #SUBST_MESSAGE.pthread=        Fixing pthread flags.



Home | Main Index | Thread Index | Old Index