python/hypothesis: update to 6.122.3
[oi-userland.git] / components / text / gawk / Makefile
blobc9276cd4e0810cf1b2b79d5dfd532f9eba2b9a26
2 # CDDL HEADER START
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]
19 # CDDL HEADER END
21 # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
22 # Copyright (c) 2017, Aurelien Larcher
23 # Copyright (c) 2019, Michal Nowak
24 # Copyright (c) 2020, Nona Hansel
27 include ../../../make-rules/shared-macros.mk
29 COMPONENT_NAME= gawk
30 COMPONENT_VERSION= 5.3.1
31 COMPONENT_REVISION= 1
32 COMPONENT_SUMMARY= GNU awk
33 COMPONENT_PROJECT_URL= https://www.gnu.org/software/gawk/
34 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
35 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz
36 COMPONENT_ARCHIVE_HASH= sha256:694db764812a6236423d4ff40ceb7b6c4c441301b72ad502bb5c27e00cd56f78
37 COMPONENT_ARCHIVE_URL= https://ftp.gnu.org/gnu/gawk/$(COMPONENT_ARCHIVE)
38 COMPONENT_FMRI= text/gawk
39 COMPONENT_CLASSIFICATION=Applications/System Utilities
40 COMPONENT_LICENSE= GPLv3, FDLv1.3, LGPLv2.1, BSD
42 include $(WS_MAKE_RULES)/common.mk
44 PATH= $(PATH.gnu)
46 CFLAGS += $(XPG6MODE)
48 CONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR)
49 CONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
50 CONFIGURE_OPTIONS += --with-mpfr=$(LIBDIR.$(BITS))
52 COMPONENT_TEST_ENV += PATH=$(PATH.gnu)
53 COMPONENT_TEST_ENV += LC_ALL=en_US.UTF-8
55 COMPONENT_TEST_TRANSFORMS += \
56 '-e "/\/usr\/gnu\/bin\/make/d" ' \
57 '-e "/\/usr\/gcc/d" ' \
58 '-e "/^make/d" ' \
59 '-e "/^Making/d" ' \
60 '-e "/^--- _/d" ' \
61 '-e "s|\(\*\*\* \\$$(SOURCE_DIR)/test/[^[:space:]]*\).*|\1|g" '
63 PKGHARDLINKS += usr/bin/gawk
65 # Auto-generated dependencies
66 REQUIRED_PACKAGES += $(READLINE_PKG)
67 REQUIRED_PACKAGES += library/gmp
68 REQUIRED_PACKAGES += library/mpfr
69 REQUIRED_PACKAGES += shell/ksh93
70 REQUIRED_PACKAGES += system/library
71 REQUIRED_PACKAGES += system/library/math