It seems a36ac4ec4f06 (Use libpfctl) broke building py-libdnet. I'm using poudriere on 13.2/amd64 and python 3.11. One problem is that it doesn't work with autoconf 2.71: libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. libtoolize: 'AC_PROG_RANLIB' is rendered obsolete by 'LT_INIT' configure.ac:22: warning: The macro `AC_LIBTOOL_DLOPEN' is obsolete. configure.ac:22: You should run autoupdate. m4/ltoptions.m4:113: AC_LIBTOOL_DLOPEN is expanded from... [etc.] But then libpfctl isn't found. Bonus fix: Solve portlint "PLIST_FILES: files cannot contain %%FOO%% variables" error. Also add LICENSE.
Created attachment 245033 [details] patch
I created a Phab review before seeing this. https://reviews.freebsd.org/D41922 Adding USES=localbase:ldflags fixed the build.
I see bofh just committed the fix with USES=localbase:ldflags.
:/ Yes indeed. I woke up in the morning and saw the breakage from my buiders. However this is solved for now. But Craig if you want to apply the PLIST_FILES you can await for the maintainer-approval or commit with blanket.
By the by portlint doesn't work well on slave ports. Sp be aware to blindly follow portlint. In this specific this is alright. Additionally you do not need to add the LICENSE as the LICENSE is on the master port.
I guess the bugs system also doesn't know to pick up MAINTAINER from the master port... assigning this to onatan@gmail.com Thanks for the localbase:ldflags fix and I see that technically libdnet requires autoconf 2.69 but it works if you ignore the warnings.
Created attachment 245075 [details] revised patch Here's a revised patch using @jrm's USES=localbase:ldflags fix.
Created attachment 245076 [details] revised patch Catch up with 1c7096ced412, now the patch only fixes %%PYTHON_EXT_SUFFIX%% in PLIST_FILES