1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-06 22:51:41 +00:00
freebsd-ports/mail/wmpop3/files/patch-aa

52 lines
1.2 KiB
Plaintext
Raw Normal View History

--- Makefile.orig Tue Mar 23 06:26:24 1999
+++ Makefile Sun Mar 28 22:30:43 1999
@@ -1,6 +1,6 @@
LIBDIR = -L/usr/X11R6/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/usr/X11R6/include $(CFLAGS) -c -Wall $< -o $*.o
wmpop3: $(OBJS)
- cc $(FLAGS) -o wmpop3 $^ -lXext $(LIBDIR) $(LIBS)
+ cc $(CFLAGS) -o wmpop3 $^ -lXext $(LIBDIR) $(LIBS)
all:: wmpop3
@@ -24,24 +24,6 @@
rm -f *~
install:: wmpop3
- @echo "Use 'make install1' for system install."
- @echo "Use 'make install2' for single user install."
- @echo
-
-install1:: wmpop3
- cp -f wmpop3 /usr/local/bin/
- chmod 755 /usr/local/bin/wmpop3
- chown root:root /usr/local/bin/wmpop3
- @echo
- @echo "WMPop3 Installation finished..."
-
-install2:: wmpop3
- mkdir $(HOME)/wmpop3
- cp -f wmpop3 $(HOME)/wmpop3
- chmod 755 $(HOME)/wmpop3
- cp -f wmpop3rc $(HOME)/.wmpop3rc
- chmod 600 $(HOME)/.wmpop3rc
- @echo "WMPop3 Installation finished..."
- @echo
- @echo "Make sure ~/wmpop3 is in your path"
- @echo
+ cp -f wmpop3 /usr/X11R6/bin/
+ chmod 755 /usr/X11R6/bin/wmpop3
+ chown root.wheel /usr/X11R6/bin/wmpop3