vim: update to 9.1.0984
[oi-userland.git] / components / library / c-ares / Makefile
blobeed497c380c0dc8436e32c58a9055eed2403ae16
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
23 # Copyright (c) 2020, Oracle and/or its affiliates.
24 # Copyright (c) 2024, Andreas Wacknitz.
27 USE_DEFAULT_TEST_TRANSFORMS= yes
28 include ../../../make-rules/shared-macros.mk
30 COMPONENT_NAME= c-ares
31 COMPONENT_VERSION= 1.34.4
32 COMPONENT_SUMMARY= c-ares - C library for asynchronous DNS requests
33 COMPONENT_DESCRIPTION= c-ares is a C library for asynchronous DNS requests including name resolves
34 COMPONENT_PROJECT_URL= https://c-ares.haxx.se/
35 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
36 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
37 COMPONENT_ARCHIVE_HASH= sha256:fa38dbed659ee4cc5a32df5e27deda575fa6852c79a72ba1af85de35a6ae222f
38 COMPONENT_ARCHIVE_URL= https://github.com/c-ares/c-ares/releases/download/v$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
39 COMPONENT_FMRI= library/libcares
40 COMPONENT_CLASSIFICATION= System/Libraries
41 COMPONENT_LICENSE= MIT
42 COMPONENT_LICENSE_FILE= LICENSE.md
44 include $(WS_MAKE_RULES)/common.mk
46 CFLAGS += $(XPG6MODE)
48 CONFIGURE_OPTIONS += --enable-static=no
49 CONFIGURE_OPTIONS += --disable-dependency-tracking
51 # At the moment we have 10 failing tests (out of 1110 total tests)
53 # Manually added dependencies
54 TEST_REQUIRED_PACKAGES += developer/googletest
56 # Auto-generated dependencies
57 REQUIRED_PACKAGES += system/library