summaryrefslogtreecommitdiff
path: root/audio/ir-lv2/files/patch-Makefile
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2018-06-09 17:36:08 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2018-06-09 17:36:08 +0000
commit4636526fa1b9c36e5542fd18edf68c7478c5ea68 (patch)
tree64d8a3ed156c9c4161d89f4f055ac380894da317 /audio/ir-lv2/files/patch-Makefile
parentaudio/x42-plugins-lv2: Add patch making it compatible with the upcoming zita-... (diff)
audio/ir-lv2: Update 1.3.2.1 -> 1.3.3.2; change from fork to the repo owned by the author
Notes
Notes: svn path=/head/; revision=472073
Diffstat (limited to '')
-rw-r--r--audio/ir-lv2/files/patch-Makefile17
1 files changed, 3 insertions, 14 deletions
diff --git a/audio/ir-lv2/files/patch-Makefile b/audio/ir-lv2/files/patch-Makefile
index e9e38951c77e..dc5ee1699358 100644
--- a/audio/ir-lv2/files/patch-Makefile
+++ b/audio/ir-lv2/files/patch-Makefile
@@ -1,16 +1,5 @@
---- Makefile.orig 2013-09-10 06:27:31 UTC
+--- Makefile.orig 2018-01-03 15:11:45 UTC
+++ Makefile
-@@ -4,8 +4,8 @@
- # Issue 'make convert4chan' to compile the 4-channel converter utility
- # (for local use, not installed by make install)
-
--PREFIX = /usr
--INSTDIR = $(PREFIX)/lib/lv2/ir.lv2
-+PREFIX ?= /usr
-+INSTDIR = $(DESTDIR)/$(PREFIX)/lib/lv2/ir.lv2
-
- INST_FILES = ir.so ir_gui.so ir.ttl manifest.ttl
-
@@ -27,31 +27,31 @@ C4LIBS = -lsndfile `pkg-config --libs gt
all: ir.so ir_gui.so
@@ -47,8 +36,8 @@
+ $(CXX) $(LDFLAGS) ir_gui.o ir_utils.o ir_meter.o ir_modeind.o ir_wavedisplay.o $(LIBS) -shared -o ir_gui.so
convert4chan: convert4chan.c
-- gcc $(C4CFLAGS) convert4chan.c $(C4LIBS) -o convert4chan
-+ $(CC) $(C4CFLAGS) convert4chan.c $(C4LIBS) -o convert4chan
+- gcc $(C4CFLAGS) $(CPPFLAGS) $(LDFLAGS) convert4chan.c $(C4LIBS) -o convert4chan
++ $(CC) $(C4CFLAGS) $(CPPFLAGS) $(LDFLAGS) convert4chan.c $(C4LIBS) -o convert4chan
install: all
mkdir -p $(INSTDIR)