summaryrefslogtreecommitdiff
path: root/audio/swh-lv2/files/patch-Makefile
diff options
context:
space:
mode:
authorRichard Gallamore <ultima@FreeBSD.org>2017-08-19 17:48:03 +0000
committerRichard Gallamore <ultima@FreeBSD.org>2017-08-19 17:48:03 +0000
commitb2bab33a808397f910e7b8e01b692f7ce14f7963 (patch)
treeb589130a178594f309c7a69f87cf657633a7a715 /audio/swh-lv2/files/patch-Makefile
parentx11-toolkits/tk86: update to 8.6.7 (diff)
Steve Harris' LV2 version of Plugin Collection.
WWW: http://plugin.org.uk PR: 221384 Submitted by: Yuri Victorovich (maintainer) Reviewed by: matthew (mentor) Approved by: matthew (mentor) Differential Revision: https://reviews.freebsd.org/D12081
Notes
Notes: svn path=/head/; revision=448345
Diffstat (limited to 'audio/swh-lv2/files/patch-Makefile')
-rw-r--r--audio/swh-lv2/files/patch-Makefile29
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