void-packages/srcpkgs/MEGAcmd/patches/include.am.patch

15 lines
739 B
Diff

--- src/include.am 2019-09-15 11:19:21.139430520 +0300
+++ - 2019-09-15 11:20:24.234994345 +0300
@@ -7,9 +7,9 @@
MEGACMD = mega-cmd mega-exec mega-cmd-server
bin_PROGRAMS += $(MEGACMD)
-$(MEGACMD): $(MEGA_LIBS)
+$(MEGACMD):
noinst_HEADERS += src/comunicationsmanager.h src/configurationmanager.h src/megacmd.h src/megacmdlogger.h src/megacmdsandbox.h src/megacmdutils.h src/megacmdcommonutils.h src/listeners.h src/megacmdexecuter.h src/megacmdversion.h src/megacmdplatform.h src/comunicationsmanagerportsockets.h
-megacmdcompletiondir = $(sysconfdir)/bash_completion.d/
+megacmdcompletiondir = $(datarootdir)/bash-completion/completions
megacmdcompletion_DATA = src/client/megacmd_completion.sh
megacmdscripts_bindir = $(bindir)