Files
haikuports/dev-libs/botan/patches/botan-2.19.3.patchset
2023-09-22 18:55:48 +00:00

43 lines
1.1 KiB
Plaintext

From cc19bf72f5eb7adabcb8e5e6b1d8d525e404dde6 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 72e02c3..7208e3f 100755
--- a/configure.py
+++ b/configure.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""
Configuration program for botan
--
2.39.2
From e1fe04bbebab5dfac011d520f021980e3587106a 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.39.2