mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
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.
30 lines
654 B
Text
30 lines
654 B
Text
--- src/mtest/Makefile.orig 2022-04-17 00:12:02 UTC
|
|
+++ src/mtest/Makefile
|
|
@@ -26,24 +26,17 @@
|
|
|
|
|
|
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
|
|
|
|
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
|