openbsd-ports/mail/pine/patches/patch-pine_makefile.bso
2001-11-19 02:01:57 +00:00

32 lines
1.2 KiB
Plaintext

$OpenBSD: patch-pine_makefile.bso,v 1.7 2001/11/19 02:01:58 brad Exp $
--- pine/makefile.bso.orig Tue Oct 23 18:24:45 2001
+++ pine/makefile.bso Sat Nov 17 20:22:04 2001
@@ -50,7 +50,7 @@ OPTIMIZE= # -O
PROFILE= # -pg
DEBUG= -DDEBUG # -g
-CCLIENTDIR= ../c-client
+CCLIENTDIR= $(LOCALBASE)/include/c-client
PICODIR= ../pico
# Only need to uncomment next two lines if you run make from this directory
@@ -61,13 +61,12 @@ 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= -lpico $(CCLIENTDIR)/c-client.a
-LOCLIBDIR= -L$(PICODIR)
-LIBS= $(LOCLIBDIR) $(LOCLIBS) $(LDAPLIBS) $(STDLIBS) \
- `cat $(CCLIENTDIR)/LDFLAGS`
+STDLIBS= -ltermlib -lssl -lgssapi -lkrb -lkrb5 -lasn1 -lcrypto -lcom_err -lkafs
+LOCLIBS= -lpico -lc-client
+LOCLIBDIR= -L$(PICODIR) -L$(LOCALBASE)/lib
+LIBS= $(LOCLIBDIR) $(LOCLIBS) $(LDAPLIBS) $(STDLIBS)
-STDCFLAGS= -DBSDI -DSYSTYPE=\"BSO\" -DMOUSE
+STDCFLAGS= -DBSDI -DSYSTYPE=\"BSO\" -DMOUSE -I$(LOCALBASE)/include
CFLAGS+= $(OPTIMIZE) $(PROFILE) $(DEBUG) $(EXTRACFLAGS) $(LDAPCFLAGS) \
$(STDCFLAGS)