Files
macports-ports/devel/smlpkg/files/patch-makefile.diff

11 lines
278 B
Diff

--- Makefile 2021-01-15 17:56:59.000000000 +0800
+++ Makefile 2023-07-25 21:15:01.000000000 +0800
@@ -1,5 +1,5 @@
-prefix ?= .
-INSTALLDIR ?= $(prefix)/bin
+prefix ?= @PREFIX@
+INSTALLDIR ?= @DESTDIR@/bin
INSTALL ?= install
OS=$(shell uname -s | tr '[:upper:]' '[:lower:]')