summaryrefslogtreecommitdiff
path: root/net/onedrive/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/onedrive/files/patch-Makefile')
-rw-r--r--net/onedrive/files/patch-Makefile40
1 files changed, 0 insertions, 40 deletions
diff --git a/net/onedrive/files/patch-Makefile b/net/onedrive/files/patch-Makefile
deleted file mode 100644
index 602fd1ec2c4b..000000000000
--- a/net/onedrive/files/patch-Makefile
+++ /dev/null
@@ -1,40 +0,0 @@
---- Makefile.orig 2019-04-16 02:18:26 UTC
-+++ Makefile
-@@ -7,8 +7,9 @@ gitversion := $(shell if [ -f .git/HEAD ] ; then echo
-
- ifeq ($(pkgconfig),1)
- LIBS = $(shell pkg-config --libs sqlite3 libcurl)
-+LIBS += $(shell pkg-config --libs libinotify)
- else
--LIBS = -lcurl -lsqlite3
-+LIBS = -lcurl -lsqlite3 -linotify
- endif
- ifeq ($(notifications),1)
- NOTIF_VERSIONS = -version=NoPragma -version=NoGdk -version=Notifications
-@@ -74,7 +75,8 @@ SOURCES = \
- src/sync.d \
- src/upload.d \
- src/util.d \
-- src/progress.d
-+ src/progress.d \
-+ src/freebsd_inotify.d
-
- ifeq ($(notifications),1)
- SOURCES += src/notifications/notify.d src/notifications/dnotify.d
-@@ -90,11 +92,12 @@ onedrive: version $(SOURCES)
-
- install.noservice: onedrive onedrive.1
- mkdir -p $(DESTDIR)/var/log/onedrive
-- chown root.users $(DESTDIR)/var/log/onedrive
-+ # chown root.users $(DESTDIR)/var/log/onedrive
- chmod 0775 $(DESTDIR)/var/log/onedrive
-- install -D onedrive $(DESTDIR)$(PREFIX)/bin/onedrive
-- install -D onedrive.1 $(DESTDIR)$(MANDIR)/onedrive.1
-- install -D -m 644 logrotate/onedrive.logrotate $(DESTDIR)/etc/logrotate.d/onedrive
-+ install onedrive $(DESTDIR)$(PREFIX)/bin/onedrive
-+ # install -D onedrive.1 $(DESTDIR)$(MANDIR)/onedrive.1
-+ install -d $(DESTDIR)$(PREFIX)/etc/logrotate.d
-+ install -m 644 logrotate/onedrive.logrotate $(DESTDIR)$(PREFIX)/etc/logrotate.d/onedrive
-
- install: all install.noservice
- for i in $(DOCFILES) ; do install -D -m 644 $$i $(DESTDIR)$(DOCDIR)/$$i ; done