3802N/A#
3802N/A# CDDL HEADER START
3802N/A#
3802N/A# The contents of this file are subject to the terms of the
3802N/A# Common Development and Distribution License (the "License").
3802N/A# You may not use this file except in compliance with the License.
3802N/A#
3802N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3802N/A# or http://www.opensolaris.org/os/licensing.
3802N/A# See the License for the specific language governing permissions
3802N/A# and limitations under the License.
3802N/A#
3802N/A# When distributing Covered Code, include this CDDL HEADER in each
3802N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
3802N/A# If applicable, add the following below this CDDL HEADER, with the
3802N/A# fields enclosed by brackets "[]" replaced with your own identifying
3802N/A# information: Portions Copyright [yyyy] [name of copyright owner]
3802N/A#
3802N/A# CDDL HEADER END
3802N/A#
3802N/A# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
3802N/A#
3802N/Ainclude ../../make-rules/shared-macros.mk
3802N/A
3802N/ACOMPONENT_NAME= apr-util
3802N/ACOMPONENT_VERSION= 1.5.4
3802N/ACOMPONENT_PROJECT_URL= http://apr.apache.org/
3802N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
3802N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
3802N/ACOMPONENT_ARCHIVE_HASH= \
3802N/A sha256:976a12a59bc286d634a21d7be0841cc74289ea9077aa1af46be19d1a6e844c19
3802N/ACOMPONENT_ARCHIVE_URL= http://archive.apache.org/dist/apr/$(COMPONENT_ARCHIVE)
3802N/ACOMPONENT_BUGDB= utility/apache
3802N/A
3802N/ATPNO= 20776
3802N/A
3802N/ACONFIGURE_DEFAULT_DIRS=no
3802N/A
3996N/Ainclude $(WS_MAKE_RULES)/prep.mk
3996N/Ainclude $(WS_MAKE_RULES)/configure.mk
3996N/Ainclude $(WS_MAKE_RULES)/ips.mk
3802N/A
3802N/A# Micro version for easy libraries packaging
3802N/AMICRO_VERSION:= $(shell echo $(COMPONENT_VERSION) | awk -F. '{ print $$3 }')
3802N/APKG_MACROS+= MICRO_VERSION=$(MICRO_VERSION)
3802N/A
3802N/APATCH_LEVEL=0
3802N/A
3802N/ACONFIGURE_PREFIX=/usr/apr-util/1.5
3802N/A
3802N/ACONFIGURE_OPTIONS += --with-mysql=/usr/mysql/5.5
3802N/ACONFIGURE_OPTIONS += --with-expat=/usr
3802N/ACONFIGURE_OPTIONS += --with-sqlite3=/usr
3802N/ACONFIGURE_OPTIONS += --with-ldap=ldap_r-2.4
3802N/ACONFIGURE_OPTIONS += --with-ldap-include=/usr/include/openldap
3802N/ACONFIGURE_OPTIONS += --without-odbc
3802N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
3802N/ACONFIGURE_OPTIONS.32 += --enable-layout=Solaris
3802N/ACONFIGURE_OPTIONS.64 += --enable-layout=Solaris-$(MACH64)
3802N/ACONFIGURE_OPTIONS.32 += --with-apr=/usr/apr/1.5/bin/apr-1-config
3802N/ACONFIGURE_OPTIONS.64 += --with-apr=/usr/apr/1.5/bin/$(MACH64)/apr-1-config
3802N/ACONFIGURE_OPTIONS.32 += MYSQL_CONFIG=/usr/mysql/5.5/bin/$(MACH32)/mysql_config
3802N/A
3802N/APATH=$(SPRO_VROOT)/bin:/usr/bin:/usr/gnu/bin
3802N/Aifeq ($(strip $(PARFAIT_BUILD)),yes)
3802N/APATH=$(PARFAIT_TOOLS):$(SPRO_VROOT)/bin:/usr/bin:/usr/gnu/bin
3802N/Aendif
3802N/A
3802N/ACOMPONENT_TEST_TARGETS= test
3802N/A
3802N/A$(INSTALL_64): COMPONENT_POST_INSTALL_ACTION += \
3802N/A cd $(SOURCE_DIR); \
3802N/A sed 's;OUTPUT_DIRECTORY=.*;OUTPUT_DIRECTORY=$(PROTO_DIR)$(CONFIGURE_PREFIX);' \
3802N/A docs/doxygen.conf | doxygen - ;
3802N/A
3802N/A# Some patches need configure script recreation.
3802N/ACOMPONENT_PREP_ACTION += (cd $(@D); autoconf);
3802N/A
3802N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
3802N/A
3802N/Aconfigure: $(CONFIGURE_32_and_64)
3802N/A
3802N/Abuild: $(BUILD_32_and_64)
3802N/A
3802N/Ainstall: $(INSTALL_32_and_64)
3802N/A
3802N/Atest: $(TEST_32_and_64)
3802N/A
3802N/A
4234N/AREQUIRED_PACKAGES += developer/documentation-tool/doxygen
3996N/AREQUIRED_PACKAGES += database/mysql-55/library
3996N/AREQUIRED_PACKAGES += database/sqlite-3
3996N/AREQUIRED_PACKAGES += library/apr-15
3996N/AREQUIRED_PACKAGES += library/expat
3996N/AREQUIRED_PACKAGES += library/openldap
3996N/AREQUIRED_PACKAGES += shell/ksh93
3996N/AREQUIRED_PACKAGES += system/library
3996N/AREQUIRED_PACKAGES += system/library/math