summaryrefslogtreecommitdiff
path: root/devel/samurai/files/patch-Makefile
blob: ac3c4ad1bfb5e5f8f7fa62cbe5aee00db8c2248c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- Makefile.orig	2023-07-08 14:22:22 UTC
+++ Makefile
@@ -1,10 +1,10 @@
 .POSIX:
 .PHONY: all install clean
 
-PREFIX=/usr/local
+PREFIX?=/usr/local
 BINDIR=$(PREFIX)/bin
 MANDIR=$(PREFIX)/share/man
-ALL_CFLAGS=$(CFLAGS) -std=c99 -Wall -Wextra -Wshadow -Wmissing-prototypes -Wpedantic -Wno-unused-parameter
+ALL_CFLAGS=$(CFLAGS) -std=c99 -Wall -Wextra -Wshadow -Wmissing-prototypes -Wno-unused-parameter -DHAVE_GETLOADAVG
 OBJ=\
 	build.o\
 	deps.o\