components/mutt/Makefile
author Rich Burridge <rich.burridge@oracle.com>
Thu, 23 Feb 2017 13:46:52 -0800
changeset 7687 1093e2a9adbd
parent 7527 352b7a456c30
child 7829 2de4f4ace09c
permissions -rw-r--r--
25590368 Userland components should include "upstream" release tracking information
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
257
31daaf0e6143 7037057 Move mutt to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
     1
#
31daaf0e6143 7037057 Move mutt to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
31daaf0e6143 7037057 Move mutt to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
     3
#
31daaf0e6143 7037057 Move mutt to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
31daaf0e6143 7037057 Move mutt to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
31daaf0e6143 7037057 Move mutt to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
31daaf0e6143 7037057 Move mutt to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
     7
#
31daaf0e6143 7037057 Move mutt to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
31daaf0e6143 7037057 Move mutt to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
31daaf0e6143 7037057 Move mutt to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
31daaf0e6143 7037057 Move mutt to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
31daaf0e6143 7037057 Move mutt to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    12
#
31daaf0e6143 7037057 Move mutt to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
31daaf0e6143 7037057 Move mutt to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
31daaf0e6143 7037057 Move mutt to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
31daaf0e6143 7037057 Move mutt to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
31daaf0e6143 7037057 Move mutt to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
31daaf0e6143 7037057 Move mutt to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    18
#
31daaf0e6143 7037057 Move mutt to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
31daaf0e6143 7037057 Move mutt to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    20
#
31daaf0e6143 7037057 Move mutt to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    21
31daaf0e6143 7037057 Move mutt to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    22
#
7687
1093e2a9adbd 25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents: 7527
diff changeset
    23
# Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved.
257
31daaf0e6143 7037057 Move mutt to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    24
#
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5454
diff changeset
    25
BUILD_BITS= 64
257
31daaf0e6143 7037057 Move mutt to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    26
include ../../make-rules/shared-macros.mk
31daaf0e6143 7037057 Move mutt to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    27
31daaf0e6143 7037057 Move mutt to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    28
COMPONENT_NAME=		mutt
6427
2005fa2596b7 22089914 Upgrade MUTT to latest version
Rich Burridge <rich.burridge@oracle.com>
parents: 5814
diff changeset
    29
COMPONENT_VERSION=	1.6.1
800
2ad056ed89ec 7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 608
diff changeset
    30
COMPONENT_ARCHIVE_HASH=	\
6427
2005fa2596b7 22089914 Upgrade MUTT to latest version
Rich Burridge <rich.burridge@oracle.com>
parents: 5814
diff changeset
    31
    sha256:98b26cecc6b1713082fc880344fa345c20bd7ded6459abe18c84429c7cf8ed20
2005fa2596b7 22089914 Upgrade MUTT to latest version
Rich Burridge <rich.burridge@oracle.com>
parents: 5814
diff changeset
    32
COMPONENT_ARCHIVE_URL=	ftp://ftp.mutt.org/pub/mutt/$(COMPONENT_ARCHIVE)
257
31daaf0e6143 7037057 Move mutt to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    33
COMPONENT_PROJECT_URL=	http://www.mutt.org/
7687
1093e2a9adbd 25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents: 7527
diff changeset
    34
COMPONENT_ANITYA_ID=	2035
257
31daaf0e6143 7037057 Move mutt to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    35
6427
2005fa2596b7 22089914 Upgrade MUTT to latest version
Rich Burridge <rich.burridge@oracle.com>
parents: 5814
diff changeset
    36
TPNO=			29951
1948
2d1537e7942d 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 1260
diff changeset
    37
7245
934578b959f0 20029192 Userland should build with ld -z sx=nx* flags instead of map.noexstk
Enrico Perla <enrico.perla@oracle.com>
parents: 6427
diff changeset
    38
# Enable adiheap and adistack security extensions
934578b959f0 20029192 Userland should build with ld -z sx=nx* flags instead of map.noexstk
Enrico Perla <enrico.perla@oracle.com>
parents: 6427
diff changeset
    39
