equal
deleted
inserted
replaced
18 # |
18 # |
19 # CDDL HEADER END |
19 # CDDL HEADER END |
20 # |
20 # |
21 |
21 |
22 # |
22 # |
23 # Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. |
23 # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved. |
24 # |
24 # |
25 |
25 |
26 |
26 |
27 |
27 |
28 include ../../make-rules/shared-macros.mk |
28 include ../../make-rules/shared-macros.mk |
29 |
29 |
30 COMPONENT_NAME= openldap |
30 COMPONENT_NAME= openldap |
31 COMPONENT_VERSION= 2.4.25 |
31 COMPONENT_VERSION= 2.4.30 |
32 COMPONENT_PROJECT_URL= http://www.openldap.org/ |
32 COMPONENT_PROJECT_URL= http://www.openldap.org/ |
33 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
33 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
34 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tgz |
34 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tgz |
35 COMPONENT_ARCHIVE_HASH= sha1:56efaf3656cc68d3b5be66422c0c89f0104d7183 |
35 COMPONENT_ARCHIVE_HASH= sha1:7447e89b9a5199f9bb2231bda42c308a1b6513d9 |
36 COMPONENT_ARCHIVE_URL= ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/$(COMPONENT_ARCHIVE) |
36 COMPONENT_ARCHIVE_URL= ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/$(COMPONENT_ARCHIVE) |
37 |
37 |
38 SDFVER= sdf-2.001 |
38 SDFVER= sdf-2.001 |
39 SDFBLIB= $(BUILD_DIR_32)/${SDFVER}/blib |
39 SDFBLIB= $(BUILD_DIR_32)/${SDFVER}/blib |
40 |
40 |
60 # we need to enable large file support and build PIC for our shared libraries |
60 # we need to enable large file support and build PIC for our shared libraries |
61 CFLAGS += $(CPP_LARGEFILES) $(CC_PIC) $(studio_NORUNPATH) |
61 CFLAGS += $(CPP_LARGEFILES) $(CC_PIC) $(studio_NORUNPATH) |
62 |
62 |
63 CONFIGURE_ENV += CFLAGS="$(CFLAGS)" |
63 CONFIGURE_ENV += CFLAGS="$(CFLAGS)" |
64 CONFIGURE_ENV += PKG_CONFIG_PATH="$(PKG_CONFIG_PATH)" |
64 CONFIGURE_ENV += PKG_CONFIG_PATH="$(PKG_CONFIG_PATH)" |
|
65 CONFIGURE_ENV += "ac_cv_lib_net_main=no" |
|
66 CONFIGURE_ENV += "ac_cv_lib_net_socket==no" |
|
67 CONFIGURE_ENV += "ac_cv_lib_inet_socket==no" |
65 |
68 |
66 CONFIGURE_OPTIONS += --sysconfdir=/etc |
69 CONFIGURE_OPTIONS += --sysconfdir=/etc |
67 CONFIGURE_OPTIONS.32 += --libexecdir=/usr/lib |
70 CONFIGURE_OPTIONS.32 += --libexecdir=/usr/lib |
68 CONFIGURE_OPTIONS.64 += --libexecdir=/usr/lib/$(MACH64) |
71 CONFIGURE_OPTIONS.64 += --libexecdir=/usr/lib/$(MACH64) |
69 CONFIGURE_OPTIONS += --localstatedir=/var/openldap |
72 CONFIGURE_OPTIONS += --localstatedir=/var/openldap |