diff options
author | Michal Minář <mic.liamg@gmail.com> | 2019-06-25 04:23:47 +0200 |
---|---|---|
committer | Michal Minář <mic.liamg@gmail.com> | 2019-06-25 04:23:47 +0200 |
commit | a2585fff238949c45d1f4bb4be0ffddb641b4eac (patch) | |
tree | 1cb6bc0c48af3e0907284781211fa47abd4d8395 /pkgs/applications/misc/megasync/install-megasync.patch | |
parent | 6877159dc0cbd066d233d93c92b47e0f9d87eac9 (diff) | |
download | nixpkgs-a2585fff238949c45d1f4bb4be0ffddb641b4eac.tar nixpkgs-a2585fff238949c45d1f4bb4be0ffddb641b4eac.tar.gz nixpkgs-a2585fff238949c45d1f4bb4be0ffddb641b4eac.tar.bz2 nixpkgs-a2585fff238949c45d1f4bb4be0ffddb641b4eac.tar.lz nixpkgs-a2585fff238949c45d1f4bb4be0ffddb641b4eac.tar.xz nixpkgs-a2585fff238949c45d1f4bb4be0ffddb641b4eac.tar.zst nixpkgs-a2585fff238949c45d1f4bb4be0ffddb641b4eac.zip |
reworked patches
lincense free -> unfree enabled parallel build Signed-off-by: Michal Minář <mic.liamg@gmail.com>
Diffstat (limited to 'pkgs/applications/misc/megasync/install-megasync.patch')
-rw-r--r-- | pkgs/applications/misc/megasync/install-megasync.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/applications/misc/megasync/install-megasync.patch b/pkgs/applications/misc/megasync/install-megasync.patch new file mode 100644 index 00000000000..7d8748528e7 --- /dev/null +++ b/pkgs/applications/misc/megasync/install-megasync.patch @@ -0,0 +1,21 @@ +Index: source/src/MEGASync/MEGASync.pro +=================================================================== +--- source.orig/src/MEGASync/MEGASync.pro ++++ source/src/MEGASync/MEGASync.pro +@@ -28,11 +28,11 @@ unix:!macx { + TARGET = megasync + + # Uncomment the following if "make install" doesn't copy megasync in /usr/bin directory +-# isEmpty(PREFIX) { +-# PREFIX = /usr +-# } +-# target.path = $$PREFIX/bin +-# INSTALLS += target ++ isEmpty(PREFIX) { ++ PREFIX = /usr ++ } ++ target.path = $$PREFIX/bin ++ INSTALLS += target + } + else { + TARGET = MEGAsync |