components/gettext/Makefile
author Shawn Walker-Salas <shawn.walker@oracle.com>
Wed, 30 Mar 2016 13:33:31 -0700
changeset 5682 94c0ca64c022
parent 5260 e336bbbceb4f
child 7687 1093e2a9adbd
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:
166
db8a55996482 6979538 /usr/share/gettext/po/Rules-quot contains garbage
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
     1
#
db8a55996482 6979538 /usr/share/gettext/po/Rules-quot contains garbage
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
db8a55996482 6979538 /usr/share/gettext/po/Rules-quot contains garbage
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
     3
#
db8a55996482 6979538 /usr/share/gettext/po/Rules-quot contains garbage
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
db8a55996482 6979538 /usr/share/gettext/po/Rules-quot contains garbage
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
db8a55996482 6979538 /usr/share/gettext/po/Rules-quot contains garbage
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
db8a55996482 6979538 /usr/share/gettext/po/Rules-quot contains garbage
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
     7
#
db8a55996482 6979538 /usr/share/gettext/po/Rules-quot contains garbage
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
db8a55996482 6979538 /usr/share/gettext/po/Rules-quot contains garbage
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
db8a55996482 6979538 /usr/share/gettext/po/Rules-quot contains garbage
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
db8a55996482 6979538 /usr/share/gettext/po/Rules-quot contains garbage
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
db8a55996482 6979538 /usr/share/gettext/po/Rules-quot contains garbage
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    12
#
db8a55996482 6979538 /usr/share/gettext/po/Rules-quot contains garbage
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
db8a55996482 6979538 /usr/share/gettext/po/Rules-quot contains garbage
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
db8a55996482 6979538 /usr/share/gettext/po/Rules-quot contains garbage
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
db8a55996482 6979538 /usr/share/gettext/po/Rules-quot contains garbage
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
db8a55996482 6979538 /usr/share/gettext/po/Rules-quot contains garbage
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
db8a55996482 6979538 /usr/share/gettext/po/Rules-quot contains garbage
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    18
#
db8a55996482 6979538 /usr/share/gettext/po/Rules-quot contains garbage
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
db8a55996482 6979538 /usr/share/gettext/po/Rules-quot contains garbage
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    20
#
db8a55996482 6979538 /usr/share/gettext/po/Rules-quot contains garbage
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    21
db8a55996482 6979538 /usr/share/gettext/po/Rules-quot contains garbage
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    22
#
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5260
diff changeset
    23
# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
166
db8a55996482 6979538 /usr/share/gettext/po/Rules-quot contains garbage
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: 5260
diff changeset
    25
BUILD_BITS= 64
166
db8a55996482 6979538 /usr/share/gettext/po/Rules-quot contains garbage
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    26
include ../../make-rules/shared-macros.mk
db8a55996482 6979538 /usr/share/gettext/po/Rules-quot contains garbage
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    27
db8a55996482 6979538 /usr/share/gettext/po/Rules-quot contains garbage
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    28
COMPONENT_NAME=		gettext
3728
7b7ba595a151 15556327 SUNBT6830494 Update GNU gettext to version 0.19.3
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 2225
diff changeset
    29
COMPONENT_VERSION=	0.19.3
166
db8a55996482 6979538 /usr/share/gettext/po/Rules-quot contains garbage
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    30
IPS_PKG_NAME=		text/gnu-gettext
3728
7b7ba595a151 15556327 SUNBT6830494 Update GNU gettext to version 0.19.3
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 2225
diff changeset
    31
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.xz
800
2ad056ed89ec 7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 609
diff changeset
    32
COMPONENT_ARCHIVE_HASH=	\
3728
7b7ba595a151 15556327 SUNBT6830494 Update GNU gettext to version 0.19.3
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 2225
diff changeset
    33
    sha256:f6fdb29c9ee8ce85c7e574f60ff64fa91cf0f4f018437dfe800227d15595db46
1058
34d7aaa03423 15886624 Auto-generation of Userland gate list - Phase 3
Rich Burridge <rich.burridge@oracle.com>
parents: 800
diff changeset
    34
COMPONENT_BUGDB=	utility/gnu-gettext
166
db8a55996482 6979538 /usr/share/gettext/po/Rules-quot contains garbage
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    35
3728
7b7ba595a151 15556327 SUNBT6830494 Update GNU gettext to version 0.19.3
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 2225
diff changeset
    36
TPNO=			20141
1948
2d1537e7942d 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 1058
diff changeset
    37
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5260
diff changeset
    38
