git: c372f7ec4b20 - main - ports-mgmt/packagekit: Allow building against pkg-devel

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Wed, 03 Apr 2024 15:32:35 UTC
The branch main has been updated by arrowd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c372f7ec4b202d89202cfcda972bfa289ecb1e3b

commit c372f7ec4b202d89202cfcda972bfa289ecb1e3b
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2024-04-03 15:30:44 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2024-04-03 15:30:44 +0000

    ports-mgmt/packagekit: Allow building against pkg-devel
    
    Reported by:    fluffy
---
 ports-mgmt/packagekit/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ports-mgmt/packagekit/Makefile b/ports-mgmt/packagekit/Makefile
index b1c91a58c240..405978bfc380 100644
--- a/ports-mgmt/packagekit/Makefile
+++ b/ports-mgmt/packagekit/Makefile
@@ -15,7 +15,7 @@ BUILD_DEPENDS=	${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:textproc/docb
 		xsltproc:textproc/libxslt
 LIB_DEPENDS=	libfontconfig.so:x11-fonts/fontconfig \
 		libpolkit-gobject-1.so:sysutils/polkit \
-		libpkg.so:ports-mgmt/pkg
+		libpkg.so:${PKG_ORIGIN}
 RUN_DEPENDS=	console-kit-daemon:sysutils/consolekit2
 
 USES=		cpe gettext gnome meson pkgconfig \