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:   jperkin
Date:           Fri Oct  9 12:55:05 UTC 2026

Modified Files:
        pkgsrc/x11/gtk2: Makefile

Log Message:
gtk2: Fix previous.

If a user didn't have MACOSX_DEPLOYMENT_TARGET set in mk.conf then the variable
was no longer defined, so handle both cases.  Pointed out by tnn@.


To generate a diff of this commit:
cvs rdiff -u -r1.369 -r1.370 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.369 pkgsrc/x11/gtk2/Makefile:1.370
--- pkgsrc/x11/gtk2/Makefile:1.369      Fri Oct  9 10:05:44 2026
+++ pkgsrc/x11/gtk2/Makefile    Fri Oct  9 12:55:05 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.369 2026/10/09 10:05:44 jperkin Exp $
+# $NetBSD: Makefile,v 1.370 2026/10/09 12:55:05 jperkin Exp $
 
 DISTNAME=      gtk+-2.24.33
 PKGNAME=       ${DISTNAME:S/gtk/gtk2/}
@@ -74,7 +74,11 @@ CONFIGURE_ARGS+=     GTK_UPDATE_ICON_CACHE=$
 
 # https://github.com/macports/macports-ports/pull/25847
 .if ${OPSYS} == "Darwin" && ${OPSYS_VERSION} >= 150000
+.  if defined(MACOSX_DEPLOYMENT_TARGET)
 MACOSX_DEPLOYMENT_TARGET=      14.0
+.  else
+MAKE_ENV+=     MACOSX_DEPLOYMENT_TARGET=14.0
+.  endif
 .endif
 
 #SUBST_CLASSES+=       pthread



Home | Main Index | Thread Index | Old Index