Created attachment 239560 [details] Patch for popt As with many other projects upstream is moving away from GNU Autotools, backport patches for switching to CMake so other ports can utilize CMake package files. * Switch to CMake as upstream no longer supports GNU Autotools [1] * Backport upstream patches for CMake conversion [2] * Backport patch to fix tests [3] * Remove USES= iconv, port uses iconv in libc * Rework port to follow Porters Handbook more closely Compile and runtime tested on FreeBSD 13.1-STABLE (amd64) (make, make check-plist, make test) Poudriere testport OK 12.3-RELEASE (amd64) Poudriere testport OK 13.1-RELEASE (i386) References: [1] https://github.com/rpm-software-management/popt/commit/e145ea481570a42b2617f5c4be1ada1aaacf6026 [2] https://github.com/rpm-software-management/popt/commit/692ae48f58a659015b38bdf20d8279d87fc9b0b0 https://github.com/rpm-software-management/popt/commit/0788cb2c5e8b606a7c4e6e0b77cbfb8c55e42e2a https://github.com/rpm-software-management/popt/commit/975cf4b143d5287c9c9a8e8e9c5f1554b79cb255 [3] https://github.com/rpm-software-management/popt/commit/ce80a8045c70db57084008a3fd98a7f0ba79544e
Created attachment 239612 [details] Patch for popt v2 Backport additional patches to fix compatibility Updated section [2] https://github.com/rpm-software-management/popt/commit/692ae48f58a659015b38bdf20d8279d87fc9b0b0 https://github.com/rpm-software-management/popt/commit/0788cb2c5e8b606a7c4e6e0b77cbfb8c55e42e2a https://github.com/rpm-software-management/popt/commit/975cf4b143d5287c9c9a8e8e9c5f1554b79cb255 https://github.com/rpm-software-management/popt/commit/e4860ecb02a5b73fdf5c18c837fbd6def49f083f https://github.com/rpm-software-management/popt/commit/819145732782b21cdd24fb8d1c1cd3e09dbf3ace bofh did a run in poudriere of consumers
Is there any port requires the cmake files right now? Could we postpone this until the official release?
Created attachment 239943 [details] Patch for popt v3 Fold all backport patches into one file
Hi, We are seeing more and more projects moving away from GNU Autotools and more requests of providing .cmake files (PR 260402, 267652 for example) so instead of holding up development why not be proactive? Best regards, Daniel
I'll move to cmake with the new release if needed but not now.