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]
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
29 COMPONENT_VERSION
= 1.7.5
31 COMPONENT_SUMMARY
= Apache Portable Runtime
(APR
) Shared Libraries
32 COMPONENT_PROJECT_URL
= https
://apr.apache.org
/
33 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
34 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
35 COMPONENT_ARCHIVE_HASH
= sha256
:3375fa365d67bcf945e52b52cba07abea57ef530f40b281ffbe977a9251361db
36 COMPONENT_ARCHIVE_URL
= https
://archive.apache.org
/dist/apr
/$(COMPONENT_ARCHIVE
)
37 COMPONENT_FMRI
= library
/apr
38 COMPONENT_CLASSIFICATION
=Web Services
/Application and Web Servers
39 COMPONENT_LICENSE
= Apache v2.0
40 COMPONENT_LICENSE_FILE
= LICENSE
42 include $(WS_MAKE_RULES
)/common.mk
44 ASLR_MODE
= $(ASLR_NOT_APPLICABLE
)
48 CFLAGS
+= -DSSL_EXPERIMENTAL
-DSSL_ENGINE
50 COMPONENT_PRE_CONFIGURE_ACTION
+= ( $(CLONEY
) $(SOURCE_DIR
) $(@D
) );
51 COMPONENT_PRE_CONFIGURE_ACTION
+= ( cd
$(@D
); autoconf
)
53 CONFIGURE_SCRIPT
= $(@D
)/configure
55 CONFIGURE_PREFIX
= $(USRDIR
)/apr
57 CONFIGURE_OPTIONS
+= --enable-threads
58 CONFIGURE_OPTIONS
+= --enable-other-child
59 CONFIGURE_OPTIONS
+= --enable-nonportable-atomics
60 CONFIGURE_OPTIONS
+= --enable-shared
61 CONFIGURE_OPTIONS
+= --disable-static
62 CONFIGURE_OPTIONS
+= LTFLAGS
="--tag=CC --silent"
63 CONFIGURE_OPTIONS
+= --enable-layout
=OpenSolaris-
$(MACH64
)
64 CONFIGURE_OPTIONS
+= --bindir=$(CONFIGURE_PREFIX
)/bin
65 CONFIGURE_OPTIONS
+= --includedir=$(USRINCDIR
)/$(COMPONENT_NAME
)
67 COMPONENT_POST_INSTALL_ACTION
+= \
69 $(GSED
) 's;OUTPUT_DIRECTORY=.*;OUTPUT_DIRECTORY=$(PROTO_DIR)$(CONFIGURE_PREFIX);' \
70 docs
/doxygen.conf | doxygen
- ;
72 COMPONENT_TEST_TARGETS
= test
73 COMPONENT_TEST_TRANSFORMS
+= \
79 REQUIRED_PACKAGES
+= developer
/documentation-tool
/doxygen
81 # Auto-generated dependencies
82 REQUIRED_PACKAGES
+= shell/bash
83 REQUIRED_PACKAGES
+= shell/ksh93
84 REQUIRED_PACKAGES
+= system
/library