void-packages/srcpkgs/ccsm/patches/prefix.patch

12 lines
382 B
Diff

--- setup.py 2017-03-02 11:35:41.688884000 -0800
+++ setup.py 2017-03-02 11:36:07.745885086 -0800
@@ -103,7 +103,7 @@
if not prefix and "PREFIX" in os.environ:
prefix = os.environ["PREFIX"]
if not prefix or not len (prefix):
- prefix = "/usr/local"
+ prefix = "/usr"
if sys.argv[1] in ("install", "uninstall") and len (prefix):
sys.argv += ["--prefix", prefix]