summaryrefslogtreecommitdiff
path: root/net/cloud-init/files/patch-setup.py
diff options
context:
space:
mode:
authorBrad Davis <brd@FreeBSD.org>2021-03-18 18:00:23 +0000
committerBrad Davis <brd@FreeBSD.org>2021-03-18 18:00:23 +0000
commitce53870f0baa1d6a1ecbb51ab4edef69af6579f0 (patch)
tree44336b64247c26d267acaf5a3eb9f878ba975013 /net/cloud-init/files/patch-setup.py
parentUpdate to upstream snapshot as of 2021-03-14. (diff)
net/cloud-init: Clean up post-patch
PR: 254365 Approved by: Andrey Fesenko (maintainer), swills, lwhsu
Diffstat (limited to 'net/cloud-init/files/patch-setup.py')
-rw-r--r--net/cloud-init/files/patch-setup.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/cloud-init/files/patch-setup.py b/net/cloud-init/files/patch-setup.py
new file mode 100644
index 000000000000..11704eebead5
--- /dev/null
+++ b/net/cloud-init/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] == 'FreeBSD':