20 lines
873 B
Plaintext
20 lines
873 B
Plaintext
$OpenBSD: patch-src_osdep_unix_Makefile.gss,v 1.6 2006/12/01 14:40:00 jakob Exp $
|
|
|
|
--- src/osdep/unix/Makefile.gss.orig Thu Aug 31 03:32:16 2006
|
|
+++ src/osdep/unix/Makefile.gss Wed Nov 22 12:08:43 2006
|
|
@@ -29,11 +29,10 @@
|
|
GSSDIR=/usr/local
|
|
GSSINCLUDE=$(GSSDIR)/include
|
|
GSSLIB=$(GSSDIR)/lib
|
|
-GSSCFLAGS= -I$(GSSINCLUDE) -DGSS_C_NT_HOSTBASED_SERVICE=gss_nt_service_name
|
|
-GSSOLDLDFLAGS= -L$(GSSLIB) -lgssapi_krb5 -lkrb5 -lcrypto -lcom_err
|
|
-GSSNEWLDFLAGS= -L$(GSSLIB) -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err
|
|
+GSSCFLAGS= -I$(GSSINCLUDE) -DHEIMDAL
|
|
+GSSLDFLAGS= -L$(GSSLIB) -lkafs -lgssapi -lkrb5 -lasn1 -lcom_err -ldes -lcrypto
|
|
|
|
gss: # GSSAPI Kerberos V flags
|
|
echo $(GSSCFLAGS) >> OSCFLAGS
|
|
- sh -c '(test -f $(GSSLIB)/libk5crypto.a) && echo $(GSSNEWLDFLAGS) || echo $(GSSOLDLDFLAGS)' >> LDFLAGS
|
|
+ echo $(GSSLDFLAGS) >> LDFLAGS
|
|
echo "#include \"kerb_mit.c\"" >> auths.c
|