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]
23 # Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
24 # Copyright (c) 2017, Aurelien Larcher
27 include ..
/..
/..
/make-rules
/shared-macros.mk
29 COMPONENT_NAME
= pkg-config
30 COMPONENT_VERSION
= 0.29.2
32 COMPONENT_FMRI
= developer
/build
/pkg-config
33 COMPONENT_SUMMARY
= A tool to query library build-time information
34 COMPONENT_CLASSIFICATION
=Development
/System
35 COMPONENT_PROJECT_URL
= \
36 https
://www.freedesktop.org
/wiki
/Software
/pkg-config
37 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
38 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
39 COMPONENT_ARCHIVE_HASH
= \
40 sha256
:6fc69c01688c9458a57eb9a1664c9aba372ccda420a02bf4429fe610e7e7d591
41 COMPONENT_ARCHIVE_URL
= \
42 https
://pkgconfig.freedesktop.org
/releases
/$(COMPONENT_ARCHIVE
)
43 COMPONENT_LICENSE
= GPL-2.0
-only
44 COMPONENT_LICENSE_FILE
= COPYING
46 USE_DEFAULT_TEST_TRANSFORMS
= yes
48 include $(WS_MAKE_RULES
)/common.mk
52 ASLR_MODE
= $(ASLR_ENABLE
)
54 # have pkg-config strip any of the default linker search directories
55 CONFIGURE_OPTIONS
+= --with-system-library-path
='/lib:/usr/lib:/lib/${MACH64}:/usr/lib/${MACH64}:/lib/64:/usr/lib/64'
56 # We do not want usr/bin/$(GCC_GNU_TRIPLET)-pkg-config link
57 CONFIGURE_OPTIONS
+= --disable-host-tool
59 # Auto-generated dependencies
60 REQUIRED_PACKAGES
+= library
/glib2
61 REQUIRED_PACKAGES
+= system
/library