summaryrefslogtreecommitdiff
path: root/net/youtube-dl/patches/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/youtube-dl/patches/patch-Makefile')
-rw-r--r--net/youtube-dl/patches/patch-Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/net/youtube-dl/patches/patch-Makefile b/net/youtube-dl/patches/patch-Makefile
new file mode 100644
index 00000000000..8ff086b3909
--- /dev/null
+++ b/net/youtube-dl/patches/patch-Makefile
@@ -0,0 +1,17 @@
+$NetBSD: patch-Makefile,v 1.1 2013/07/20 05:07:15 ryoon Exp $
+
+* Fix bash-completion path.
+
+--- Makefile.orig 2013-07-02 05:35:23.000000000 +0000
++++ Makefile
+@@ -27,8 +27,8 @@ install: youtube-dl youtube-dl.1 youtube
+ install -m 755 youtube-dl $(DESTDIR)$(BINDIR)
+ install -d $(DESTDIR)$(MANDIR)/man1
+ install -m 644 youtube-dl.1 $(DESTDIR)$(MANDIR)/man1
+- install -d $(DESTDIR)$(SYSCONFDIR)/bash_completion.d
+- install -m 644 youtube-dl.bash-completion $(DESTDIR)$(SYSCONFDIR)/bash_completion.d/youtube-dl
++ install -d $(DESTDIR)${BASHCOMPDIR}
++ install -m 644 youtube-dl.bash-completion $(DESTDIR)${BASHCOMPDIR}/youtube-dl
+
+ test:
+ #nosetests --with-coverage --cover-package=youtube_dl --cover-html --verbose --processes 4 test