openbsd-ports/x11/wmclockmon/patches/patch-wmclockmon-config_Makefile_in
2010-03-23 22:12:39 +00:00

24 lines
851 B
Plaintext

$OpenBSD: patch-wmclockmon-config_Makefile_in,v 1.1 2010/03/23 22:12:39 jasper Exp $
Switch to gtk+2.
--- wmclockmon-config/Makefile.in.orig Tue Mar 23 22:55:19 2010
+++ wmclockmon-config/Makefile.in Tue Mar 23 22:55:42 2010
@@ -96,14 +96,14 @@ PROGRAMS = $(bin_PROGRAMS)
DEFS = @DEFS@ -I. -I$(srcdir) -I..
-LDFLAGS = @LDFLAGS@ `gtk-config --libs`
+LDFLAGS = @LDFLAGS@ `pkg-config --libs gtk+-2.0`
X_CFLAGS = @X_CFLAGS@
X_LIBS = @X_LIBS@
X_PRE_LIBS = @X_PRE_LIBS@
wmclockmon_OBJECTS = actions.o dialogs.o edit.o main.o mainwindow.o tools.o
wmclockmon_DEPENDENCIES =
wmclockmon_LDFLAGS =
-CFLAGS = @CFLAGS@ `gtk-config --cflags`
+CFLAGS = @CFLAGS@ `pkg-config --cflags gtk+-2.0`
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
CCLD = $(CC)
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@