1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/mail/wmpop3/files/patch-aa
1999-06-19 23:40:00 +00:00

54 lines
1.3 KiB
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/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,25 +24,7 @@
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
@echo "Please edit ~/.wmpop3rc before running WMPop3."