pkgsrc/x11/wmfstatus/patches/patch-aa
sakamoto 2a4430771a Initial import of wmfstatus-0.3
general purpose 8x5 LCD screen for WindowMaker
2000-01-07 05:43:21 +00:00

19 lines
518 B
Text

$NetBSD: patch-aa,v 1.1.1.1 2000/01/07 05:43:22 sakamoto Exp $
--- Makefile.orig Tue Nov 23 04:38:29 1999
+++ Makefile Wed Jan 5 10:27:09 2000
@@ -1,3 +1,2 @@
-LIBDIR = -L/usr/X11R6/lib
LIBS = -lXpm -lXext -lX11
FLAGS = -O2
@@ -9,8 +8,8 @@
.c.o:
- cc -I/usr/X11R6/share/include $(FLAGS) -c -Wall $< -o $*.o
+ ${CC} ${CPPFLAGS} $(FLAGS) -c -Wall $< -o $*.o
wmfstatus: $(OBJS)
- cc $(FLAGS) -o wmfstatus $^ -lXext $(LIBDIR) $(LIBS)
+ ${CC} $(FLAGS) -o wmfstatus $(OBJS) ${LDFLAGS} $(LIBS)
all:: wmfstatus