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