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, 2017, Oracle and/or its affiliates. All rights reserved.
24 # Copyright (c) 2017, Aurelien Larcher.
25 # Copyright (c) 2020, Michal Nowak
26 # Copyright (c) 2022, Nona Hansel
31 include ..
/..
/..
/make-rules
/shared-macros.mk
34 COMPONENT_VERSION
= 4.9
35 COMPONENT_FMRI
= text
/gnu-sed
36 COMPONENT_SUMMARY
= GNU implementation of sed
, the Unix stream editor
37 COMPONENT_CLASSIFICATION
= Applications
/System Utilities
38 COMPONENT_PROJECT_URL
= https
://www.gnu.org
/software
/sed
/
39 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
40 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.xz
41 COMPONENT_ARCHIVE_HASH
= \
42 sha256
:6e226b732e1cd739464ad6862bd1a1aba42d7982922da7a53519631d24975181
43 COMPONENT_ARCHIVE_URL
= https
://ftp.gnu.org
/pub
/gnu
/sed
/$(COMPONENT_ARCHIVE
)
44 COMPONENT_LICENSE
= GPLv3
, FDLv1.3
46 include $(WS_MAKE_RULES
)/common.mk
50 CONFIGURE_BINDIR
.64= $(GNUBIN
)
52 CONFIGURE_OPTIONS
+= --infodir=$(CONFIGURE_INFODIR
)
54 # Needed for "gmake test" to work successfully.
55 # If SHELLOPTS is exported (as it is by the userland makefiles),
56 # then all shell options get exported to child invocations of bash,
57 # which results in test failures due to nounset and xtrace being
58 # set unexpectedly, and errors such as "$1: unbound variable" and
59 # diffs failing due to script tracing in output files.
62 COMPONENT_TEST_TRANSFORMS
+= \
71 REQUIRED_PACKAGES
+= developer
/debug
/valgrind
72 REQUIRED_PACKAGES
+= developer
/versioning
/cvs
73 REQUIRED_PACKAGES
+= locale
/de
74 REQUIRED_PACKAGES
+= locale
/en
75 REQUIRED_PACKAGES
+= locale
/fr
76 REQUIRED_PACKAGES
+= locale
/fr-extra
77 REQUIRED_PACKAGES
+= locale
/zh_cn-extra
79 # Auto-generated dependencies
80 REQUIRED_PACKAGES
+= system
/library