commit: 6dd284459885ae3be8cb274d6edd7bd725a3dc74 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Sun Oct 5 13:20:18 2025 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Sun Oct 5 17:44:04 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6dd28445
sci-chemistry/pdbcat: Fix build w/ cmake-4, use more https, GNUInstallDirs Raise cmake_minimum_required to 3.31 Closes: https://bugs.gentoo.org/953912 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> sci-chemistry/pdbcat/files/CMakeLists.txt | 8 +++++--- sci-chemistry/pdbcat/pdbcat-1.3-r1.ebuild | 12 ++++++------ 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/sci-chemistry/pdbcat/files/CMakeLists.txt b/sci-chemistry/pdbcat/files/CMakeLists.txt index 7a6f348f5929..f3fa1f9d817c 100644 --- a/sci-chemistry/pdbcat/files/CMakeLists.txt +++ b/sci-chemistry/pdbcat/files/CMakeLists.txt @@ -1,5 +1,8 @@ -cmake_minimum_required (VERSION 2.6) +cmake_minimum_required (VERSION 3.31) project (pdbcat) + +include(GNUInstallDirs) + add_executable(pdbcat Common.C Common.h @@ -7,5 +10,4 @@ add_executable(pdbcat PDBData.C PDBData.h) -install (TARGETS pdbcat DESTINATION bin) - +install (TARGETS pdbcat DESTINATION ${CMAKE_INSTALL_BINDIR}) diff --git a/sci-chemistry/pdbcat/pdbcat-1.3-r1.ebuild b/sci-chemistry/pdbcat/pdbcat-1.3-r1.ebuild index 270e7b98fb36..7dbc33d2452b 100644 --- a/sci-chemistry/pdbcat/pdbcat-1.3-r1.ebuild +++ b/sci-chemistry/pdbcat/pdbcat-1.3-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -6,19 +6,19 @@ EAPI=8 inherit cmake DESCRIPTION="Manipulate and process PDB files using tools such as Perl, awk, etc" -HOMEPAGE="http://www.ks.uiuc.edu/Development/MDTools/pdbcat/" -SRC_URI="http://www.ks.uiuc.edu/Development/MDTools/${PN}/files/${P}.tar.gz" +HOMEPAGE="https://www.ks.uiuc.edu/Development/MDTools/pdbcat/" +SRC_URI="https://www.ks.uiuc.edu/Development/MDTools/${PN}/files/${P}.tar.gz" LICENSE="free-noncomm" SLOT="0" KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -PATCHES=( - "${FILESDIR}"/${P}-gcc.patch -) +BDEPEND=">=dev-build/cmake-3.31" DOCS=( README ) +PATCHES=( "${FILESDIR}"/${P}-gcc.patch ) + src_prepare() { cp "${FILESDIR}"/CMakeLists.txt . || die
