aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorcpiazza <cpiazza@FreeBSD.org>1999-06-20 07:40:00 +0800
committercpiazza <cpiazza@FreeBSD.org>1999-06-20 07:40:00 +0800
commitf34b08b4cc243f7296e4d9c3f98823647875b9f5 (patch)
tree0bc929b536a6255502886f599945caa7c132b2d1 /mail
parent463de6152dd459af12a97e1e0eed0b23996a0813 (diff)
downloadfreebsd-ports-gnome-f34b08b4cc243f7296e4d9c3f98823647875b9f5.tar.gz
freebsd-ports-gnome-f34b08b4cc243f7296e4d9c3f98823647875b9f5.tar.zst
freebsd-ports-gnome-f34b08b4cc243f7296e4d9c3f98823647875b9f5.zip
Support ${CC}.
Diffstat (limited to 'mail')
-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."