git: 771ce8599db5 - main - sysutils/createrepo_c: cleanup Makefile

From: Pietro Cerutti <gahr_at_FreeBSD.org>
Date: Wed, 02 Oct 2024 07:12:47 UTC
The branch main has been updated by gahr:

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

commit 771ce8599db53660f3aa7c1e31dba1c87852586c
Author:     Pietro Cerutti <gahr@FreeBSD.org>
AuthorDate: 2024-10-02 07:10:39 +0000
Commit:     Pietro Cerutti <gahr@FreeBSD.org>
CommitDate: 2024-10-02 07:12:45 +0000

    sysutils/createrepo_c: cleanup Makefile
    
    Reported by:    diizzy
---
 sysutils/createrepo_c/Makefile | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/sysutils/createrepo_c/Makefile b/sysutils/createrepo_c/Makefile
index 780a297dbf5d..33d962dd8e84 100644
--- a/sysutils/createrepo_c/Makefile
+++ b/sysutils/createrepo_c/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	createrepo_c
-PORTVERSION=	1.1.4     # Replace with the correct version
+DISTVERSION=	1.1.4
 CATEGORIES=	sysutils
 
 MAINTAINER=	ktk@netlabs.org
@@ -9,21 +9,21 @@ WWW=		http://rpm-software-management.github.io/createrepo_c/
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-LIB_DEPENDS=	libxml2.so:textproc/libxml2 \
-		librpm.so:archivers/rpm4 \
-		libsqlite3.so:databases/sqlite3 \
+LIB_DEPENDS=	librpm.so:archivers/rpm4 \
 		libcurl.so:ftp/curl \
 		libmodulemd.so:misc/libmodulemd \
 		libzck.so:archivers/zchunk \
 		libzstd.so:archivers/zstd
 TEST_DEPENDS=	bash:shells/bash
 
-USES=		cmake pkgconfig shebangfix
+USES=		cmake pkgconfig shebangfix sqlite
+
+USE_GNOME=	libxml2
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	rpm-software-management
 
-CMAKE_ARGS=	-DENABLE_PYTHON:BOOL=false
+CMAKE_OFF=	ENABLE_PYTHON
 
 SHEBANG_FILES=	tests/run_tests.sh.in