1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-13 23:36:08 +00:00
freebsd-ports/graphics/wmgrabimage/files/patch-aa
2000-01-05 20:55:55 +00:00

23 lines
481 B
Plaintext

--- Makefile.orig Mon Feb 1 15:55:30 1999
+++ Makefile Wed Jan 5 14:31:02 2000
@@ -1,6 +1,7 @@
-CC = gcc
-CFLAGS = -O2 -Wall
-INCDIR = -I/usr/X11R6/include/X11
+CC ?= gcc
+CFLAGS ?= -O2
+CFLAGS += -Wall
+INCDIR = -I/usr/X11R6/include
DESTDIR= /usr/X11R6
LIBDIR = -L/usr/X11R6/lib
# for linux
@@ -12,7 +13,7 @@
.c.o:
- $(CC) $(CFLAGS) -D$(shell echo `uname -s`) -c $< -o $*.o $(INCDIR)
+ $(CC) $(CFLAGS) -c $< -o $*.o $(INCDIR)
all: wmGrabImage.o wmGrabImage