mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-26 09:46:09 +00:00
b828827f99
version of sys.mk This fixes build on head after r279980
24 lines
615 B
Plaintext
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
|