openbsd-ports/x11/gromit/patches/patch-Makefile

18 lines
991 B
Plaintext
Raw Normal View History

$OpenBSD: patch-Makefile,v 1.1.1.1 2005/06/15 17:30:20 niallo Exp $
--- Makefile.orig Wed Jun 8 02:31:18 2005
+++ Makefile Wed Jun 8 02:32:18 2005
@@ -1,10 +1,10 @@
all: gromit
proptest: proptest.c
- gcc -o proptest proptest.c `gtk-config --libs --cflags`
+ ${CC} ${CFLAGS} -o proptest proptest.c `gtk-config --libs --cflags`
propertywatch: propertywatch.c
- gcc -o propertywatch propertywatch.c `gtk-config --libs --cflags`
+ ${CC} ${CFLAGS} -o propertywatch propertywatch.c `gtk-config --libs --cflags`
gromit: gromit.c Makefile
- gcc -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED -DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE -o gromit gromit.c -Wall `pkg-config --libs --cflags gtk+-2.0`
+ ${CC} ${CFLAGS} -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED -DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE -o gromit gromit.c -Wall `pkg-config --libs --cflags gtk+-2.0`