tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: mit-krb5/ problems on solaris

Looking again at potential ommissions in mit-krb5/ after the revert in devel/scmcvs, perhaps more setup can be done...

I'm uncertain about the LDFLAGS, because the gssapi linkage via mit-krb5 seems a bit is okay to presume that it should always be present?

although BUILDLINK_INCDIRS doesn't seem to work, the following seems to:

richard@x3200:~/src/pkgsrc/security/mit-krb5$ git diff .
diff --git a/security/mit-krb5/ b/security/mit-krb5/
index c31837d..aa4f6b2 100644
--- a/security/mit-krb5/
+++ b/security/mit-krb5/
@@ -72,3 +72,22 @@!=                                       
 .  endif
+### The section below only applies if we are not including this file
+### solely to determine whether a built-in implementation exists.
+###       no
+.if !empty([nN][oO])
+.  if !empty([yY][eE][sS])
+!=  ${SH_KRB5_CONFIG} --cflags!=   ${SH_KRB5_CONFIG} --libs
+.    if ${OPSYS} == "SunOS"   -lgss
+.    endif
+.  endif
+.endif #

I adapted the KRB5_CONFIG part from heimdal which should simplify some of the previous commits, for example in gnome-vfs/

Home | Main Index | Thread Index | Old Index