diff options
author | bouyer <bouyer@pkgsrc.org> | 2002-10-27 18:04:05 +0000 |
---|---|---|
committer | bouyer <bouyer@pkgsrc.org> | 2002-10-27 18:04:05 +0000 |
commit | 7c04f88abc55df8e28da6772c96f2195e9298d1f (patch) | |
tree | 38490702c8f6f07773ee0585e5fab942d332c732 /mail/pine/patches | |
parent | 7c7c9e7a6fe42b6f59cee8908fc1818c959f4fa1 (diff) | |
download | pkgsrc-7c04f88abc55df8e28da6772c96f2195e9298d1f.tar.gz |
Fix BUILDNAME/BUILDFILE for Solaris, and fix makefile.so5 for pkgsrc.
Diffstat (limited to 'mail/pine/patches')
-rw-r--r-- | mail/pine/patches/patch-ap | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/mail/pine/patches/patch-ap b/mail/pine/patches/patch-ap new file mode 100644 index 00000000000..2cbc505f005 --- /dev/null +++ b/mail/pine/patches/patch-ap @@ -0,0 +1,74 @@ +$NetBSD: patch-ap,v 1.1 2002/10/27 18:04:06 bouyer Exp $ + +--- pine/makefile.so5.orig Wed Oct 24 00:24:51 2001 ++++ pine/makefile.so5 Sat Oct 12 22:21:52 2002 +@@ -49,9 +49,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 +@@ -69,14 +71,13 @@ + # leaving out the UCB compatibility includes and libraries. + LDCC= $(PICODIR)/cc5.sol + +-STDLIBS= -ltermlib +-LOCLIBS= $(PICODIR)/libpico.a $(CCLIENTDIR)/c-client.a +-LIBS= $(LOCLIBS) $(LDAPLIBS) $(STDLIBS) \ +- `cat $(CCLIENTDIR)/LDFLAGS` ++STDLIBS= -lssl -lcrypto -lpam -ltermlib ++LOCLIBS= -lpico -lc-client ++LIBS= -L$(PREFIX)/lib -Wl,-R$(PREFIX)/lib/ $(EXTRALIBES) $(LOCLIBS) $(LDAPLIBS) $(STDLIBS) + + STDCFLAGS= -Dconst= -DSV4 -DSYSTYPE=\"SOL\" -DMOUSE + CFLAGS= $(OPTIMIZE) $(PROFILE) $(DEBUG) $(EXTRACFLAGS) $(LDAPCFLAGS) \ +- $(STDCFLAGS) ++ $(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 \ +@@ -88,20 +89,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 + $(LDCC) $(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 +@@ -121,8 +122,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 |