git: 8b52ee35c1a7 - main - ports-mgmt/pkg-appstream: Use PKG_ORIGIN in BUILD_DEPENDS.

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Tue, 08 Aug 2023 07:48:40 UTC
The branch main has been updated by arrowd:

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

commit 8b52ee35c1a70b3ea5fb33c7c60e5d75931ad02d
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2023-08-08 07:47:50 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2023-08-08 07:48:36 +0000

    ports-mgmt/pkg-appstream: Use PKG_ORIGIN in BUILD_DEPENDS.
    
    This allows building the plugin against pkg-devel.
    
    Reported by:    fluffy
---
 ports-mgmt/pkg-appstream/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ports-mgmt/pkg-appstream/Makefile b/ports-mgmt/pkg-appstream/Makefile
index b7acf9e470b2..e58120171bb9 100644
--- a/ports-mgmt/pkg-appstream/Makefile
+++ b/ports-mgmt/pkg-appstream/Makefile
@@ -10,7 +10,7 @@ WWW=		https://github.com/freebsd/pkg-appstream
 LICENSE=	BSD2CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${LOCALBASE}/include/pkg.h:ports-mgmt/pkg
+BUILD_DEPENDS=	${LOCALBASE}/include/pkg.h:${PKG_ORIGIN}
 
 USES=		localbase