aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-electronics/minipro/files/minipro-0.5-makefile.patch')
-rw-r--r--sci-electronics/minipro/files/minipro-0.5-makefile.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/sci-electronics/minipro/files/minipro-0.5-makefile.patch b/sci-electronics/minipro/files/minipro-0.5-makefile.patch
new file mode 100644
index 000000000..221643895
--- /dev/null
+++ b/sci-electronics/minipro/files/minipro-0.5-makefile.patch
@@ -0,0 +1,12 @@
+can't seem to override PREFIX at build time, so patch it
+--- minipro-0.5/Makefile 2020-11-04 21:35:31.000000000 -0800
++++ minipro-0.5/Makefile 2022-07-22 11:42:54.866390621 -0700
+@@ -9,7 +9,7 @@
+
+ # Normally minipro is installed to /usr/local. If you want to put it
+ # somewhere else, define that location here.
+-PREFIX ?= /usr/local
++PREFIX ?= /usr
+ MANDIR ?= $(PREFIX)/share/man
+
+ # Some older releases of MacOS need some extra library flags.