a31148363f598def767ac48c5d82e1572e44b935Gerry Liu#
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# CDDL HEADER START
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu#
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# The contents of this file are subject to the terms of the
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# Common Development and Distribution License (the "License").
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# You may not use this file except in compliance with the License.
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu#
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# or http://www.opensolaris.org/os/licensing.
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# See the License for the specific language governing permissions
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# and limitations under the License.
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu#
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# When distributing Covered Code, include this CDDL HEADER in each
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# If applicable, add the following below this CDDL HEADER, with the
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# fields enclosed by brackets "[]" replaced with your own identifying
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# information: Portions Copyright [yyyy] [name of copyright owner]
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu#
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# CDDL HEADER END
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu#
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu#
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu#
a31148363f598def767ac48c5d82e1572e44b935Gerry LiuBUILD_BITS= 64
a31148363f598def767ac48c5d82e1572e44b935Gerry Liuinclude ../../make-rules/shared-macros.mk
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu
a31148363f598def767ac48c5d82e1572e44b935Gerry LiuCOMPONENT_NAME= mutt
a31148363f598def767ac48c5d82e1572e44b935Gerry LiuCOMPONENT_VERSION= 1.6.1
a31148363f598def767ac48c5d82e1572e44b935Gerry LiuCOMPONENT_ARCHIVE_HASH= \
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu sha256:98b26cecc6b1713082fc880344fa345c20bd7ded6459abe18c84429c7cf8ed20
a31148363f598def767ac48c5d82e1572e44b935Gerry LiuCOMPONENT_ARCHIVE_URL= ftp://ftp.mutt.org/pub/mutt/$(COMPONENT_ARCHIVE)
a31148363f598def767ac48c5d82e1572e44b935Gerry LiuCOMPONENT_PROJECT_URL= http://www.mutt.org/
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu
a31148363f598def767ac48c5d82e1572e44b935Gerry LiuTPNO= 29951
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu# Enable adiheap and adistack security extensions
a31148363f598def767ac48c5d82e1572e44b935Gerry LiuADIHEAP_MODE = $(ADIHEAP_ENABLE)
a31148363f598def767ac48c5d82e1572e44b935Gerry LiuADISTACK_MODE = $(ADISTACK_ENABLE)
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu
a31148363f598def767ac48c5d82e1572e44b935Gerry LiuTEST_TARGET= $(NO_TESTS)
a31148363f598def767ac48c5d82e1572e44b935Gerry Liuinclude $(WS_MAKE_RULES)/common.mk
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu
a31148363f598def767ac48c5d82e1572e44b935Gerry LiuCONFIGURE_OPTIONS += --sysconfdir="$(ETCDIR)/$(COMPONENT_NAME)"
a31148363f598def767ac48c5d82e1572e44b935Gerry LiuCONFIGURE_OPTIONS += --enable-pop
a31148363f598def767ac48c5d82e1572e44b935Gerry LiuCONFIGURE_OPTIONS += --enable-imap
a31148363f598def767ac48c5d82e1572e44b935Gerry LiuCONFIGURE_OPTIONS += --enable-smtp
a31148363f598def767ac48c5d82e1572e44b935Gerry LiuCONFIGURE_OPTIONS += --enable-hcache
a31148363f598def767ac48c5d82e1572e44b935Gerry LiuCONFIGURE_OPTIONS += --with-gdbm
a31148363f598def767ac48c5d82e1572e44b935Gerry LiuCONFIGURE_OPTIONS += --with-regex
a31148363f598def767ac48c5d82e1572e44b935Gerry LiuCONFIGURE_OPTIONS += --with-curses
a31148363f598def767ac48c5d82e1572e44b935Gerry LiuCONFIGURE_OPTIONS += --with-ssl
a31148363f598def767ac48c5d82e1572e44b935Gerry LiuCONFIGURE_OPTIONS += --with-idn
a31148363f598def767ac48c5d82e1572e44b935Gerry LiuCFLAGS += -I"$(USRINCDIR)/idn"
a31148363f598def767ac48c5d82e1572e44b935Gerry LiuCONFIGURE_OPTIONS += --with-wc-funcs
a31148363f598def767ac48c5d82e1572e44b935Gerry LiuCONFIGURE_OPTIONS += --with-sasl
a31148363f598def767ac48c5d82e1572e44b935Gerry Liu
a31148363f598def767ac48c5d82e1572e44b935Gerry LiuREQUIRED_PACKAGES += data/docbook/docbook-dtds
a31148363f598def767ac48c5d82e1572e44b935Gerry LiuREQUIRED_PACKAGES += data/docbook/docbook-style-dsssl
a31148363f598def767ac48c5d82e1572e44b935Gerry LiuREQUIRED_PACKAGES += data/docbook/docbook-style-xsl
a31148363f598def767ac48c5d82e1572e44b935Gerry LiuREQUIRED_PACKAGES += data/xml-common
a31148363f598def767ac48c5d82e1572e44b935Gerry LiuREQUIRED_PACKAGES += library/database/gdbm
a31148363f598def767ac48c5d82e1572e44b935Gerry LiuREQUIRED_PACKAGES += library/libidn
a31148363f598def767ac48c5d82e1572e44b935Gerry LiuREQUIRED_PACKAGES += library/ncurses
a31148363f598def767ac48c5d82e1572e44b935Gerry LiuREQUIRED_PACKAGES += library/security/openssl
a31148363f598def767ac48c5d82e1572e44b935Gerry LiuREQUIRED_PACKAGES += $(PERL_PKG)
a31148363f598def767ac48c5d82e1572e44b935Gerry LiuREQUIRED_PACKAGES += shell/ksh93
a31148363f598def767ac48c5d82e1572e44b935Gerry LiuREQUIRED_PACKAGES += system/library/math
a31148363f598def767ac48c5d82e1572e44b935Gerry LiuREQUIRED_PACKAGES += system/library/security/libsasl
a31148363f598def767ac48c5d82e1572e44b935Gerry LiuREQUIRED_PACKAGES += system/library/security/libsasl2
7014882c6a3672fd0e5d60200af8643ae53c5928Richard Lowe