diff options
Diffstat (limited to 'audio/swh-lv2/files/patch-Makefile')
-rw-r--r-- | audio/swh-lv2/files/patch-Makefile | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/audio/swh-lv2/files/patch-Makefile b/audio/swh-lv2/files/patch-Makefile new file mode 100644 index 000000000000..efd4c8d6a619 --- /dev/null +++ b/audio/swh-lv2/files/patch-Makefile @@ -0,0 +1,29 @@ +--- Makefile.orig 2016-04-14 12:55:22 UTC ++++ Makefile +@@ -1,5 +1,5 @@ +-PREFIX = /usr/local +-INSTALL_DIR = $(PREFIX)/lib/lv2 ++PREFIX ?= /usr/local ++INSTALL_DIR = $(DESTDIR)$(PREFIX)/lib/lv2 + + VERSION = 1.0.16 + +@@ -59,7 +59,7 @@ OBJECTS = $(shell echo $(BUILD_PLUGINS) + all: util gverb $(OBJECTS) + + gverb: gverb/gverb.c gverb/gverbdsp.c gverb/gverb.o gverb/gverbdsp.o +- (cd gverb && make -w CFLAGS="$(PLUGIN_CFLAGS)" LDFLAGS="$(PLUGIN_LDFLAGS)") ++ (cd gverb && $(MAKE) -w CFLAGS="$(PLUGIN_CFLAGS)" LDFLAGS="$(PLUGIN_LDFLAGS)") + + util/pitchscale.o: + $(CC) $(PLUGIN_CFLAGS) $(fftw3_CFLAGS) $*.c -c -o $@ +@@ -92,8 +92,7 @@ dist-clean: + real-clean: + rm -f plugins/*/*.{c,ttl,$(EXT),o,in} util/*.o gverb/*.o + +-install: +- @echo 'use install-user to install in home or install-system to install system wide' ++install: install-system + + install-system: INSTALL_DIR_REALLY=$(INSTALL_DIR) + install-system: all install-really |