1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/mail/imap-uw/files/patch-src-dmail-Makefile
Anders Nordby 1ef00cf0dd Update to 2007e.
Remove FORBIDDEN, as the security issues should be OK now.

PR:		130617
Submitted by:	Martin Matuska <mm@FreeBSD.org>
2009-01-19 01:17:14 +00:00

27 lines
643 B
Plaintext

--- src/dmail/Makefile.orig 2008-06-04 20:18:34.000000000 +0200
+++ src/dmail/Makefile 2009-01-16 10:28:52.000000000 +0100
@@ -31,20 +31,12 @@
# 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
-dmail: $(CCLIENTLIB) dmail.o dquota.o
+dmail: dmail.o dquota.o
$(CC) $(CFLAGS) -o dmail dmail.o dquota.o $(LDFLAGS)
-dmail.o: $C/mail.h $C/misc.h $C/osdep.h dquota.h
-
-dquota.o: dquota.h
-
-$(CCLIENTLIB):
- cd $C;make
-
clean:
rm -f *.o dmail