ports/x11/xdo/files/patch-Makefile
Baptiste Daroussin 7c999aa2c8 x11/xdo: do not patch to handle manpages
While here move manpages to share/man
2024-01-11 09:31:16 +01:00

11 lines
387 B
Text

--- Makefile.orig 2017-09-18 12:00:07 UTC
+++ Makefile
@@ -2,7 +2,7 @@ NAME := xdo
VERCMD ?= git describe 2> /dev/null
VERSION := $(shell $(VERCMD) || cat VERSION)
-CPPFLAGS += -D_POSIX_C_SOURCE=200809L -DVERSION=\"$(VERSION)\"
+CPPFLAGS += -DVERSION=\"$(VERSION)\"
CFLAGS += -std=c99 -pedantic -Wall -Wextra
LDLIBS := -lxcb -lxcb-util -lxcb-icccm -lxcb-ewmh -lxcb-xtest