aboutsummaryrefslogtreecommitdiff
path: root/mail/wmpop3
diff options
context:
space:
mode:
authorChris Piazza <cpiazza@FreeBSD.org>1999-06-19 23:40:00 +0000
committerChris Piazza <cpiazza@FreeBSD.org>1999-06-19 23:40:00 +0000
commita4ccf837b0e3a2c8d28f436bba02112b9fc4a66e (patch)
tree3433f02108fa65b4e5eb21e1022e8a1a316567e0 /mail/wmpop3
parent6844f7279a580898005938115bf104330963212a (diff)
downloadports-a4ccf837b0e3a2c8d28f436bba02112b9fc4a66e.tar.gz
ports-a4ccf837b0e3a2c8d28f436bba02112b9fc4a66e.zip
Support ${CC}.
Notes
Notes: svn path=/head/; revision=19580
Diffstat (limited to 'mail/wmpop3')
-rw-r--r--mail/wmpop3/files/patch-aa14
1 files changed, 8 insertions, 6 deletions
diff --git a/mail/wmpop3/files/patch-aa b/mail/wmpop3/files/patch-aa
index 99a330fa489f..ac77885d295d 100644
--- a/mail/wmpop3/files/patch-aa
+++ b/mail/wmpop3/files/patch-aa
@@ -1,7 +1,8 @@
---- Makefile.orig Tue Mar 23 06:26:24 1999
-+++ Makefile Sun Mar 28 22:30:43 1999
+--- 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/usr/X11R6/lib
++LIBDIR = -L${X11BASE}/lib
LIBS = -lXpm -lXext -lX11
-FLAGS = -O2
+CFLAGS ?= -O2
@@ -13,15 +14,15 @@
.c.o:
- cc -I/usr/X11R6/share/include $(FLAGS) -c -Wall $< -o $*.o
-+ cc -I/usr/X11R6/include $(CFLAGS) -c -Wall $< -o $*.o
++ ${CC} -I/usr/X11R6/include $(CFLAGS) -c -Wall $< -o $*.o
wmpop3: $(OBJS)
- cc $(FLAGS) -o wmpop3 $^ -lXext $(LIBDIR) $(LIBS)
-+ cc $(CFLAGS) -o wmpop3 $^ -lXext $(LIBDIR) $(LIBS)
++ ${CC} $(CFLAGS) -o wmpop3 $^ -lXext $(LIBDIR) $(LIBS)
all:: wmpop3
-@@ -24,24 +24,6 @@
+@@ -24,25 +24,7 @@
rm -f *~
install:: wmpop3
@@ -49,3 +50,4 @@
+ cp -f wmpop3 /usr/X11R6/bin/
+ chmod 755 /usr/X11R6/bin/wmpop3
+ chown root.wheel /usr/X11R6/bin/wmpop3
+ @echo "Please edit ~/.wmpop3rc before running WMPop3."