mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
b2bab33a80
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
30 lines
922 B
Plaintext
30 lines
922 B
Plaintext
--- 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
|