QA: * portlint: OK (looks fine.) * testport: OK (poudriere: 14.1, amd64 tested)
Created attachment 252476 [details] swtpm.patch
I'll remove GNU_CONFIGURE_MANPREFIX=${PREFIX}/share.
New dependency libgmp.so:math/gmp. Why did you add USE_LDCONFIG=yes? Build fine without it too.
USE_LDCONFIG was suggested by portlint, and reading the comment in bsd.port.mk I understood it is to be used whenever the port contains libraries. Did I get that wrong?
(In reply to Goran Mekić from comment #4) Ok.
My suggestion: --- sysutils/swtpm/Makefile.orig +++ sysutils/swtpm/Makefile @@ -1,6 +1,6 @@ PORTNAME= swtpm DISTVERSIONPREFIX= v -DISTVERSION= 0.8.2 +DISTVERSION= 0.9.0 CATEGORIES= sysutils MAINTAINER= meka@tilda.center @@ -16,6 +16,7 @@ gawk>=0:lang/gawk \ socat>=0:net/socat LIB_DEPENDS= libfuse.so:sysutils/fusefs-libs \ + libgmp.so:math/gmp \ libgnutls.so:security/gnutls \ libjson-glib-1.0.so:devel/json-glib \ libtasn1.so:security/libtasn1 \ @@ -25,11 +26,11 @@ pkgconfig ssl USE_GITHUB= yes GH_ACCOUNT= stefanberger -USE_GNOME+= glib20 -USE_RC_SUBR= swtpm +USE_GNOME= glib20 +USE_LDCONFIG= yes +USE_RC_SUBR= ${PORTNAME} GNU_CONFIGURE= yes -GNU_CONFIGURE_MANPREFIX=${PREFIX}/share INSTALL_TARGET= install-strip
ping
Created attachment 252862 [details] swtpm.patch Finally, some Internet.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=9e09d664d97f1db9e32ef891aea18c3bced553c7 commit 9e09d664d97f1db9e32ef891aea18c3bced553c7 Author: Goran Mekić <meka@tilda.center> AuthorDate: 2024-08-17 23:20:04 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2024-08-17 23:20:04 +0000 sysutils/swtpm: Upgrade 0.8.2 → 0.9.0 Changelog: https://github.com/stefanberger/swtpm/releases/tag/v0.9.0 Also: - remove GNU_CONFIGURE_MANPREFIX - small improvements PR: 280588 sysutils/swtpm/Makefile | 9 +++++---- sysutils/swtpm/distinfo | 6 +++--- 2 files changed, 8 insertions(+), 7 deletions(-)
Thanks.