1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/mail/imap-uw/files/patch-ag
Kelly Yancey 4e4ffa22f2 Update imap-uw to depend on the cclient port.
The mail/imap-uw port used to build a shared library version of cclient
of it's own (in fact, this is where much of the infrastructure for the
cclient port came from). However, since more things depend on cclient
then just UW's imap server, I broke them into separate ports.

From now on, nothing should have to depend on imap-uw just to get
c-client.

PR:		19749
Submitted by:	kbyanc@posi.net
2000-07-17 08:47:13 +00:00

33 lines
670 B
Plaintext

--- src/mtest/Makefile.orig Tue Apr 14 15:42:04 1998
+++ src/mtest/Makefile Fri Jul 7 00:28:59 2000
@@ -32,24 +32,20 @@
C = ../c-client
-CCLIENTLIB = $C/c-client.a
+#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 = `cat $C/CFLAGS`
+LDFLAGS = `cat $C/LDFLAGS`
+
all: mtest
-mtest: $(CCLIENTLIB) mtest.o
+mtest: mtest.o
$(CC) $(CFLAGS) -o mtest mtest.o $(LDFLAGS)
-
-mtest.o: $C/mail.h $C/misc.h $C/osdep.h $C/rfc822.h $C/smtp.h $C/nntp.h
-
-$(CCLIENTLIB):
- cd $C;make
clean:
rm -f *.o mtest || true