ports/mail/panda-imap/files/patch-src_mailutil_Makefile
Thierry Thomas 5fb471b83a mail/panda-imap: catch-up with the latest patches
Nothing has been released yet, but some interesting patches have been committed.
See <https://github.com/nkhorman/panda-imap/commits/master>.

Since I’m there, remove the option for better better interoperability with
Netscape.
2022-04-19 22:49:43 +02:00

28 lines
630 B
Text

--- src/mailutil/Makefile.orig 2022-04-17 00:12:02 UTC
+++ src/mailutil/Makefile
@@ -26,22 +26,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-client
-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