pkgsrc/mail/pine/patches/patch-ac
adam 4ceed226e2 Changes 4.60:
* In PC-Pine, add ability to do piping, Sending-Filters,
       Display-Filters, and other operations where external command
       execution is possible.
     * Control margins in Message Viewing screen with Viewer-Margin-Left
       and Viewer-Margin-Right
     * Display flowed text well
     * Send flowed text when possible, with the ability to turn this
       behavior off through the new feature Quell-Flowed-Text
     * Add keywords to folders using the Keywords option to set them up
       and the Flag Command to set or clear them for particular messages.
     * In Mac OS X, view and send attachments and URLs according to how
       the system defines handling them, without relying on the existence
       of a mailcap or mime.types file
     * For PC-Pine, add a separate window that contains new mail
       notifications for all folders currently opened (in PC-Pine Config menu).
     * Reply or Forward using a Role by turning on the
       Alternate-Role-Menu option
     * More IMAP connection caching: control it with options
       Stay-Open-Folders, Preopen-Stayopen-Folders,
       Max-Remote-Connections, and Offer-Expunge-On-Stayopen-Folders
     * New feature Offer-Expunge-On-Inbox
     * An attempt is made to convert incoming UTF-8 messages to the
       user's character set
     * Added support for HOME and END keys in message view and message
       index
     * Prevent canonicalization of news server names by setting
       Mult-Newsrc-Hostnames-as-Typed
     * Remove hostname from NNTP Path header with Hide-NNTP-Path option
     * Support for External Categorizer Commands in Rules
     * Improved interface when editing rules with many comma-separated
       values
     * More control over mail checking frequency with
       Quell-Mailchecks-Composing-Except-Inbox,
       Quell-Mailchecks-Composing-Inbox, and
       Mail-Check-Interval-Noncurrent
     * More control over filtering of control characters to screen with
       Pass-C1-Control-Characters-as-is option
     * New Export and Unexport commands in FOLDER LIST screen
     * Now possible to use message size in Rule Patterns
     * As a convenience, a shortcut for the command line argument
       "-feature-list=feature" is "-feature", for example,
       "-signature-at-bottom" or "-no-signature-at-bottom"
     * Add PC-Pine command-line argument "-registry noset"
     * Add command-line argument "-nowrite_passfile"
     * Add feature Quell-Attachment-Extension-Warn
     * Add features Quell-Filtering-Messages and
       Quell-Filtering-Done-Message
     * Add feature Quell-Charset-Warning
     * Add feature Maildrops-Preserve-State
     * Don't remove whitespace from the end of lines, a behavior which
       can be turned off through the new feature
       Strip-Whitespace-Before-Send
     * Double dollar sign escapes special meaning of dollar sign in both
       Unix Pine and PC-Pine (Using Environment Variables)
     * RedHat and Debian ports more closely obey the Linux Hierarchy
       Standard
     * Improve performance of Select command when using Narrow or Broaden
       and talking to an IMAP server
     * Add feature Disable-Terminal-Reset-For-Display-Filters
     * When displaying a message with QP encoding errors, instead of just
       reporting "Non-hexadecimal character in QP encoding" and then
      giving up, attempt to do the best possible
     * Add feature Show-Sort
     * Add feature Downgrade-Multipart-To-Text
     * Add feature Dead-Letter-Files
     * Port named "soc" is an attempt to use native Solaris compiler
     * Add ability to justify the full message from the composer by doing
       Control-W Control-J
     * Bug fixes
2004-05-13 18:29:54 +00:00

74 lines
2.6 KiB
Text

