1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00
freebsd-ports/mail/imap-uw/files/patch-src_mailutil_Makefile
Doug Barton 383d2b4189 Since c-client has to be update for pine, this has to be updated to match.
Mostly simple version update, but apply some of the same fixes from c-client.

* Make some Makefile variables more... variable
* SSLTYPE update to match new c-client makefile
* Usual round of patch re-generation, but do some of the DRAC stuff in a
way that has a better chance of surviving the next software update.
* One hunk of patch-ah is now obsoleted
* Add a patch for mailutil/Makefile similar to the other Makfile patches
that fix c-client dependencies.
2002-11-26 12:10:27 +00:00

29 lines
657 B
Plaintext

--- src/mailutil/Makefile.Dist Mon Nov 18 16:41:46 2002
+++ src/mailutil/Makefile Tue Nov 26 02:36:10 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