openbsd-ports/mail/wmpop3/patches/patch-wmpop3_Makefile
wilfried 26e02d6b8b Import of WMPop3-0.5.6a
WMPop3 is a POP3 mail box checker dock app for Window Maker
ok danh@
2001-02-14 15:45:19 +00:00

26 lines
698 B
Plaintext

$OpenBSD: patch-wmpop3_Makefile,v 1.1.1.1 2001/02/14 15:45:20 wilfried Exp $
--- wmpop3/Makefile.orig Fri Aug 13 17:56:19 1999
+++ wmpop3/Makefile Mon Feb 12 17:43:52 2001
@@ -1,6 +1,6 @@
-LIBDIR = -L/usr/X11R6/lib
+LIBDIR = -L${X11BASE}/lib
LIBS = -lXpm -lXext -lX11
-FLAGS = -O2
+CFLAGS ?= -O2
OBJS = wmpop3.o \
Pop3Client.o \
../wmgeneral/wmgeneral.o \
@@ -9,10 +9,10 @@ OBJS = wmpop3.o \
.c.o:
- cc -I/usr/X11R6/share/include $(FLAGS) -c -Wall $< -o $*.o
+ ${CC} -I${X11BASE}/include $(CFLAGS) -c -Wall $< -o $@
wmpop3: $(OBJS)
- cc $(FLAGS) -o wmpop3 $^ -lXext $(LIBDIR) $(LIBS)
+ ${CC} $(FLAGS) -o wmpop3 $(OBJS) -lXext $(LIBDIR) $(LIBS)
all:: wmpop3