1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/mail/wmpop3/files/patch-aa
Jim Mock 8e50e553a0 Support X11BASE properly, remove USE_GMAKE.
PR:		20545
Submitted by:	KATO Tsuguru <tkato@prontomail.ne.jp>
2000-08-13 09:33:27 +00:00

25 lines
582 B
Plaintext

--- Makefile.orig Tue Jun 8 14:56:00 1999
+++ Makefile Sat Jun 19 16:30:16 1999
@@ -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 @@
.c.o:
- cc -I/usr/X11R6/share/include $(FLAGS) -c -Wall $< -o $*.o
+ ${CC} -I${X11BASE}/include $(CFLAGS) -c $< -o $@
wmpop3: $(OBJS)
- cc $(FLAGS) -o wmpop3 $^ -lXext $(LIBDIR) $(LIBS)
+ ${CC} $(CFLAGS) -o wmpop3 $(OBJS) -lXext $(LIBDIR) $(LIBS)
all:: wmpop3