components/mutt/Makefile
author Shawn Walker-Salas <shawn.walker@oracle.com>
Wed, 30 Mar 2016 13:33:31 -0700
changeset 5682 94c0ca64c022
parent 5454 1efad1afb469
child 5797 432ac76de3b0
permissions -rw-r--r--
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh 22228656 remove redundant declarations and additions from makefiles 22252545 simplify build rules for components from common upstream 22378457 tclConfig.sh compiler settings are too specific 22727315 httping curses gui missing 22750630 procmail ignores userland cflags and may use private strstr function 22758725 wdiff uses diff from PATH instead of /usr/gnu/bin/diff 22926847 cloog Makefile typo when setting ASLR_MODE 22935090 tk config script has wrong linker flags
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
#
5454
1efad1afb469 PSARC/2015/194 libsasl ON to Userland migration and update
Jan Parcel <jan.parcel@oracle.com>
parents: 5083
diff changeset
    23
# Copyright (c) 2011, 2016, 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
31daaf0e6143 7037057 Move mutt to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    29
COMPONENT_VERSION=	1.5.21
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=	\
2ad056ed89ec 7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 608
diff changeset
    31
    sha256:2141f36e8d0f4f71c9ca6780001e7cc679fe313e643953fc07f001223e67c4a0
257
31daaf0e6143 7037057 Move mutt to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    32
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
    33
COMPONENT_PROJECT_URL=	http://www.mutt.org/
31daaf0e6143 7037057 Move mutt to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    34
1948
2d1537e7942d 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 1260
diff changeset
    35
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
    36
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5454
diff changeset
    37
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
    38
include $(WS_MAKE_RULES)/common.mk
257
31daaf0e6143 7037057 Move mutt to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    39
31daaf0e6143 7037057 Move mutt to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    40
CONFIGURE_OPTIONS  +=		--sysconfdir="$(ETCDIR)/$(COMPONENT_NAME)"
31daaf0e6143 7037057 Move mutt to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    41
CONFIGURE_OPTIONS  +=		--enable-pop
31daaf0e6143 7037057 Move mutt to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    42
CONFIGURE_OPTIONS  +=		--enable-imap
31daaf0e6143 7037057 Move mutt to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    43
CONFIGURE_OPTIONS  +=		--enable-smtp
31daaf0e6143 7037057 Move mutt to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    44
CONFIGURE_OPTIONS  +=		--enable-hcache
31daaf0e6143 7037057 Move mutt to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    45
CONFIGURE_OPTIONS  +=		--with-gdbm
31daaf0e6143 7037057 Move mutt to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    46
CONFIGURE_OPTIONS  +=		--with-regex
31daaf0e6143 7037057 Move mutt to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    47
CONFIGURE_OPTIONS  +=		--with-slang
31daaf0e6143 7037057 Move mutt to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    48
CONFIGURE_OPTIONS  +=		--with-ssl
31daaf0e6143 7037057 Move mutt to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    49
CONFIGURE_OPTIONS  +=		--with-idn
31daaf0e6143 7037057 Move mutt to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    50
CFLAGS +=			-I"$(USRINCDIR)/idn"
31daaf0e6143 7037057 Move mutt to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    51
CONFIGURE_OPTIONS  +=		--with-wc-funcs
31daaf0e6143 7037057 Move mutt to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    52
CONFIGURE_OPTIONS  +=		--with-sasl
31daaf0e6143 7037057 Move mutt to Userland
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    53
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
    54
# 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
    55
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
    56
	$(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
    57
	$(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
    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
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
    65
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
    66
REQUIRED_PACKAGES += library/slang
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
    67
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
    68
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
    69
REQUIRED_PACKAGES += shell/ksh93
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
    70
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
    71
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
    72
REQUIRED_PACKAGES += system/library/security/libsasl2