depot/third_party/nixpkgs/pkgs/applications/editors/notepadqq/fix-configure.patch

22 lines
957 B
Diff

diff --git a/src/ui/ui.pro b/src/ui/ui.pro
index a1346eb..f8052a2 100644
--- a/src/ui/ui.pro
+++ b/src/ui/ui.pro
@@ -293,16 +293,9 @@ unix:!macx {
appstream.path = "$$INSTALL_ROOT$$PREFIX/share/metainfo/"
appstream.files += "$$INSTALLFILESDIR/notepadqq.appdata.xml"
- # == Dummy target used to fix permissions at the end of the install ==
- # A random path. Without one, qmake refuses to create the rule.
- set_permissions.path = "$$INSTALL_ROOT$$PREFIX/bin/"
- # We want to keep $$INSTALL_ROOT as a variable in the makefile, so we use $(INSTALL_ROOT)
- unix:set_permissions.extra = chmod 755 $(INSTALL_ROOT)\"$$PREFIX/bin/notepadqq\"
-
# MAKE INSTALL
INSTALLS += target \
icon_h16 icon_h22 icon_h24 icon_h32 icon_h48 icon_h64 icon_h96 icon_h128 icon_h256 icon_h512 icon_hscalable \
- misc_data launch shortcuts appstream \
- set_permissions
+ misc_data launch shortcuts appstream
}