summaryrefslogtreecommitdiff
path: root/net/cloud-init-devel/files/patch-setup.py
diff options
context:
space:
mode:
authorMina Galić <me+git@igalic.co>2022-09-14 22:16:04 +0100
committerJoseph Mingrone <jrm@FreeBSD.org>2022-10-14 16:28:46 -0300
commita46960b1350961e89ff03494d21f6616b7803e4f (patch)
tree1382fd1b6f3148e65732e87feb0e84747a2e47f4 /net/cloud-init-devel/files/patch-setup.py
parentwww/p5-Mojolicious: Update to 9.28 (diff)
net/cloud-init-devel: [New port] Customize cloud instances
Cloud-init is the industry standard multi-distribution method for cross-platform cloud instance initialization. It is supported across all major public cloud providers, provisioning systems for private cloud infrastructure, and bare-metal installations. This is the development version, it follows the git HEAD. WWW: https://cloud-init.io/ PR: 266847 Sponsored by: The FreeBSD Foundation Co-authored-by: Joseph Mingrone <jrm@FreeBSD.org>
Diffstat (limited to 'net/cloud-init-devel/files/patch-setup.py')
-rw-r--r--net/cloud-init-devel/files/patch-setup.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/cloud-init-devel/files/patch-setup.py b/net/cloud-init-devel/files/patch-setup.py
new file mode 100644
index 000000000000..c94715dc97c6
--- /dev/null
+++ b/net/cloud-init-devel/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig 2021-03-17 15:40:30 UTC
++++ setup.py
+@@ -153,7 +153,7 @@ INITSYS_TYPES = sorted([f.partition(".")[0] for f in I
+ # Install everything in the right location and take care of Linux (default) and
+ # FreeBSD systems.
+ USR = "usr"
+-ETC = "etc"
++ETC = "%%PREFIX%%/etc"
+ USR_LIB_EXEC = "usr/lib"
+ LIB = "lib"
+ if os.uname()[0] in ["FreeBSD", "DragonFly"]: