1787N/A#
1787N/A# CDDL HEADER START
1787N/A#
1787N/A# The contents of this file are subject to the terms of the
1787N/A# Common Development and Distribution License (the "License").
1787N/A# You may not use this file except in compliance with the License.
1787N/A#
1787N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1787N/A# or http://www.opensolaris.org/os/licensing.
1787N/A# See the License for the specific language governing permissions
1787N/A# and limitations under the License.
1787N/A#
1787N/A# When distributing Covered Code, include this CDDL HEADER in each
1787N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1787N/A# If applicable, add the following below this CDDL HEADER, with the
1787N/A# fields enclosed by brackets "[]" replaced with your own identifying
1787N/A# information: Portions Copyright [yyyy] [name of copyright owner]
1787N/A#
1787N/A# CDDL HEADER END
1787N/A#
1787N/A
1787N/A#
5390N/A# Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.
1787N/A#
5680N/ABUILD_BITS= 64
1787N/Ainclude ../../make-rules/shared-macros.mk
1787N/A
1787N/ACOMPONENT_NAME= pkg-config
5390N/ACOMPONENT_VERSION= 0.29
1787N/ACOMPONENT_PROJECT_URL= http://www.freedesktop.org/wiki/Software/pkg-config
1787N/ACOMPONENT_ARCHIVE_HASH= \
5390N/A sha256:c8507705d2a10c67f385d66ca2aae31e81770cc0734b4191eb8c489e864a006b
1787N/ACOMPONENT_ARCHIVE_URL= http://pkgconfig.freedesktop.org/releases/$(COMPONENT_ARCHIVE)
5390N/ACOMPONENT_SIG_URL= $(COMPONENT_ARCHIVE_URL).asc
1787N/A
5390N/ATPNO= 26453
2899N/A
7422N/ASYSTEM_TEST_TARGET= build $(SYSTEM_TEST_64)
5680N/Ainclude $(WS_MAKE_RULES)/common.mk
1787N/A
1825N/A# otherwise our default PKG_CONFIG_PATH will change to the 64-bit libdir
1825N/ACONFIGURE_LIBDIR.64 = $(CONFIGURE_PREFIX)/lib
1825N/A
7422N/ACOMPONENT_TEST_DIR = $(@D)/check
7422N/ACOMPONENT_TEST_ENV += PATH=$(GNUBIN):$(USRBINDIR)
1787N/A
7422N/ACOMPONENT_SYSTEM_TEST_DIR = $(@D)/check
7422N/ACOMPONENT_SYSTEM_TEST_ENV += PATH=$(GNUBIN):$(USRBINDIR)
7422N/ACOMPONENT_SYSTEM_TEST_TARGETS = TESTS_PKG_CONFIG=/usr/bin/pkg-config check
7422N/A
3716N/ACOMPONENT_TEST_TRANSFORMS += \
7422N/A '-e "/Entering directory/d"' \
7422N/A '-e "/Leaving directory/d"' \
7422N/A '-e "/^make/d"'
3716N/A
5044N/Aifeq ($(OS_VERSION),5.11)
5044N/AOLD_DESKTOP_BUILD= 0.175.2.0.0.21.0
5044N/Aelse
5044N/AOLD_DESKTOP_BUILD= 5.12.0.0.0.25.0
5044N/Aendif
5044N/A
5044N/APKG_MACROS += OLD_DESKTOP_BUILD=$(OLD_DESKTOP_BUILD)
5044N/A
5390N/AREQUIRED_PACKAGES += library/glib2