Changeset View
Changeset View
Standalone View
Standalone View
audio/swh-lv2/files/patch-Makefile
- This file was added.
Property | Old Value | New Value |
---|---|---|
fbsd:nokeywords | null | yes \ No newline at end of property |
svn:eol-style | null | native \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
--- 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 |