Files
haikuports/dev-libs/botan/patches/botan-2.19.4.patchset
2024-04-06 11:21:20 +02:00

43 lines
1.1 KiB
Plaintext

From 99a50ce7dff79f12931350ef379026b31cf14650 Mon Sep 17 00:00:00 2001
From: begasus <begasus@gmail.com>
Date: Sun, 13 Nov 2022 08:42:34 +0100
Subject: botan, add configure.py patch for cmd:python3
diff --git a/configure.py b/configure.py
index 7ff2ef2..f6cbccb 100755
--- a/configure.py
+++ b/configure.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""
Configuration program for botan
--
2.43.2
From b5365e3b2600e1f501410474a74850d0c29c0d4f Mon Sep 17 00:00:00 2001
From: Chris Roberts <cpr420@gmail.com>
Date: Wed, 3 May 2023 00:16:42 -0600
Subject: Don't mkdir prefix during install
diff --git a/src/scripts/install.py b/src/scripts/install.py
index 32a7a7e..50ab4d7 100755
--- a/src/scripts/install.py
+++ b/src/scripts/install.py
@@ -163,7 +163,7 @@ def main(args):
'botan-%d' % (ver_major),
'botan')
- for d in [options.prefix, lib_dir, bin_dir, target_include_dir]:
+ for d in [lib_dir, bin_dir, target_include_dir]:
makedirs(prepend_destdir(d))
build_include_dir = os.path.join(options.build_dir, 'include', 'botan')
--
2.43.2