freebsd-ports/x11/wmutils-core/files/patch-config.mk
Dmitri Goutnik 78076c8a0d x11/wmutils-core: Update to 1.5
- Pet portclippy while here

Changes:	https://github.com/wmutils/core/compare/v1.4...v1.5

Approved by:	araujo (mentor)
Differential Revision:	https://reviews.freebsd.org/D22058
2019-10-20 02:21:46 +00:00

15 lines
397 B
Makefile

--- config.mk.orig 2019-10-16 17:08:21 UTC
+++ config.mk
@@ -1,9 +1,9 @@
-PREFIX = /usr
+PREFIX ?= /usr/local
MANPREFIX = $(PREFIX)/man
CC = cc
LD = $(CC)
-CFLAGS = -std=c99 -pedantic -Wall -Os -I/usr/X11R6/include
-LDFLAGS = -lxcb -lxcb-util -lxcb-cursor -L/usr/X11R6/lib
+CFLAGS := -std=c99 -pedantic -Wall -Os $(CFLAGS)
+LDFLAGS := -lxcb -lxcb-util -lxcb-cursor $(LDFLAGS)