components/cups/Makefile
changeset 6064 226cf8da542f
parent 6049 d4f828709d1c
child 6125 84f511e8836f
--- a/components/cups/Makefile	Wed May 25 11:13:54 2016 -0700
+++ b/components/cups/Makefile	Wed May 25 11:15:16 2016 -0700
@@ -95,10 +95,6 @@
 	$(TOUCH) $(PROTOETCDIR)/cups/command.types ; \
 	$(MV) $(PROTOUSRLIBDIR)/64 $(PROTOUSRLIBDIR)/$(MACH64)
 
-# If there is no mediator, use MIT.  Note, once all userland build systems have
-# the Userland security/kerberos-5 pkg installed this logic can be removed.
-KRB5_API = $(shell pkg mediator -H kerberos5 2>/dev/null | nawk '{print $$4;}')
-
 REQUIRED_PACKAGES += driver/parallel/ecpp
 REQUIRED_PACKAGES += image/library/libjpeg
 REQUIRED_PACKAGES += image/library/libpng
@@ -107,16 +103,11 @@
 REQUIRED_PACKAGES += library/security/openssl
 REQUIRED_PACKAGES += library/zlib
 REQUIRED_PACKAGES += $(PERL_PKG)
-ifeq ($(KRB5_API), solaris)
-    # require the solaris version of Kerberos/GSS
-    REQUIRED_PACKAGES += service/security/kerberos-5
-    REQUIRED_PACKAGES += system/library/security/gss
-else
-    # require the Userland version of Kerberos/GSS
-    REQUIRED_PACKAGES += security/kerberos-5
-endif
+REQUIRED_PACKAGES += security/kerberos-5
+REQUIRED_PACKAGES += service/security/kerberos-5
 REQUIRED_PACKAGES += shell/ksh93
 REQUIRED_PACKAGES += system/core-os
 REQUIRED_PACKAGES += system/library/c++-runtime
 REQUIRED_PACKAGES += system/library/libdbus
 REQUIRED_PACKAGES += system/library/math
+REQUIRED_PACKAGES += system/library/security/gss