include $(WS_MAKE_RULES)/gnu-component.mk
166
db8a55996482 6979538 /usr/share/gettext/po/Rules-quot contains garbage
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    39
db8a55996482 6979538 /usr/share/gettext/po/Rules-quot contains garbage
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    40
CONFIGURE_OPTIONS  +=		--disable-java
db8a55996482 6979538 /usr/share/gettext/po/Rules-quot contains garbage
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    41
CONFIGURE_OPTIONS  +=		--disable-libasprintf
db8a55996482 6979538 /usr/share/gettext/po/Rules-quot contains garbage
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    42
CONFIGURE_OPTIONS  +=		--without-emacs
db8a55996482 6979538 /usr/share/gettext/po/Rules-quot contains garbage
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    43
CONFIGURE_OPTIONS  +=		--disable-openmp
db8a55996482 6979538 /usr/share/gettext/po/Rules-quot contains garbage
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    44
CONFIGURE_OPTIONS  +=		--disable-static
db8a55996482 6979538 /usr/share/gettext/po/Rules-quot contains garbage
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    45
CONFIGURE_OPTIONS  +=		--disable-shared
db8a55996482 6979538 /usr/share/gettext/po/Rules-quot contains garbage
Marcel Telka <marcel.telka@oracle.com>
parents:
diff changeset
    46
3728
7b7ba595a151 15556327 SUNBT6830494 Update GNU gettext to version 0.19.3
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 2225
diff changeset
    47
# Fixes coredump in gnulib-test/test-localename test
7b7ba595a151 15556327 SUNBT6830494 Update GNU gettext to version 0.19.3
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 2225
diff changeset
    48
CONFIGURE_OPTIONS  +=		ac_cv_func_newlocale=no
7b7ba595a151 15556327 SUNBT6830494 Update GNU gettext to version 0.19.3
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 2225
diff changeset
    49
7b7ba595a151 15556327 SUNBT6830494 Update GNU gettext to version 0.19.3
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 2225
diff changeset
    50
# Tests should run in a clean environment
7b7ba595a151 15556327 SUNBT6830494 Update GNU gettext to version 0.19.3
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 2225
diff changeset
    51
COMPONENT_TEST_ENV =	-i
7b7ba595a151 15556327 SUNBT6830494 Update GNU gettext to version 0.19.3
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 2225
diff changeset
    52
COMPONENT_TEST_ENV +=	PATH=${PATH}:$(SPRO_VROOT)/bin
2225
f064d3d3190d 20078677 Userland Makefiles should support a configure: target
John Beck <John.Beck@Oracle.COM>
parents: 1948
diff changeset
    53
3730
1a0ba9b9e274 20460355 GNU-GETTEXT should have some master test results to compare against (normalize results)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3728
diff changeset
    54
# Strip compilation lines from test output
1a0ba9b9e274 20460355 GNU-GETTEXT should have some master test results to compare against (normalize results)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3728
diff changeset
    55
COMPONENT_TEST_TRANSFORMS += \
1a0ba9b9e274 20460355 GNU-GETTEXT should have some master test results to compare against (normalize results)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3728
diff changeset
    56
    '-e "s|^.*$(CC).*$$|XXX_CC_XXX|g" ' \
1a0ba9b9e274 20460355 GNU-GETTEXT should have some master test results to compare against (normalize results)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3728
diff changeset
    57
    '-e "s|^.*source=.*libtool=no.*$$|XXX_CC_XXX|g" ' \
1a0ba9b9e274 20460355 GNU-GETTEXT should have some master test results to compare against (normalize results)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3728
diff changeset
    58
    '-e "s|^.*DEPDIR=.deps.*$$|XXX_CC_XXX|g" ' \
1a0ba9b9e274 20460355 GNU-GETTEXT should have some master test results to compare against (normalize results)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3728
diff changeset
    59
    '-e "/^XXX_CC_XXX$$/d" '
1a0ba9b9e274 20460355 GNU-GETTEXT should have some master test results to compare against (normalize results)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3728
diff changeset
    60
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3730
diff changeset
    61
REQUIRED_PACKAGES += developer/icu
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3730
diff changeset
    62
REQUIRED_PACKAGES += developer/vala
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3730
diff changeset
    63
REQUIRED_PACKAGES += library/expat
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3730
diff changeset
    64
REQUIRED_PACKAGES += library/icu
3873
03a07a0b1e90 20603649 gettext version 0.19.3 cause usr/src/cmd/gui-install not to compile
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3817
diff changeset
    65
REQUIRED_PACKAGES += library/libcroco
03a07a0b1e90 20603649 gettext version 0.19.3 cause usr/src/cmd/gui-install not to compile
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3817
diff changeset
    66
REQUIRED_PACKAGES += library/libxml2
03a07a0b1e90 20603649 gettext version 0.19.3 cause usr/src/cmd/gui-install not to compile
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3817
diff changeset
    67
REQUIRED_PACKAGES += library/ncurses
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3730
diff changeset
    68
REQUIRED_PACKAGES += shell/ksh93
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3730
diff changeset
    69
REQUIRED_PACKAGES += source/locale/localedef
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3730
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: 3730
diff changeset
    71
REQUIRED_PACKAGES += system/locale/extra