Makefile revision 5403
290N/A#
290N/A# CDDL HEADER START
290N/A#
290N/A# The contents of this file are subject to the terms of the
290N/A# Common Development and Distribution License (the "License").
290N/A# You may not use this file except in compliance with the License.
290N/A#
290N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
290N/A# or http://www.opensolaris.org/os/licensing.
290N/A# See the License for the specific language governing permissions
290N/A# and limitations under the License.
290N/A#
290N/A# When distributing Covered Code, include this CDDL HEADER in each
290N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
290N/A# If applicable, add the following below this CDDL HEADER, with the
290N/A# fields enclosed by brackets "[]" replaced with your own identifying
290N/A# information: Portions Copyright [yyyy] [name of copyright owner]
290N/A#
290N/A# CDDL HEADER END
290N/A#
1699N/A
290N/A#
290N/A# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
290N/A#
290N/A
290N/Ainclude ../../make-rules/shared-macros.mk
290N/A
290N/ACOMPONENT_NAME= fetchmail
290N/ACOMPONENT_VERSION= 6.3.22
844N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
844N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
290N/ACOMPONENT_ARCHIVE_HASH= \
1258N/A sha256:09093168552119e962617f86f2713564cf6e3fe7fd32d6799aa0b87df28f1e89
290N/ACOMPONENT_ARCHIVE_URL= http://download.berlios.de/fetchmail/$(COMPONENT_ARCHIVE)
290N/ACOMPONENT_PROJECT_URL= http://fetchmail.berlios.de/
290N/ACOMPONENT_BUGDB= utility/fetchmail
290N/A
290N/ATPNO= 8416
290N/A
290N/Ainclude $(WS_MAKE_RULES)/prep.mk
290N/Ainclude $(WS_MAKE_RULES)/configure.mk
290N/Ainclude $(WS_MAKE_RULES)/ips.mk
290N/A
290N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
290N/ACONFIGURE_OPTIONS += PYTHON="$(PYTHON.2.7.32)"
1699N/ACONFIGURE_OPTIONS += --with-kerberos5
1699N/ACONFIGURE_OPTIONS += --with-ssl
290N/ACONFIGURE_OPTIONS += --enable-NTLM
290N/A
290N/AASLR_MODE = $(ASLR_ENABLE)
290N/A
290N/A# Change the shebang line to use Python 2.7 explicitly, and drop the
290N/A# fixed file into /usr/bin, where our package manifest expects it.
290N/ACOMPONENT_POST_INSTALL_ACTION = \
290N/A $(GSED) -e "s|/usr/bin/env python|$(PYTHON.2.7.32)|" \
290N/A $(PROTO_DIR)/usr/lib/python2.7/site-packages/fetchmailconf.py > \
290N/A $(PROTO_DIR)$(USRBIN.32)/fetchmailconf
COMPONENT_TEST_TRANSFORMS += \
'-e "s|^.*$(CC).*$$|XXX_CC_XXX|"' \
'-e "/^XXX_CC_XXX$$/d"'
configure: $(CONFIGURE_64)
build: $(BUILD_64)
install: $(INSTALL_64)
test: $(TEST_64)
system-test: $(SYSTEM_TESTS_NOT_IMPLEMENTED)
REQUIRED_PACKAGES += library/python/tkinter-27
REQUIRED_PACKAGES += library/security/openssl
REQUIRED_PACKAGES += runtime/python-27
REQUIRED_PACKAGES += service/security/kerberos-5
REQUIRED_PACKAGES += shell/ksh93
REQUIRED_PACKAGES += system/library