mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
maeparser, revbump, move headers to the right destination (#13832)
This commit is contained in:
@@ -7,10 +7,11 @@ Maestro output needs to interact directly with this format."
|
||||
HOMEPAGE="https://github.com/schrodinger/maeparser"
|
||||
COPYRIGHT="2017 Schrödinger, LLC"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="$HOMEPAGE/archive/v$portVersion.tar.gz"
|
||||
SOURCE_FILENAME="maeparser-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="78e7571a779ea4952e752ecef57c62fb26463947e29ef7f4b31b11988d88ca07"
|
||||
PATCHES="maeparser-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
@@ -18,7 +19,7 @@ SECONDARY_ARCHITECTURES="x86"
|
||||
libVersion="$portVersion"
|
||||
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||
|
||||
boostVersion="1.88.0"
|
||||
boostVersion="1.90.0"
|
||||
|
||||
PROVIDES="
|
||||
maeparser$secondaryArchSuffix = $portVersion
|
||||
|
||||
31
sci-chemistry/maeparser/patches/maeparser-1.3.3.patchset
Normal file
31
sci-chemistry/maeparser/patches/maeparser-1.3.3.patchset
Normal file
@@ -0,0 +1,31 @@
|
||||
From bf5c18cc761d0ebcf8e57d1974797db2864a06ed Mon Sep 17 00:00:00 2001
|
||||
From: Luc Schrijvers <begasus@gmail.com>
|
||||
Date: Mon, 16 Mar 2026 12:50:20 +0100
|
||||
Subject: Fix headers path (install + config)
|
||||
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index a0ea783..b03f526 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -65,7 +65,7 @@ SET_TARGET_PROPERTIES (maeparser
|
||||
|
||||
target_include_directories(maeparser PUBLIC
|
||||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
|
||||
- $<INSTALL_INTERFACE:include>)
|
||||
+ $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>)
|
||||
|
||||
if(MSVC)
|
||||
set(CMAKE_INSTALL_LIBDIR lib)
|
||||
@@ -85,7 +85,7 @@ INSTALL(EXPORT maeparser-targets
|
||||
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake)
|
||||
|
||||
file(GLOB mae_headers "*.hpp")
|
||||
-install(FILES ${mae_headers} DESTINATION include/maeparser)
|
||||
+install(FILES ${mae_headers} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/maeparser)
|
||||
|
||||
# Tests
|
||||
if (MAEPARSER_BUILD_TESTS)
|
||||
--
|
||||
2.52.0
|
||||
|
||||
Reference in New Issue
Block a user