Date: Sun, 20 Nov 2022 00:10:56 GMT From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 9ad42aa3d75e - main - science/py-avogadrolibs: Simplify patch Message-ID: <202211200010.2AK0AuBx077675@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=9ad42aa3d75e8fe7951768825f2c385198512e0c commit 9ad42aa3d75e8fe7951768825f2c385198512e0c Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2022-11-19 21:08:58 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-11-20 00:10:49 +0000 science/py-avogadrolibs: Simplify patch --- science/py-avogadrolibs/files/patch-CMakeLists.txt | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/science/py-avogadrolibs/files/patch-CMakeLists.txt b/science/py-avogadrolibs/files/patch-CMakeLists.txt index e02a15326a35..7ae183cbe60d 100644 --- a/science/py-avogadrolibs/files/patch-CMakeLists.txt +++ b/science/py-avogadrolibs/files/patch-CMakeLists.txt @@ -1,14 +1,9 @@ -- make this file into a project CMake file - ---- CMakeLists.txt.orig 2018-10-18 17:54:14 UTC +--- CMakeLists.txt.orig 2022-07-21 15:20:28 UTC +++ CMakeLists.txt -@@ -1,4 +1,8 @@ --find_package(PythonInterp 3 REQUIRED) -+cmake_minimum_required(VERSION 3.12) +@@ -1,3 +1,6 @@ ++cmake_minimum_required(VERSION 3.3 FATAL_ERROR) + -+link_directories(${CMAKE_INSTALL_PREFIX}/lib) -+ -+find_package(PythonInterp 3 REQUIRED) ++find_package(AvogadroLibs REQUIRED) + find_package(PythonInterp 3 REQUIRED) find_package(PythonLibs 3 REQUIRED) set(PYBIND11_PYTHON_VERSION "3" CACHE STRING "") - set(PYBIND11_CPP_STANDARD "-std=c++11" CACHE STRING "")
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202211200010.2AK0AuBx077675>