components/mutt/Makefile
author Bill Rushmore <bill.rushmore@oracle.com>
Fri, 07 Aug 2015 13:43:38 -0700
changeset 4746 8e237ffd0a48
parent 4339 6501cf9c29f9
child 5083 30d15206ebc4
permissions -rw-r--r--
20995635 Perl TK needs to be upgraded to work with Perl 5.20 20994112 Perl XML::Parser needs to work with Perl 5.20 20989929 Perl net-ssleay needs to be fixed so it builds with Perl 5.20 20989909 Perl libxml needs to be fixed so it builds with Perl 5.20 20989894 Perl DBI - needs to be fixed so it builds with Perl 5.20 20989877 AUTHEN-PAM needs to be fixed so it builds with Perl 5.20 21195142 OpenSCAP's Makefile needs to be updated to work with Perl 5.20 21216887 Dependencies and references to Perl 5.16 need to be replaced with Perl 5.20
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
#
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
    23
# Copyright (c) 2011, 2015, 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
#
31daaf0e6143 7037057 Move mutt to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    25
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
31daaf0e6143 7037057 Move mutt to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    29
COMPONENT_VERSION=	1.5.21
31daaf0e6143 7037057 Move mutt to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    30
COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
31daaf0e6143 7037057 Move mutt to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    31
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
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
    32
COMPONENT_ARCHIVE_HASH=	\
2ad056ed89ec 7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 608
diff changeset
    33
    sha256:2141f36e8d0f4f71c9ca6780001e7cc679fe313e643953fc07f001223e67c4a0
257
31daaf0e6143 7037057 Move mutt to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    34
COMPONENT_ARCHIVE_URL=	ftp://ftp.mutt.org/mutt/devel/$(COMPONENT_ARCHIVE)
31daaf0e6143 7037057 Move mutt to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    35
COMPONENT_PROJECT_URL=	http://www.mutt.org/
1058
34d7aaa03423 15886624 Auto-generation of Userland gate list - Phase 3
Rich Burridge <rich.burridge@oracle.com>
parents: 800
diff changeset
    36
COMPONENT_BUGDB=	utility/mutt
257
31daaf0e6143 7037057 Move mutt to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    37
1948
2d1537e7942d 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 1260
diff changeset
    38
TPNO=			9259
2d1537e7942d 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 1260
diff changeset
    39
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
    40
include $(WS_MAKE_RULES)/prep.mk
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
    41
include $(WS_MAKE_RULES)/configure.mk
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
    42
include $(WS_MAKE_RULES)/ips.mk
257
31daaf0e6143 7037057 Move mutt to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    43
31daaf0e6143 7037057 Move mutt to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    44
CONFIGURE_OPTIONS  +=		CFLAGS="$(CFLAGS)"
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
31daaf0e6143 7037057 Move mutt to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    52
CONFIGURE_OPTIONS  +=		--with-slang
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
608
bef78732195b 7076617 flea tries to run /ws/onnv-tools/SUNWspro/sunstudio12.1/bin/cc
Rich Burridge <rich.burridge@oracle.com>
parents: 587
diff changeset
    59
# Add in the C compiler information to the muttbug (a.k.a. flea) script.
bef78732195b 7076617 flea tries to run /ws/onnv-tools/SUNWspro/sunstudio12.1/bin/cc
Rich Burridge <rich.burridge@oracle.com>
parents: 587
diff changeset
    60
COMPONENT_POST_CONFIGURE_ACTION = \
bef78732195b 7076617 flea tries to run /ws/onnv-tools/SUNWspro/sunstudio12.1/bin/cc
Rich Burridge <rich.burridge@oracle.com>
parents: 587
diff changeset
    61
	$(GSED) -i 's%XXX-CUSAGE-XXX%$(shell $(CC) -V 2>&1 | head -1)%' \
1260
edecf9fcf54d 16624941 enable 64-bit for mutt
John Beck <John.Beck@Oracle.COM>
parents: 1174
diff changeset
    62
	$(BUILD_DIR_64)/muttbug.sh 
608
bef78732195b 7076617 flea tries to run /ws/onnv-tools/SUNWspro/sunstudio12.1/bin/cc
Rich Burridge <rich.burridge@oracle.com>
parents: 587
diff changeset
    63
1174
5ac53682aef3 16390278 parfait issues in mutt
John Beck <John.Beck@Oracle.COM>
parents: 1058
diff changeset
    64
ASLR_MODE = $(ASLR_ENABLE)
5ac53682aef3 16390278 parfait issues in mutt
John Beck <John.Beck@Oracle.COM>
parents: 1058
diff changeset
    65
257
31daaf0e6143 7037057 Move mutt to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    66
# common targets
2225
f064d3d3190d 20078677 Userland Makefiles should support a configure: target
John Beck <John.Beck@Oracle.COM>
parents: 1948
diff changeset
    67
configure:	$(CONFIGURE_64)
f064d3d3190d 20078677 Userland Makefiles should support a configure: target
John Beck <John.Beck@Oracle.COM>
parents: 1948
diff changeset
    68
1260
edecf9fcf54d 16624941 enable 64-bit for mutt
John Beck <John.Beck@Oracle.COM>
parents: 1174
diff changeset
    69
build:		$(BUILD_64)
257
31daaf0e6143 7037057 Move mutt to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    70
1260
edecf9fcf54d 16624941 enable 64-bit for mutt
John Beck <John.Beck@Oracle.COM>
parents: 1174
diff changeset
    71
install:	$(INSTALL_64)
257
31daaf0e6143 7037057 Move mutt to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    72
31daaf0e6143 7037057 Move mutt to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    73
test:		$(NO_TESTS)
31daaf0e6143 7037057 Move mutt to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    74
4339
6501cf9c29f9 21116842 add system-test targets to each component Makefile and to top-level Makefiles
Stacy Yeh <stacy.yeh@oracle.com>
parents: 3817
diff changeset
    75
system-test:    $(NO_TESTS)
6501cf9c29f9 21116842 add system-test targets to each component Makefile and to top-level Makefiles
Stacy Yeh <stacy.yeh@oracle.com>
parents: 3817
diff changeset
    76
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
    77
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
    78
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
    79
REQUIRED_PACKAGES += data/docbook/docbook-style-xsl
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
    80
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
    81
REQUIRED_PACKAGES += library/libidn
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
    82
REQUIRED_PACKAGES += library/security/openssl
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
    83
REQUIRED_PACKAGES += library/slang
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
    84
REQUIRED_PACKAGES += runtime/perl-512
4746
8e237ffd0a48 20995635 Perl TK needs to be upgraded to work with Perl 5.20
Bill Rushmore <bill.rushmore@oracle.com>
parents: 4339
diff changeset
    85
REQUIRED_PACKAGES += runtime/perl-520
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
    86
REQUIRED_PACKAGES += shell/ksh93
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
    87
REQUIRED_PACKAGES += system/library
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
    88
REQUIRED_PACKAGES += system/library/math
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
    89
REQUIRED_PACKAGES += system/library/security/libsasl