1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

misc/librepo: Update 1.12.1 -> 1.13.0

Reported by:	portscout
This commit is contained in:
Yuri Victorovich 2021-02-03 17:04:21 +00:00
parent 61b3ac4d5b
commit 0626f8f3af
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=563900
3 changed files with 7 additions and 24 deletions

View File

@ -1,8 +1,7 @@
# $FreeBSD$
PORTNAME= librepo
DISTVERSION= 1.12.1
PORTREVISION= 2
DISTVERSION= 1.13.0
CATEGORIES= misc
MAINTAINER= yuri@FreeBSD.org

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1600625196
SHA256 (rpm-software-management-librepo-1.12.1_GH0.tar.gz) = b78113f3aeb0d562b034dbeb926609019b7bed27e05c9ab5a584a9938de8da9f
SIZE (rpm-software-management-librepo-1.12.1_GH0.tar.gz) = 816206
TIMESTAMP = 1612371563
SHA256 (rpm-software-management-librepo-1.13.0_GH0.tar.gz) = f8970194fb7e7fe339318ee8e122f255374f9fa5a50aaf23c65a7d2e5651143e
SIZE (rpm-software-management-librepo-1.13.0_GH0.tar.gz) = 816981

View File

@ -1,27 +1,11 @@
--- CMakeLists.txt.orig 2020-08-22 20:15:59 UTC
--- CMakeLists.txt.orig 2021-02-02 23:12:04 UTC
+++ CMakeLists.txt
@@ -28,7 +28,7 @@ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SO
@@ -29,7 +29,7 @@ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SO
FIND_PACKAGE(PkgConfig)
PKG_CHECK_MODULES(GLIB2 glib-2.0 REQUIRED)
-PKG_SEARCH_MODULE(LIBCRYPTO REQUIRED libcrypto openssl)
+#PKG_SEARCH_MODULE(LIBCRYPTO REQUIRED libcrypto openssl)
PKG_CHECK_MODULES(LIBXML2 libxml-2.0 REQUIRED)
FIND_PACKAGE(CURL REQUIRED)
FIND_PACKAGE(CURL 7.52.0 REQUIRED)
FIND_PACKAGE(Gpgme REQUIRED)
@@ -66,6 +66,7 @@ INCLUDE_DIRECTORIES(${CURL_INCLUDE_DIR})
include (GNUInstallDirs)
# Python stuff
+if (ENABLE_PYTHON)
IF (NOT PYTHON_DESIRED)
FIND_PACKAGE (PythonInterp REQUIRED)
ELSEIF (${PYTHON_DESIRED} STREQUAL "2")
@@ -79,6 +80,7 @@ ELSE ()
MESSAGE (FATAL_ERROR "Invalid PYTHON_DESIRED value: " ${PYTHON_DESIRED})
ENDIF()
FIND_PACKAGE (PythonLibs REQUIRED)
+endif()
# Subdirs