summaryrefslogtreecommitdiff
path: root/security/nettle/files
diff options
context:
space:
mode:
Diffstat (limited to 'security/nettle/files')
-rw-r--r--security/nettle/files/extra-patch-Makefile.in11
-rw-r--r--security/nettle/files/patch-configure11
2 files changed, 22 insertions, 0 deletions
diff --git a/security/nettle/files/extra-patch-Makefile.in b/security/nettle/files/extra-patch-Makefile.in
new file mode 100644
index 000000000000..2974b822043a
--- /dev/null
+++ b/security/nettle/files/extra-patch-Makefile.in
@@ -0,0 +1,11 @@
+--- Makefile.in.orig 2023-06-01 18:40:35 UTC
++++ Makefile.in
+@@ -19,7 +19,7 @@ OPT_NETTLE_SOURCES = @OPT_NETTLE_SOURCES@
+
+ FAT_TEST_LIST = @FAT_TEST_LIST@
+
+-SUBDIRS = tools testsuite examples
++SUBDIRS = tools testsuite # examples
+
+ include config.make
+
diff --git a/security/nettle/files/patch-configure b/security/nettle/files/patch-configure
new file mode 100644
index 000000000000..1b8f460d9501
--- /dev/null
+++ b/security/nettle/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig 2023-06-01 18:40:35 UTC
++++ configure
+@@ -6638,7 +6638,7 @@ $as_echo "$as_me: WARNING: Cross compiling for linux.
+ # and 64-bit in lib. Don't know about "kfreebsd", does
+ # it follow the Linux fhs conventions?
+ *:freebsd*:32)
+- libdir='${exec_prefix}/lib32'
++ libdir='${exec_prefix}/lib'
+ ;;
+ *:freebsd*:64)
+ libdir='${exec_prefix}/lib'