openbsd-ports/mail/imap-uw/patches/patch-src_osdep_unix_Makefile.gss

20 lines
885 B
Plaintext
Raw Normal View History

$OpenBSD: patch-src_osdep_unix_Makefile.gss,v 1.8 2010/10/23 19:39:46 jsg Exp $
--- src/osdep/unix/Makefile.gss.orig Wed Jun 4 20:18:34 2008
+++ src/osdep/unix/Makefile.gss Sat Oct 16 14:17:18 2010
@@ -29,11 +29,12 @@
GSSDIR=/usr/local
2006-12-01 09:40:00 -05:00
GSSINCLUDE=$(GSSDIR)/include
GSSLIB=$(GSSDIR)/lib
-GSSCFLAGS= -I$(GSSINCLUDE) -DGSS_C_NT_HOSTBASED_SERVICE=gss_nt_service_name -DKRB5_DEPRECATED=1
2006-12-01 09:40:00 -05:00
+GSSCFLAGS= -I$(GSSINCLUDE) -DHEIMDAL
+GSSLDFLAGS= -L$(GSSLIB) -lkafs -lgssapi -lkrb5 -lasn1 -lcom_err -lcrypto
GSSOLDLDFLAGS= -L$(GSSLIB) -lgssapi_krb5 -lkrb5 -lcrypto -lcom_err
GSSNEWLDFLAGS= -L$(GSSLIB) -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err
gss: # GSSAPI Kerberos V flags
echo $(GSSCFLAGS) >> OSCFLAGS
2006-12-01 09:40:00 -05:00
- sh -c '(test -f $(GSSLIB)/libk5crypto.a) && echo $(GSSNEWLDFLAGS) || echo $(GSSOLDLDFLAGS)' >> LDFLAGS
+ echo $(GSSLDFLAGS) >> LDFLAGS
2003-04-17 04:06:29 -04:00
echo "#include \"kerb_mit.c\"" >> auths.c