mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
e88031e534
Install the newly bundled tools: mailutil, dmail and tmail. Tidy. Add WITH_SSL_AND_PLAINTEXT knob, if you want to use plaintext passwords. Pointy hat to: dougb
29 lines
657 B
Plaintext
29 lines
657 B
Plaintext
--- src/mailutil/Makefile.orig Tue Nov 19 01:41:46 2002
|
|
+++ src/mailutil/Makefile Wed Nov 27 03:51:27 2002
|
|
@@ -19,22 +19,15 @@
|
|
|
|
|
|
C = ../c-client
|
|
-CCLIENTLIB = $C/c-client.a
|
|
SHELL = /bin/sh
|
|
|
|
# Get local definitions from c-client directory
|
|
|
|
-CC = `cat $C/CCTYPE`
|
|
-CFLAGS = -I$C `cat $C/CFLAGS`
|
|
-LDFLAGS = $(CCLIENTLIB) `cat $C/LDFLAGS`
|
|
+CFLAGS+= -DNFSKLUDGE -I$(LOCALBASE)/include/c-client
|
|
+LDFLAGS+= -L$(LOCALBASE)/lib -lc-client4
|
|
|
|
-mailutil: $(CCLIENTLIB) mailutil.o
|
|
+mailutil: mailutil.o
|
|
$(CC) $(CFLAGS) -o mailutil mailutil.o $(LDFLAGS)
|
|
-
|
|
-mailutil.o: $C/mail.h $C/misc.h $C/osdep.h
|
|
-
|
|
-$(CCLIENTLIB):
|
|
- cd $C;make
|
|
|
|
clean:
|
|
rm -f *.o mailutil
|