4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
23 # Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
26 include ..
/..
/..
/make-rules
/shared-macros.mk
29 COMPONENT_VERSION
= 1.5.24
31 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
32 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
33 COMPONENT_ARCHIVE_HASH
= \
34 sha256
:a292ca765ed7b19db4ac495938a3ef808a16193b7d623d65562bb8feb2b42200
35 COMPONENT_ARCHIVE_URL
= ftp
://ftp.mutt.org
/pub
/mutt
/$(COMPONENT_ARCHIVE
)
36 COMPONENT_PROJECT_URL
= http
://www.mutt.org
/
37 COMPONENT_BUGDB
= utility
/mutt
39 include $(WS_TOP
)/make-rules
/prep.mk
40 include $(WS_TOP
)/make-rules
/configure.mk
41 include $(WS_TOP
)/make-rules
/ips.mk
43 CONFIGURE_OPTIONS
+= CFLAGS
="$(CFLAGS)"
44 CONFIGURE_OPTIONS
+= --sysconfdir
="$(ETCDIR)/$(COMPONENT_NAME)"
45 CONFIGURE_OPTIONS
+= --enable-pop
46 CONFIGURE_OPTIONS
+= --enable-imap
47 CONFIGURE_OPTIONS
+= --enable-smtp
48 CONFIGURE_OPTIONS
+= --enable-hcache
49 CONFIGURE_OPTIONS
+= --with-gdbm
50 CONFIGURE_OPTIONS
+= --with-regex
51 CONFIGURE_OPTIONS
+= --with-slang
52 CONFIGURE_OPTIONS
+= --with-ssl
53 CONFIGURE_OPTIONS
+= --with-idn
54 CFLAGS
+= -I
"$(USRINCDIR)/idn"
55 CONFIGURE_OPTIONS
+= --with-wc-funcs
56 CONFIGURE_OPTIONS
+= --with-sasl
58 ASLR_MODE
= $(ASLR_ENABLE
)
61 build
: $(BUILD_32_and_64
)
63 install: $(INSTALL_32_and_64
)
67 BUILD_PKG_DEPENDENCIES
= $(BUILD_TOOLS
)
69 include $(WS_TOP
)/make-rules
/depend.mk