]> git.pld-linux.org Git - packages/ladspa-tap-plugins.git/blame - ladspa-tap-plugins-DESTDIR_OPTFLAGS.patch
- new URLs, updated to 1.0.1
[packages/ladspa-tap-plugins.git] / ladspa-tap-plugins-DESTDIR_OPTFLAGS.patch
CommitLineData
262362c4
JB
1--- tap-plugins-1.0.1/Makefile.orig 2019-01-20 13:10:05.000000000 +0100
2+++ tap-plugins-1.0.1/Makefile 2022-01-27 20:04:57.153315247 +0100
c3cb9391 3@@ -23,8 +23,8 @@
3760c37d 4 # Change this if you want to install somewhere else. In particular
c3cb9391 5 # you may wish to remove the middle "local/" part of the path.
6
7-INSTALL_PLUGINS_DIR = /usr/local/lib/ladspa/
8-INSTALL_LRDF_DIR = /usr/local/share/ladspa/rdf/
c65a8874 9+INSTALL_PLUGINS_DIR = /usr/lib/ladspa/
10+INSTALL_LRDF_DIR = /usr/share/ladspa/rdf/
c3cb9391 11
12 # NO EDITING below this line is required
13 # if all you want to do is install and use the plugins.
262362c4
JB
14@@ -37,11 +37,11 @@ INSTALL_LRDF_DIR = /usr/local/share/lads
15 OS := $(shell uname -s)
3760c37d 16
262362c4
JB
17 CC = gcc
18-CFLAGS = -I. -O3 -Wall -fomit-frame-pointer -funroll-loops -ffast-math -c -fPIC -DPIC
19+CFLAGS += -I. -Wall -fomit-frame-pointer -funroll-loops -ffast-math -c -fPIC -DPIC
20 ifeq ($(OS),Darwin)
21-LDFLAGS = -nostartfiles -shared -Wl,-install_name,symbolic -lc -lm
22+LDFLAGS += -nostartfiles -shared -Wl,-install_name,symbolic -lc -lm
23 else
24-LDFLAGS = -nostartfiles -shared -Wl,-Bsymbolic -lc -lm -lrt
25+LDFLAGS += -nostartfiles -shared -Wl,-Bsymbolic -lc -lm -lrt
26 endif
6b2d0dc9 27 MODULES = $(wildcard *.c)
c3cb9391 28
262362c4 29@@ -62,11 +62,11 @@ tap_dynamics_st.o: tap_dynamics_presets.
c65a8874 30 # OTHER TARGETS
31
6b2d0dc9
JB
32 install: all
33- -mkdir -p $(INSTALL_PLUGINS_DIR)
34- cp *.so $(INSTALL_PLUGINS_DIR)
35- -mkdir -p $(INSTALL_LRDF_DIR)
36- cp tap-plugins.rdf $(INSTALL_LRDF_DIR)
37- cp tap_reverb.rdf $(INSTALL_LRDF_DIR)
38+ -mkdir -p $(DESTDIR)$(INSTALL_PLUGINS_DIR)
39+ cp *.so $(DESTDIR)$(INSTALL_PLUGINS_DIR)
40+ -mkdir -p $(DESTDIR)$(INSTALL_LRDF_DIR)
41+ cp tap-plugins.rdf $(DESTDIR)$(INSTALL_LRDF_DIR)
42+ cp tap_reverb.rdf $(DESTDIR)$(INSTALL_LRDF_DIR)
c65a8874 43
6b2d0dc9
JB
44 clean:
45 -rm -f *.so *.o *~
This page took 0.040645 seconds and 4 git commands to generate.