git: a5de2b4882bd - main - devel/samurai: Proper fix for PREFIX variable

From: Fernando Apesteguía <fernape_at_FreeBSD.org>
Date: Wed, 05 Apr 2023 15:50:01 UTC
The branch main has been updated by fernape:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a5de2b4882bd8e2949664d5643b81a1660441b91

commit a5de2b4882bd8e2949664d5643b81a1660441b91
Author:     Fernando Apesteguía <fernape@FreeBSD.org>
AuthorDate: 2023-04-05 08:27:11 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2023-04-05 15:45:26 +0000

    devel/samurai: Proper fix for PREFIX variable
    
    PR:             270590
    Reported by:    danfe@
---
 devel/samurai/files/patch-Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/devel/samurai/files/patch-Makefile b/devel/samurai/files/patch-Makefile
index 2945261336bd..0f74b5cab567 100644
--- a/devel/samurai/files/patch-Makefile
+++ b/devel/samurai/files/patch-Makefile
@@ -5,7 +5,7 @@
  .PHONY: all install clean
  
 -PREFIX=/usr/local
-+PREFIX=${LOCALBASE}
++PREFIX?=/usr/local
  BINDIR=$(PREFIX)/bin
  MANDIR=$(PREFIX)/share/man
 -ALL_CFLAGS=$(CFLAGS) -std=c99 -Wall -Wextra -Wpedantic -Wno-unused-parameter