commit | author | age
|
3cc3ad
|
1 |
# |
PS |
2 |
# CDDL HEADER START |
|
3 |
# |
|
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. |
|
7 |
# |
|
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. |
|
12 |
# |
|
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] |
|
18 |
# |
|
19 |
# CDDL HEADER END |
|
20 |
# |
696288
|
21 |
# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved. |
3cc3ad
|
22 |
# |
PS |
23 |
include ../../make-rules/shared-macros.mk |
|
24 |
|
|
25 |
COMPONENT_NAME= apr-util |
9d09cc
|
26 |
COMPONENT_VERSION= 1.5.2 |
60e6e0
|
27 |
COMPONENT_PROJECT_URL= http://apr.apache.org/ |
3cc3ad
|
28 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
PS |
29 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
35e110
|
30 |
COMPONENT_ARCHIVE_HASH= \ |
9d09cc
|
31 |
sha256:a1ec5025373815795d2fa5bfac40c0984675feffc88e049be9a162c408c2f613 |
3cc3ad
|
32 |
COMPONENT_ARCHIVE_URL= http://archive.apache.org/dist/apr/$(COMPONENT_ARCHIVE) |
3b89c9
|
33 |
COMPONENT_BUGDB= utility/apache |
3cc3ad
|
34 |
|
312c03
|
35 |
CONFIGURE_DEFAULT_DIRS=no |
PS |
36 |
|
3cc3ad
|
37 |
include ../../make-rules/prep.mk |
PS |
38 |
include ../../make-rules/configure.mk |
|
39 |
include ../../make-rules/ips.mk |
|
40 |
|
|
41 |
PATCH_LEVEL=0 |
|
42 |
|
9d09cc
|
43 |
CONFIGURE_PREFIX=/usr/apr-util |
3cc3ad
|
44 |
|
a6be82
|
45 |
CONFIGURE_OPTIONS += --with-mysql=/usr/mariadb/5.5 |
7fd1f9
|
46 |
CONFIGURE_OPTIONS += --with-pgsql=$(PG_HOME) |
3cc3ad
|
47 |
CONFIGURE_OPTIONS += --with-expat=/usr |
PS |
48 |
CONFIGURE_OPTIONS += --with-sqlite3=/usr |
ae209c
|
49 |
CONFIGURE_OPTIONS += --with-ldap=ldap_r-2.4 |
PS |
50 |
CONFIGURE_OPTIONS += --with-ldap-include=/usr/include/openldap |
3cc3ad
|
51 |
CONFIGURE_OPTIONS += --without-odbc |
PS |
52 |
CONFIGURE_OPTIONS.32 += --enable-layout=OpenSolaris |
|
53 |
CONFIGURE_OPTIONS.64 += --enable-layout=OpenSolaris-$(MACH64) |
9d09cc
|
54 |
CONFIGURE_OPTIONS.32 += --with-apr=/usr/apr/bin/apr-1-config |
AP |
55 |
CONFIGURE_OPTIONS.64 += --with-apr=/usr/apr/bin/$(MACH64)/apr-1-config |
a6be82
|
56 |
CONFIGURE_OPTIONS.64 += MYSQL_CONFIG=/usr/mariadb/5.5/bin/$(MACH64)/mysql_config |
7fd1f9
|
57 |
CONFIGURE_OPTIONS.64 += PGSQL_CONFIG=$(PG_CONFIG.64) |
3cc3ad
|
58 |
|
PS |
59 |
PATH=$(SPRO_VROOT)/bin:/usr/bin:/usr/gnu/bin |
|
60 |
|
|
61 |
COMPONENT_TEST_TARGETS= test |
|
62 |
|
|
63 |
# We need this to keep doxygen happy (for include/ and docs/ contents). |
|
64 |
COMPONENT_PRE_CONFIGURE_ACTION += ($(CLONEY) $(SOURCE_DIR) $(@D)); |
|
65 |
|
|
66 |
# Some patches need configure script recreation. |
|
67 |
COMPONENT_PRE_CONFIGURE_ACTION += (cd $(@D); autoconf); |
|
68 |
|
|
69 |
# Documentation is generated in and directly packaged from 32 bit build |
|
70 |
# directory using doxygen. |
|
71 |
PKG_PROTO_DIRS += $(BUILD_DIR)/$(MACH32)/docs/dox/html |
696288
|
72 |
PKG_PROTO_DIRS += $(BUILD_DIR)/$(MACH32)/docs/dox/html/search |
3cec7d
|
73 |
|
3cc3ad
|
74 |
docs: $(BUILD_DIR)/$(MACH32)/.built |
PS |
75 |
cd $(BUILD_DIR)/$(MACH32); doxygen docs/doxygen.conf |
|
76 |
|
|
77 |
build: $(BUILD_32_and_64) docs |
|
78 |
|
|
79 |
install: $(INSTALL_32_and_64) |
|
80 |
|
|
81 |
test: $(TEST_32_and_64) |
|
82 |
|
|
83 |
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS) |
|
84 |
|
|
85 |
include ../../make-rules/depend.mk |