1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/mail/wmpop3/files/patch-aa
Mario Sergio Fujikawa Ferreira ca2e6f1fe1 - Add NOPORTDOCS support to PLISt
- rewrite patch-aa to CFLAGS/PREFIX safeness

Submitted by:	Patrick Li <pat@databits.net>
Approved by:	jim (maintainer)
2001-06-11 16:51:35 +00:00

25 lines
581 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$(PREFIX)/lib
LIBS = -lXpm -lXext -lX11
-FLAGS = -O2
+CFLAGS += -Wall
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$(PREFIX)/include $(CFLAGS) -c $< -o $@
wmpop3: $(OBJS)
- cc $(FLAGS) -o wmpop3 $^ -lXext $(LIBDIR) $(LIBS)
+ $(CC) $(CFLAGS) -o wmpop3 $(OBJS) -lXext $(LIBDIR) $(LIBS)
all:: wmpop3