pkgsrc-Bugs archive

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

pkg/48230: gnome-vfs with gssapi option passes native krb5-config when pkgsrc version should be used



>Number:         48230
>Category:       pkg
>Synopsis:       gnome-vfs with gssapi option passes native krb5-config when 
>pkgsrc version should be used
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Sep 22 10:35:00 +0000 2013
>Originator:     Richard PALO
>Release:        pkgsrc trunk
>Organization:
>Environment:
SunOS devzoneX 5.11 illumos-gate i86pc i386 i86pc

>Description:
somewhat in relation to pkg/48228, building gnome-gvs with option 'gssapi' 
fails on solaris if pkgsrc mit-krb5, for example, is installed because the 
solaris supplied krb5-config doesn't [currently] support the gssapi option.

The options seems to presume that "native" is intended.

The attached patch at least allows the build to complete..

NB: There is probably additional work to support current native solaris krb5 
gssapi support to get over the incorrect assumption that krb5-config always 
supports a gssapi option.
>How-To-Repeat:

>Fix:
richard@devzoneX:~/src/pkgsrc/sysutils/gnome-vfs$ git diff .
diff --git a/sysutils/gnome-vfs/options.mk b/sysutils/gnome-vfs/options.mk
index 43fd232..833e46c 100644
--- a/sysutils/gnome-vfs/options.mk
+++ b/sysutils/gnome-vfs/options.mk
@@ -23,7 +23,9 @@ CONFIGURE_ARGS+=      --disable-fam
 
 .if !empty(PKG_OPTIONS:Mgssapi)
 .include "../../mk/krb5.buildlink3.mk"
+.      if !empty(USE_BUILTIN.${KRB5_TYPE}:M[yY][eE][sS])
 CONFIGURE_ENV+=                KRB5_CONFIG=${SH_KRB5_CONFIG}
+.      endif
 .else
 CONFIGURE_ENV+=                ac_cv_path_KRB5_CONFIG=none
 .endif



Home | Main Index | Thread Index | Old Index