openbsd-ports/x11/gromit/patches/patch-Makefile
niallo 94088cdbf2 import x11/gromit
Gromit (GRaphics Over MIscellaneous Things) is a small tool to
make annotations on the screen. It is particularly useful when
making presentations of programs to highlight certain features
or screen elements.

From: Michael Knudsen <e@molioner.dk>

ok alek@
2005-06-15 17:30:20 +00:00

18 lines
991 B
Plaintext

$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`