[Bug 269031] devel/popt: Backport patches for conversion to CMake

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 18 Jan 2023 16:46:11 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269031

            Bug ID: 269031
           Summary: devel/popt: Backport patches for conversion to CMake
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: sunpoet@FreeBSD.org
          Reporter: diizzy@FreeBSD.org
          Assignee: sunpoet@FreeBSD.org
             Flags: maintainer-feedback?(sunpoet@FreeBSD.org)

Created attachment 239560
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=239560&action=edit
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

-- 
You are receiving this mail because:
You are the assignee for the bug.