openbsd-ports/mail/pine/patches/patch-pine_makefile.bso
2000-12-31 04:49:37 +00:00

31 lines
1.1 KiB
Plaintext

--- pine/makefile.bso.orig Thu Nov 9 19:56:58 2000
+++ pine/makefile.bso Sat Dec 30 22:30:10 2000
@@ -50,7 +50,7 @@
PROFILE= # -pg
DEBUG= -DDEBUG # -g
-CCLIENTDIR= ../c-client
+CCLIENTDIR= $(PREFIX)/include/c-client
PICODIR= ../pico
# Only need to uncomment next two lines if you run make from this directory
@@ -61,13 +61,12 @@
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= $(EXTRALIBES) $(LOCLIBDIR) $(LOCLIBS) $(LDAPLIBS) $(STDLIBS) \
- `cat $(CCLIENTDIR)/LDFLAGS`
+STDLIBS= -ltermlib -lssl -lcrypto
+LOCLIBS= -lpico -lc-client
+LOCLIBDIR= -L$(PICODIR) -L$(PREFIX)/lib
+LIBS= $(EXTRALIBES) $(LOCLIBDIR) $(LOCLIBS) $(LDAPLIBS) $(STDLIBS)
-STDCFLAGS= -DBSDI -DSYSTYPE=\"BSO\" -DMOUSE
+STDCFLAGS= -DBSDI -DSYSTYPE=\"BSO\" -DMOUSE -I$(PREFIX)/include
CFLAGS+= $(OPTIMIZE) $(PROFILE) $(DEBUG) $(EXTRACFLAGS) $(LDAPCFLAGS) \
$(STDCFLAGS)