summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorschwarz <schwarz@pkgsrc.org>2005-03-19 12:52:28 +0000
committerschwarz <schwarz@pkgsrc.org>2005-03-19 12:52:28 +0000
commit3fc3198b29206868a4215af2a0307dcd92e0fdcd (patch)
tree7588a15fbb06db6f846cf3a2e9c700af522a7d66 /mail
parent88f1a5876bb450b808f341a5b65b5de438e0b576 (diff)
downloadpkgsrc-3fc3198b29206868a4215af2a0307dcd92e0fdcd.tar.gz
adding patch for IRIX which was omitted when closing PR#28615
Diffstat (limited to 'mail')
-rw-r--r--mail/pine/distinfo3
-rw-r--r--mail/pine/patches/patch-aq74
2 files changed, 76 insertions, 1 deletions
diff --git a/mail/pine/distinfo b/mail/pine/distinfo
index 54154ba621a..1a87a168235 100644
--- a/mail/pine/distinfo
+++ b/mail/pine/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.26 2005/02/24 09:59:26 agc Exp $
+$NetBSD: distinfo,v 1.27 2005/03/19 12:52:28 schwarz Exp $
SHA1 (pine4.62.tar.bz2) = 7011a1030fcf3f78d8fb7d5b7bf2cd46037668f7
RMD160 (pine4.62.tar.bz2) = f906b4db71aa72a1c4f638d0ea046e352a002c34
@@ -12,3 +12,4 @@ SHA1 (patch-af) = 1cd12e0b7aea804528730ed7323e7ea1ac385466
SHA1 (patch-ag) = 74d7e2dc9b986148825335f6f2b52bde963f9a67
SHA1 (patch-al) = 0e25dad2c4caf71b4204f137eee3f85d7b9b507c
SHA1 (patch-ap) = ad1733f86195ecbd2211f3af7671c1d1c35803bc
+SHA1 (patch-aq) = 127023252f8984651c861be23735d50ae85eaa1e
diff --git a/mail/pine/patches/patch-aq b/mail/pine/patches/patch-aq
new file mode 100644
index 00000000000..8c0b4894233
--- /dev/null
+++ b/mail/pine/patches/patch-aq
@@ -0,0 +1,74 @@
+$NetBSD: patch-aq,v 1.1 2005/03/19 12:52:28 schwarz Exp $
+
+--- pine/makefile.sgi.orig 2004-12-11 23:35:09.000000000 +0100
++++ pine/makefile.sgi 2004-12-11 23:43:26.000000000 +0100
+@@ -47,9 +47,11 @@
+ MAKE= make
+ OPTIMIZE= # -O
+ PROFILE= # -pg
+-DEBUG= -g -DDEBUG
++DEBUG= -DDEBUG # -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
+@@ -63,14 +65,13 @@
+ # Uncomment the line below *if* you're running IRIX < 5.0 *and* your
+ # site is using NIS.
+ #EXTRASTDLIBES= -lsun
+-STDLIBS= -ltermlib $(EXTRASTDLIBES)
+-LOCLIBS= $(PICODIR)/libpico.a $(CCLIENTDIR)/c-client.a
+-LIBS= $(LOCLIBS) $(LDAPLIBS) $(STDLIBS) \
+- `cat $(CCLIENTDIR)/LDFLAGS`
++STDLIBS= -ltermlib -lssl -lcrypto -lcrypt $(EXTRASTDLIBES)
++LOCLIBS= -lpico -lc-client
++LIBS= -L$(PREFIX)/lib -Wl,-R$(PREFIX)/lib/ $(EXTRALIBES) $(LOCLIBS) $(LDAPLIBS) $(STDLIBS)
+
+ STDCFLAGS= -DSGI -DSYSTYPE=\"SGI\" -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 \
+@@ -82,20 +83,20 @@
+ $(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 $(CCLIENTDIR)/libc-client.a
+ $(CC) $(LDFLAGS) $(CFLAGS) -o rpload rpload.o $(LIBS)
+
+-rpdump: rpdump.o $(CCLIENTDIR)/c-client.a
++rpdump: rpdump.o $(CCLIENTDIR)/libc-client.a
+ $(CC) $(LDFLAGS) $(CFLAGS) -o rpdump rpdump.o $(LIBS)
+
+ pine-use: pine-use.c
+@@ -115,8 +116,8 @@
+
+ $(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