summaryrefslogtreecommitdiff
path: root/net/cloud-init-devel/files/patch-setup.py
diff options
context:
space:
mode:
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"]: