23347332 tweak cups REQUIRED_PACKAGES so we can build on 11.3 and 12
authorJohn Beck <John.Beck@Oracle.COM>
Wed, 25 May 2016 11:15:16 -0700
changeset 6064 226cf8da542f
parent 6063 23e9b5ec1752
child 6065 1408b9df8875
23347332 tweak cups REQUIRED_PACKAGES so we can build on 11.3 and 12
components/cups/Makefile
--- 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