From bbaa5a9b272647021fe5d9891aee8181054d07b5 Mon Sep 17 00:00:00 2001 From: thfrwn <11335318+rfht@users.noreply.github.com> Date: Fri, 3 May 2024 22:23:08 -0400 Subject: [PATCH] don't use PREFIX variable for BINDIR and MANDIR, this doesn't work with the ports build system. Inspiration taken from oicb's Makefile --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index ccf8cb2..c24442c 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,8 @@ PROG = rigg SRCS = rigg.c rigg_unveil.c mono.c hl.c -PREFIX ?= /usr/local -BINDIR = ${PREFIX}/bin -MANDIR = ${PREFIX}/man/man +BINDIR ?= /usr/local/bin +MANDIR ?= /usr/local/man/man WARNINGS ?= Yes HL_CFLAGS ?= -I/usr/local/include -I/usr/local/include/hl