python/hypothesis: update to 6.121.0
[oi-userland.git] / components / library / apr / Makefile
blobca9c80c1019054c8bcdd34dd3d0dfad1fe8663eb
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 2020, Andreas Wacknitz
23 # Copyright 2023, Niklas Poslovski
26 include ../../../make-rules/shared-macros.mk
28 COMPONENT_NAME= apr
29 COMPONENT_VERSION= 1.7.5
30 COMPONENT_SUMMARY= Apache Portable Runtime (APR) Shared Libraries
31 COMPONENT_PROJECT_URL= https://apr.apache.org/
32 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
33 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
34 COMPONENT_ARCHIVE_HASH= sha256:3375fa365d67bcf945e52b52cba07abea57ef530f40b281ffbe977a9251361db
35 COMPONENT_ARCHIVE_URL= https://archive.apache.org/dist/apr/$(COMPONENT_ARCHIVE)
36 COMPONENT_FMRI= library/apr
37 COMPONENT_CLASSIFICATION=Web Services/Application and Web Servers
38 COMPONENT_LICENSE= Apache v2.0
39 COMPONENT_LICENSE_FILE= LICENSE
41 include $(WS_MAKE_RULES)/common.mk
43 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
45 PATCH_LEVEL = 0
47 CFLAGS += -DSSL_EXPERIMENTAL -DSSL_ENGINE
49 COMPONENT_PRE_CONFIGURE_ACTION += ( $(CLONEY) $(SOURCE_DIR) $(@D) );
50 COMPONENT_PRE_CONFIGURE_ACTION += ( cd $(@D); autoconf )
52 CONFIGURE_SCRIPT = $(@D)/configure
54 CONFIGURE_PREFIX = $(USRDIR)/apr
56 CONFIGURE_OPTIONS += --enable-threads
57 CONFIGURE_OPTIONS += --enable-other-child
58 CONFIGURE_OPTIONS += --enable-nonportable-atomics
59 CONFIGURE_OPTIONS += --enable-shared
60 CONFIGURE_OPTIONS += --disable-static
61 CONFIGURE_OPTIONS += LTFLAGS="--tag=CC --silent"
62 CONFIGURE_OPTIONS += --enable-layout=OpenSolaris-$(MACH64)
63 CONFIGURE_OPTIONS += --bindir=$(CONFIGURE_PREFIX)/bin
65 COMPONENT_POST_INSTALL_ACTION += \
66 cd $(SOURCE_DIR); \
67 $(GSED) 's;OUTPUT_DIRECTORY=.*;OUTPUT_DIRECTORY=$(PROTO_DIR)$(CONFIGURE_PREFIX);' \
68 docs/doxygen.conf | doxygen - ;
70 COMPONENT_TEST_TARGETS = test
71 COMPONENT_TEST_TRANSFORMS += \
72 ' -n ' \
73 ' -e "/OK/p" ' \
74 ' -e "/SUCCESS/p" '
76 # Build dependencies
77 REQUIRED_PACKAGES += developer/documentation-tool/doxygen
79 # Auto-generated dependencies
80 REQUIRED_PACKAGES += shell/bash
81 REQUIRED_PACKAGES += shell/ksh93
82 REQUIRED_PACKAGES += system/library