summaryrefslogtreecommitdiff
path: root/audio/littlefly-lv2/files/patch-LittleFly_Makefile
blob: 8a2c445c08fa92821206018c229acee88825de9e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- LittleFly/Makefile.orig	2021-04-08 00:24:47 UTC
+++ LittleFly/Makefile
@@ -3,11 +3,11 @@
 	STRIP ?= strip
 	# check if user is root
 	user = $(shell whoami)
-	ifeq ($(user),root)
-	INSTALL_DIR ?= /usr/lib/lv2
-	else 
-	INSTALL_DIR ?= ~/.lv2
-	endif
+	#ifeq ($(user),root)
+	INSTALL_DIR ?= $(PREFIX)/lib/lv2
+	#else 
+	#INSTALL_DIR ?= ~/.lv2
+	#endif
 
 	# check CPU and supported optimization flags
 	ifeq ($(UNAME), Linux)