freebsd-ports/mail/pine4/files/patch-af
Doug Barton 2419cbe293 Update to version 4.60, the latest from UW. Several new features and many
bug fixes are included. See
http://www.washington.edu/pine/changes/4.58-to-4.60.html for more information.

One wonky master site is removed, thanks to fenner's distfile survey,
and patches are regenerated as needed.

The idea for the patch to obey ${CC} came from the PR, the implementation is
my own.

PR:		ports/65232
Submitted by:	michael johnson <ahze@ahze.net>
2004-05-22 22:31:01 +00:00

32 lines
813 B
Text

--- imap/src/osdep/unix/Makefile.orig Thu Apr 29 19:10:25 2004
+++ imap/src/osdep/unix/Makefile Sat May 22 14:28:29 2004
@@ -99,7 +99,7 @@
# Commands possibly overriden by the individual port
ARRC=ar rc
-CC=cc
+#CC=cc
LN=ln -s
RANLIB=ranlib
@@ -117,7 +117,7 @@
dummy.o pseudo.o netmsg.o flstring.o fdstring.o \
rfc822.o nntp.o smtp.o imap4r1.o pop3.o \
unix.o mbx.o mmdf.o tenex.o mtx.o news.o phile.o mh.o mx.o
-CFLAGS=-g
+CFLAGS=$(BASECFLAGS) $(EXTRACFLAGS)
CAT=cat
MAKE=make
@@ -219,8 +219,9 @@
SPOOLDIR=/var \
ACTIVEFILE=/usr/local/news/lib/active \
RSHPATH=/usr/bin/rsh \
- BASECFLAGS="-g -O -pipe" \
- BASELDFLAGS="-lcrypt"
+ LOCKPGM=$(PREFIX)/libexec/mlock \
+ BASECFLAGS="-DNFSKLUDGE" \
+ BASELDFLAGS="-lpam -lcrypt"
bsi: # BSD/i386
$(BUILD) `$(CAT) SPECIALS` OS=$@ \