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