Commit Graph

9005 Commits

Author SHA1 Message Date
Herby Gillot 37202506ec selfupdate: make configure save file writable
Fixes: https://trac.macports.org/ticket/73899
2026-04-23 13:31:13 -04:00
Joshua Root 825c45b0ed Use kqueue notifier instead of CF 2026-04-23 16:10:01 +10:00
Joshua Root 985646a831 Set RELEASE_URL to 2.12.5 2026-04-23 15:07:04 +10:00
Joshua Root 664cd19423 2.12.5 release date 2026-04-22 18:37:25 +10:00
Joshua Root c2f833058e Delete stray file 2026-04-20 18:47:11 +10:00
Joshua Root aa4c60d68f action_target: limit batch size
Closes: https://trac.macports.org/ticket/73638
2026-04-19 16:08:21 +10:00
Herby Gillot bc1089e900 port: add 'prefix' action to display the configured prefix
Adds a new `port prefix` command that prints MacPorts' installation prefix on
stdout, unadorned, so it can be used directly in shell scripts.

Closes: https://trac.macports.org/ticket/72961
2026-04-18 15:58:50 -04:00
Herby Gillot d2354c700f make: skip autoconf regeneration for clean/distclean goals
GNU Make tries to remake any included makefile, so `include
Mk/macports.autoconf.mk` causes the top-level `Mk/macports.autoconf.mk:`
rule to fire. That rule depends on `config.status`, whose rule re-runs
`./config.status --recheck` (effectively `./configure`), and the
autoconf.mk recipe then runs `make clean` as a side effect.

The result: `make clean` and `make distclean` both trigger a configure
run before cleaning, which is wasteful and surprising.

Skip the regeneration rules entirely when the only goals on the command
line are clean or distclean. Any other goal (or the default build)
still picks up configuration changes as before.
2026-04-18 15:58:10 -04:00
Mohamed Akram 4608bce1bc Simplify dependency upgrade message 2026-04-18 22:25:59 +04:00
Joshua Root 0d18aba5b9 Update ChangeLog 2026-04-18 13:35:40 +10:00
Joshua Root 0924d612e1 get_archive_sites_conf_values: fully qualify names
These were resolved relative to the current namespace in Tcl 9.

Closes: https://trac.macports.org/ticket/73861
2026-04-18 09:52:16 +10:00
Joshua Root d3013e0a1d Fix Tcl crash when cwd is inaccessible
Upstream: https://core.tcl-lang.org/tcl/info/7e7e1d39046945a2
2026-04-17 17:13:25 +10:00
Herby Gillot 7fe28793c0 selfupdate: preserve all configure arguments
During selfupdate, only a few configure arguments (--prefix,
--with-install-user, --with-install-group, --with-directory-mode)
were reconstructed and passed to configure. Other arguments such as
--with-curlprefix, --with-applications-dir, --with-frameworks-dir,
and tool paths were silently lost.

Save the original configure arguments to
$prefix/share/macports/configure_args during make install, and read
them back during selfupdate. Fall back to the previous reconstruction
logic when upgrading from an older version that lacks the saved file.

Closes: https://trac.macports.org/ticket/73670

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-17 02:14:12 -04:00
Clemens Lang 022fe2c6f4 registry2.0: Fix variable with Tcl 9 2026-04-14 22:15:04 +02:00
Joshua Root 2af99c0cfe thread: fix typedef redefinitions
Upstream: https://core.tcl-lang.org/thread/tktview/d3f41333aa42ca4db36821fddfae90342259381e
2026-04-14 08:58:12 +10:00
Joshua Root faf3b851f7 Remove tdbc{mysql,odbc,postgres}
We don't use these for anything, and they can be re-added if that
changes.
2026-04-14 08:19:15 +10:00
Joshua Root d54ca2c6a9 critcl: handle macos platform synonym
Tcl 9 reports the platform name as 'macosx' for some versions and as
'macos' for others.
2026-04-14 07:06:24 +10:00
Joshua Root e5aa79688a regen configure 2026-04-14 07:05:40 +10:00
Joshua Root b2e7b42ab1 autogen.sh: remove configure~
We don't really need a backup file when we have git.
2026-04-14 06:53:36 +10:00
Joshua Root 542f742b3f tdbc: fix typedef redefinitions
These definitions would be needed when building against Tcl 8 headers
but are already present in Tcl 9 headers.

Upstream: https://core.tcl-lang.org/tdbc/tktview/4d6a271e4b
2026-04-14 06:21:18 +10:00
Joshua Root c6af8b4115 sip_copy_proc: guard CPU_SUBTYPE_PTRAUTH_ABI instead 2026-04-14 05:54:35 +10:00
Joshua Root 50d9457147 sip_copy_proc: guard use of CPU_SUBTYPE_ARM64E 2026-04-14 05:30:51 +10:00
Joshua Root 3ee66457f6 portlivecheck: use replace profile with tempfd 2026-04-13 22:00:29 +10:00
Joshua Root da802ee4e6 Avoid typedef redefinition in tclsqlite3.c 2026-04-13 11:51:10 +10:00
Joshua Root 70245630c2 Fix typedef redefinition in tclDate.h 2026-04-13 10:19:54 +10:00