]> git.pld-linux.org Git - packages/ladspa-tap-plugins.git/blob - ladspa-tap-plugins-DESTDIR_OPTFLAGS.patch
- new URLs, updated to 1.0.1
[packages/ladspa-tap-plugins.git] / ladspa-tap-plugins-DESTDIR_OPTFLAGS.patch
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
3 @@ -23,8 +23,8 @@
4  # Change this if you want to install somewhere else. In particular
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/
9 +INSTALL_PLUGINS_DIR    =       /usr/lib/ladspa/
10 +INSTALL_LRDF_DIR       =       /usr/share/ladspa/rdf/
11  
12  # NO EDITING below this line is required
13  # if all you want to do is install and use the plugins.
14 @@ -37,11 +37,11 @@ INSTALL_LRDF_DIR    =       /usr/local/share/lads
15  OS := $(shell uname -s)
16  
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
27  MODULES = $(wildcard *.c)
28  
29 @@ -62,11 +62,11 @@ tap_dynamics_st.o: tap_dynamics_presets.
30  # OTHER TARGETS
31  
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)
43  
44  clean:
45         -rm -f *.so *.o *~
This page took 0.031433 seconds and 3 git commands to generate.