1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00
freebsd-ports/x11/wmcliphist/files/patch-Makefile
Antoine Brodin b828827f99 Use gmake instead of using rules that may or may not work depending of the
version of sys.mk
This fixes build on head after r279980
2015-03-17 22:05:36 +00:00

24 lines
615 B
Plaintext

--- Makefile.orig
+++ Makefile
@@ -1,9 +1,9 @@
CC ?= gcc
PREFIX = /usr/local
-INCLUDES = `pkg-config --cflags gtk+-2.0` -I. -Ifoodock
+INCLUDES = `pkg-config --cflags gtk+-2.0 x11` -I. -Ifoodock
# for normal use
-CFLAGS += -Wall -ansi -pedantic $(INCLUDES)
+CFLAGS += $(INCLUDES)
DEBUG =
# for debuggind purposes
@@ -12,7 +12,7 @@ DEBUG =
#CFLAGS += -Wall -g -ansi $(INCLUDES) -DFNCALL_DEBUG
#DEBUG = debug.o
-LIBS = `pkg-config --libs gtk+-2.0`
+LIBS = `pkg-config --libs gtk+-2.0 x11`
OBJECTS = wmcliphist.o clipboard.o gui.o rcconfig.o history.o hotkeys.o utils.o $(DEBUG)
TARGET = wmcliphist