Skip to content
Snippets Groups Projects
Commit e933541b authored by Eric Camachat's avatar Eric Camachat Committed by Fernando Apesteguía
Browse files

devel/samurai: Fix if LOCALBASE is not /usr/local

PR:		270590
Reported by:	eric@camachat.org
parent 1ad04ed2
No related branches found
No related tags found
No related merge requests found
PORTNAME= samurai
DISTVERSION= 1.2-16
PORTREVISION= 1
DISTVERSIONSUFFIX= -gca5a6ba
CATEGORIES= devel
#MASTER_SITES= https://github.com/michaelforney/samurai/releases/download/${DISTVERSION}/
......
--- Makefile.orig 2020-12-17 01:31:33 UTC
--- Makefile.orig 2021-04-10 18:44:40 UTC
+++ Makefile
@@ -3,7 +3,7 @@
PREFIX=/usr/local
@@ -1,10 +1,10 @@
.POSIX:
.PHONY: all install clean
-PREFIX=/usr/local
+PREFIX=${LOCALBASE}
BINDIR=$(PREFIX)/bin
MANDIR=$(PREFIX)/share/man
-ALL_CFLAGS=$(CFLAGS) -std=c99 -Wall -Wextra -Wpedantic -Wno-unused-parameter
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment