1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/games/xsheep/files/patch-aa
Bill Fumerola 49151f43a4 LIB_DEPEND on xpm
Submitted by:	KATO Tsuguru <tkato@prontomail.ne.jp>
		Adam Kranzel <ace@teru.dyndns.org>
		bento

Use X11BASE the right way.

Submitted by:   KATO Tsuguru <tkato@prontomail.ne.jp>
2000-03-10 23:46:25 +00:00

20 lines
436 B
Plaintext

--- Makefile.orig Fri Aug 13 11:19:00 1999
+++ Makefile Fri Mar 10 18:43:39 2000
@@ -1,6 +1,6 @@
LIBS = -lm
-CFLAGS = -I/usr/X11R6/incude -g
+CFLAGS+= -I${X11BASE}/include
MYOBJECTS = \
xsheep.o
@@ -10,7 +10,7 @@
all: $(TARGETS)
xsheep: $(MYOBJECTS)
- $(CC) -o xsheep $(MYOBJECTS) -L/usr/X11R6/lib -lXpm -lXext -lX11
+ $(CC) -o xsheep $(MYOBJECTS) -L${X11BASE}/lib -lXpm -lXext -lX11
%.o: %.c
$(CC) $(CFLAGS) -c $*.c