ADIHEAP_MODE =	$(ADIHEAP_ENABLE)
934578b959f0 20029192 Userland should build with ld -z sx=nx* flags instead of map.noexstk
Enrico Perla <enrico.perla@oracle.com>
parents: 6427
diff changeset
    40
ADISTACK_MODE =	$(ADISTACK_ENABLE)
934578b959f0 20029192 Userland should build with ld -z sx=nx* flags instead of map.noexstk
Enrico Perla <enrico.perla@oracle.com>
parents: 6427
diff changeset
    41
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5454
diff changeset
    42
TEST_TARGET= $(NO_TESTS)
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5454
diff changeset
    43
include $(WS_MAKE_RULES)/common.mk
257
31daaf0e6143 7037057 Move mutt to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    44
31daaf0e6143 7037057 Move mutt to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    45
CONFIGURE_OPTIONS  +=		--sysconfdir="$(ETCDIR)/$(COMPONENT_NAME)"
31daaf0e6143 7037057 Move mutt to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    46
CONFIGURE_OPTIONS  +=		--enable-pop
31daaf0e6143 7037057 Move mutt to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    47
CONFIGURE_OPTIONS  +=		--enable-imap
31daaf0e6143 7037057 Move mutt to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    48
CONFIGURE_OPTIONS  +=		--enable-smtp
31daaf0e6143 7037057 Move mutt to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    49
CONFIGURE_OPTIONS  +=		--enable-hcache
31daaf0e6143 7037057 Move mutt to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    50
CONFIGURE_OPTIONS  +=		--with-gdbm
31daaf0e6143 7037057 Move mutt to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    51
CONFIGURE_OPTIONS  +=		--with-regex
5814
40b5cf15fafc 22720565 mutt should switch from slang to ncurses
Craig Mohrman <craig.mohrman@oracle.com>
parents: 5797
diff changeset
    52
CONFIGURE_OPTIONS  +=		--with-curses
257
31daaf0e6143 7037057 Move mutt to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    53
CONFIGURE_OPTIONS  +=		--with-ssl
31daaf0e6143 7037057 Move mutt to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    54
CONFIGURE_OPTIONS  +=		--with-idn
31daaf0e6143 7037057 Move mutt to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    55
CFLAGS +=			-I"$(USRINCDIR)/idn"
31daaf0e6143 7037057 Move mutt to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    56
CONFIGURE_OPTIONS  +=		--with-wc-funcs
31daaf0e6143 7037057 Move mutt to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    57
CONFIGURE_OPTIONS  +=		--with-sasl
31daaf0e6143 7037057 Move mutt to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    58
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
    59
REQUIRED_PACKAGES += data/docbook/docbook-dtds
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
    60
REQUIRED_PACKAGES += data/docbook/docbook-style-dsssl
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
    61
REQUIRED_PACKAGES += data/docbook/docbook-style-xsl
5083
30d15206ebc4 22190711 some components do need pkg:/data/xml-common to build or test
Petr Sumbera <petr.sumbera@oracle.com>
parents: 4746
diff changeset
    62
REQUIRED_PACKAGES += data/xml-common
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
    63
REQUIRED_PACKAGES += library/database/gdbm
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
    64
REQUIRED_PACKAGES += library/libidn
5814
40b5cf15fafc 22720565 mutt should switch from slang to ncurses
Craig Mohrman <craig.mohrman@oracle.com>
parents: 5797
diff changeset
    65
REQUIRED_PACKAGES += library/ncurses
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
    66
REQUIRED_PACKAGES += library/security/openssl
5797
432ac76de3b0 23078956 adjust the remainder of the userland components to use perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents: 5682
diff changeset
    67
REQUIRED_PACKAGES += $(PERL_PKG)
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
    68
REQUIRED_PACKAGES += shell/ksh93
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
    69
REQUIRED_PACKAGES += system/library/math
7527
352b7a456c30 25305616 RE audits don't like the userland package anymore
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 7245
diff changeset
    70
$(SOLARIS_11_ONLY)REQUIRED_PACKAGES += system/library/security/libsasl
5454
1efad1afb469 PSARC/2015/194 libsasl ON to Userland migration and update
Jan Parcel <jan.parcel@oracle.com>
parents: 5083
diff changeset
    71
REQUIRED_PACKAGES += system/library/security/libsasl2