$NetBSD: patch-ac,v 1.19 2004/05/13 18:29:54 adam Exp $
--- pine/makefile.neb.orig 2003-11-25 06:47:56.000000000 +0000
+++ pine/makefile.neb
@@ -47,9 +47,11 @@ LN= ln -s
MAKE= make
OPTIMIZE= # -O
PROFILE= # -pg
-DEBUG= -g -DDEBUG -DDEBUGJOURNAL
+DEBUG= -DDEBUG -DDEBUGJOURNAL # -g
-CCLIENTDIR= ../c-client
+CCLIENTDIR= ${PREFIX}
+CCLIENTINC= ${CCLIENTDIR}/include/c-client
+CCLIENTLIB= ${CCLIENTDIR}/lib
PICODIR= ../pico
# Only need to uncomment next two lines if you run make from this directory
@@ -60,14 +62,13 @@ PICODIR= ../pico
LDAPOFILES= addrbook.o adrbkcmd.o args.o bldaddr.o init.o \
mailview.o other.o pine.o strings.o takeaddr.o
-STDLIBS= -ltermlib
-LOCLIBS= $(PICODIR)/libpico.a $(CCLIENTDIR)/c-client.a
-LIBS= $(LOCLIBS) $(LDAPLIBS) $(STDLIBS) \
- `cat $(CCLIENTDIR)/LDFLAGS`
+STDLIBS= -ltermlib -lssl -lcrypto -lcrypt
+LOCLIBS= -lpico -lc-client
+LIBS= -L$(PREFIX)/lib -Wl,-R$(PREFIX)/lib/ $(EXTRALIBES) $(LOCLIBS) $(LDAPLIBS) $(STDLIBS)
STDCFLAGS= -DNETBSD -DSYSTYPE=\"NEB\" -DMOUSE
CFLAGS= $(OPTIMIZE) $(PROFILE) $(DEBUG) $(EXTRACFLAGS) $(LDAPCFLAGS) \
- $(LOCALPINECFLAGS) $(STDCFLAGS)
+ $(LOCALPINECFLAGS) $(STDCFLAGS) -I${CCLIENTINC}
OFILES= addrbook.o adrbkcmd.o adrbklib.o args.o bldaddr.o context.o filter.o \
folder.o help.o helptext.o imap.o init.o mailcap.o mailcmd.o \
@@ -79,20 +80,20 @@ HFILES= headers.h os.h pine.h context.h
$(PICODIR)/headers.h $(PICODIR)/estruct.h \
$(PICODIR)/edef.h $(PICODIR)/efunc.h \
$(PICODIR)/pico.h $(PICODIR)/os.h \
- $(CCLIENTDIR)/mail.h $(CCLIENTDIR)/osdep.h \
- $(CCLIENTDIR)/rfc822.h $(CCLIENTDIR)/misc.h
+ $(CCLIENTINC)/mail.h $(CCLIENTINC)/osdep.h \
+ $(CCLIENTINC)/rfc822.h $(CCLIENTINC)/misc.h
all: pine rpload rpdump
-pine: $(OFILES) $(LOCLIBS)
+pine: $(OFILES)
echo "char datestamp[]="\"`date`\"";" > date.c
echo "char hoststamp[]="\"`hostname`\"";" >> date.c
$(CC) $(LDFLAGS) $(CFLAGS) -o pine $(OFILES) date.c $(LIBS)
-rpload: rpload.o $(CCLIENTDIR)/c-client.a
+rpload: rpload.o $(CCLIENTLIB)/libc-client.a
$(CC) $(LDFLAGS) $(CFLAGS) -o rpload rpload.o $(LIBS)
-rpdump: rpdump.o $(CCLIENTDIR)/c-client.a
+rpdump: rpdump.o $(CCLIENTLIB)/libc-client.a
$(CC) $(LDFLAGS) $(CFLAGS) -o rpdump rpdump.o $(LIBS)
pine-use: pine-use.c
@@ -112,8 +113,8 @@ os.c: osdep/os-neb.c
$(OFILES): $(HFILES)
addrbook.o adrbkcmd.o adrbklib.o bldaddr.o takeaddr.o: adrbklib.h
-context.o: $(CCLIENTDIR)/misc.h
-send.o: $(CCLIENTDIR)/smtp.h
+context.o: $(CCLIENTINC)/misc.h
+send.o: $(CCLIENTINC)/smtp.h
#$(LDAPOFILES): $(LDAPLIBS)
helptext.c: pine.hlp