File: 01-destdir.patch

package info (click to toggle)
rev-plugins 0.7.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, stretch
  • size: 212 kB
  • ctags: 324
  • sloc: cpp: 1,358; makefile: 44
file content (26 lines) | stat: -rw-r--r-- 641 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Description: Set DESTDIR variable.
Author: Free Ekanayaka <free@centrotemporeale.it>
Forwarded: yes
---

Index: rev-plugins/Makefile
===================================================================
--- rev-plugins.orig/Makefile	2013-08-28 23:47:49.698792542 +0200
+++ rev-plugins/Makefile	2013-08-28 23:49:52.766797546 +0200
@@ -18,6 +18,7 @@
 #
 # -----------------------------------------------------------------------
 
+DESTDIR =
 
 CPPFLAGS += -I. -fPIC -D_REENTRANT
 CXXFLAGS += -Wall -O2
@@ -33,7 +34,7 @@
 
 
 install:	zita-reverbs.so
-	cp  *.so /usr/lib/ladspa
+	cp  *.so $(DESTDIR)/usr/lib/ladspa
 
 clean:
 	rm -rf *~ *.o *.so