Makefile revision 3996
253N/A#
253N/A# CDDL HEADER START
253N/A#
253N/A# The contents of this file are subject to the terms of the
253N/A# Common Development and Distribution License (the "License").
253N/A# You may not use this file except in compliance with the License.
253N/A#
253N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
253N/A# or http://www.opensolaris.org/os/licensing.
253N/A# See the License for the specific language governing permissions
253N/A# and limitations under the License.
253N/A#
253N/A# When distributing Covered Code, include this CDDL HEADER in each
253N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
253N/A# If applicable, add the following below this CDDL HEADER, with the
253N/A# fields enclosed by brackets "[]" replaced with your own identifying
253N/A# information: Portions Copyright [yyyy] [name of copyright owner]
253N/A#
253N/A# CDDL HEADER END
253N/A#
253N/A
253N/A#
253N/A# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
253N/A#
253N/A
253N/Ainclude ../../make-rules/shared-macros.mk
253N/A
253N/ACOMPONENT_NAME= mutt
253N/ACOMPONENT_VERSION= 1.5.21
253N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
253N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
253N/ACOMPONENT_ARCHIVE_HASH= \
253N/A sha256:2141f36e8d0f4f71c9ca6780001e7cc679fe313e643953fc07f001223e67c4a0
253N/ACOMPONENT_ARCHIVE_URL= ftp://ftp.mutt.org/mutt/devel/$(COMPONENT_ARCHIVE)
253N/ACOMPONENT_PROJECT_URL= http://www.mutt.org/
253N/ACOMPONENT_BUGDB= utility/mutt
253N/A
253N/ATPNO= 9259
253N/A
253N/Ainclude $(WS_MAKE_RULES)/prep.mk
253N/Ainclude $(WS_MAKE_RULES)/configure.mk
253N/Ainclude $(WS_MAKE_RULES)/ips.mk
253N/A
253N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
253N/ACONFIGURE_OPTIONS += --sysconfdir="$(ETCDIR)/$(COMPONENT_NAME)"
253N/ACONFIGURE_OPTIONS += --enable-pop
253N/ACONFIGURE_OPTIONS += --enable-imap
253N/ACONFIGURE_OPTIONS += --enable-smtp
253N/ACONFIGURE_OPTIONS += --enable-hcache
253N/ACONFIGURE_OPTIONS += --with-gdbm
253N/ACONFIGURE_OPTIONS += --with-regex
253N/ACONFIGURE_OPTIONS += --with-slang
253N/ACONFIGURE_OPTIONS += --with-ssl
253N/ACONFIGURE_OPTIONS += --with-idn
253N/ACFLAGS += -I"$(USRINCDIR)/idn"
253N/ACONFIGURE_OPTIONS += --with-wc-funcs
253N/ACONFIGURE_OPTIONS += --with-sasl
253N/A
253N/A# Add in the C compiler information to the muttbug (a.k.a. flea) script.
253N/ACOMPONENT_POST_CONFIGURE_ACTION = \
253N/A $(GSED) -i 's%XXX-CUSAGE-XXX%$(shell $(CC) -V 2>&1 | head -1)%' \
253N/A $(BUILD_DIR_32)/muttbug.sh
253N/A
253N/A# common targets
253N/Abuild: $(BUILD_32)
253N/A
253N/Ainstall: $(INSTALL_32)
253N/A
253N/Atest: $(NO_TESTS)
253N/A
253N/A
253N/AREQUIRED_PACKAGES += library/database/gdbm
253N/AREQUIRED_PACKAGES += library/libidn
253N/AREQUIRED_PACKAGES += library/security/openssl
253N/AREQUIRED_PACKAGES += library/slang
253N/AREQUIRED_PACKAGES += runtime/perl-512
253N/AREQUIRED_PACKAGES += shell/ksh93
253N/AREQUIRED_PACKAGES += system/library
253N/AREQUIRED_PACKAGES += system/library/math
253N/AREQUIRED_PACKAGES += system/library/security/libsasl
253N/A