94N/A#
94N/A# CDDL HEADER START
94N/A#
94N/A# The contents of this file are subject to the terms of the
94N/A# Common Development and Distribution License (the "License").
94N/A# You may not use this file except in compliance with the License.
94N/A#
94N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
94N/A# or http://www.opensolaris.org/os/licensing.
94N/A# See the License for the specific language governing permissions
94N/A# and limitations under the License.
94N/A#
94N/A# When distributing Covered Code, include this CDDL HEADER in each
94N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
94N/A# If applicable, add the following below this CDDL HEADER, with the
94N/A# fields enclosed by brackets "[]" replaced with your own identifying
94N/A# information: Portions Copyright [yyyy] [name of copyright owner]
94N/A#
94N/A# CDDL HEADER END
94N/A#
94N/A
94N/A#
3035N/A# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
94N/A#
94N/Ainclude ../../make-rules/shared-macros.mk
94N/A
94N/ACOMPONENT_NAME= cups
94N/ACOMPONENT_VERSION= 1.4.5
1425N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
1425N/ACOMPONENT_PROJECT_URL= http://www.cups.org/
618N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC)-source.tar.bz2
94N/ACOMPONENT_ARCHIVE_HASH= \
94N/A sha256:0450d6d8e6e8af225d2a3319c848737d76473a6c7579cf97c52086d0371c0efe
844N/ACOMPONENT_ARCHIVE_URL= http://ftp.easysw.com/pub/cups/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
1425N/ACOMPONENT_BUGDB= utility/cups
94N/A
1273N/ATPNO= 17705
94N/A
3661N/Ainclude $(WS_MAKE_RULES)/prep.mk
3661N/Ainclude $(WS_MAKE_RULES)/configure.mk
94N/Ainclude $(WS_MAKE_RULES)/ips.mk
94N/A
94N/ACXX += $(studio_NORUNPATH)
94N/A
94N/A# don't use LD_Z_IGNORE: causes linker problems
94N/ALD_Z_IGNORE=
94N/A
94N/ACONFIGURE_OPTIONS += --prefix=/usr
94N/ACONFIGURE_OPTIONS += --mandir=/usr/share/man
94N/ACONFIGURE_OPTIONS += --localedir=$(USRSHARELOCALEDIR)
94N/ACONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR)
94N/ACONFIGURE_OPTIONS += --localstatedir=/var
3035N/ACONFIGURE_OPTIONS += --with-fontpath=/usr/openwin/lib
3035N/ACONFIGURE_OPTIONS += --with-logdir=/var/log/cups
3035N/ACONFIGURE_OPTIONS += --with-domainsocket=/var/run/cups-socket
3035N/ACONFIGURE_OPTIONS += --with-smfmanifestdir=/lib/svc/manifest/application
3035N/ACONFIGURE_OPTIONS += --with-printcap=/etc/printers.conf
94N/ACONFIGURE_OPTIONS += --with-cups-user=lp
94N/ACONFIGURE_OPTIONS += --with-cups-group=lp
94N/ACONFIGURE_OPTIONS += --disable-static
94N/ACONFIGURE_OPTIONS += --disable-gnutls
94N/ACONFIGURE_OPTIONS += --disable-libusb
94N/ACONFIGURE_OPTIONS += --enable-labeling
181N/ACONFIGURE_OPTIONS += --enable-openssl
94N/ACONFIGURE_OPTIONS += --enable-dbus
94N/ACONFIGURE_OPTIONS += --enable-threads
94N/ACONFIGURE_OPTIONS += --enable-64bit
181N/ACONFIGURE_OPTIONS += --enable-auditing
94N/A
94N/ACONFIGURE_OPTIONS += ARCH64FLAGS=-m64
CONFIGURE_OPTIONS += DSO64FLAGS="$(LDLIBS) -G"
CONFIGURE_OPTIONS += "ac_cv_search_getifaddrs=no"
CONFIGURE_OPTIONS += "ac_cv_func_statfs=no"
$(BUILD_DIR)/%/.installed: ENV += DSTROOT="$(PROTO_DIR)"
PATCH_LEVEL = 0
COMPONENT_PRE_CONFIGURE_ACTION = \
$(CLONEY) $(SOURCE_DIR) $(@D) ; \
find $(@D) -name '*.in' | sed -e 's/.in$$//' | xargs $(RM) ; \
( cd $(SOURCE_DIR) ; autoconf -f )
# install the default config file
COMPONENT_POST_INSTALL_ACTION = \
$(TOUCH) $(PROTOETCDIR)/cups/command.types ; \
$(MV) $(PROTOUSRLIBDIR)/64 $(PROTOUSRLIBDIR)/$(MACH64)
# common targets
build: $(BUILD_32)
install: $(INSTALL_32)
test: $(NO_TESTS)
REQUIRED_PACKAGES += image/library/libjpeg
REQUIRED_PACKAGES += image/library/libpng
REQUIRED_PACKAGES += image/library/libtiff
REQUIRED_PACKAGES += library/print/cups-libs
REQUIRED_PACKAGES += library/security/openssl
REQUIRED_PACKAGES += library/zlib
REQUIRED_PACKAGES += runtime/perl-512
REQUIRED_PACKAGES += service/network/slp
REQUIRED_PACKAGES += service/security/kerberos-5
REQUIRED_PACKAGES += shell/ksh93
REQUIRED_PACKAGES += system/core-os
REQUIRED_PACKAGES += system/library
REQUIRED_PACKAGES += system/library/c++-runtime
REQUIRED_PACKAGES += system/library/libdbus
REQUIRED_PACKAGES += system/library/math
REQUIRED_PACKAGES += system/library/security/gss
REQUIRED_PACKAGES += system/linker