Makefile revision 5680
acd6c22c85d97aff372a361dc632e8925e331ef9Ryan Grove#
acd6c22c85d97aff372a361dc632e8925e331ef9Ryan Grove# CDDL HEADER START
acd6c22c85d97aff372a361dc632e8925e331ef9Ryan Grove#
acd6c22c85d97aff372a361dc632e8925e331ef9Ryan Grove# The contents of this file are subject to the terms of the
acd6c22c85d97aff372a361dc632e8925e331ef9Ryan Grove# Common Development and Distribution License (the "License").
acd6c22c85d97aff372a361dc632e8925e331ef9Ryan Grove# You may not use this file except in compliance with the License.
acd6c22c85d97aff372a361dc632e8925e331ef9Ryan Grove#
acd6c22c85d97aff372a361dc632e8925e331ef9Ryan Grove# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
acd6c22c85d97aff372a361dc632e8925e331ef9Ryan Grove# or http://www.opensolaris.org/os/licensing.
c4b1075c8e00edf2fc8a8109920542399cd292d3Ryan Grove# See the License for the specific language governing permissions
e555c9d01738735fa1493766e1c1a478e02abbc5Ryan Grove# and limitations under the License.
acd6c22c85d97aff372a361dc632e8925e331ef9Ryan Grove#
acd6c22c85d97aff372a361dc632e8925e331ef9Ryan Grove# When distributing Covered Code, include this CDDL HEADER in each
acd6c22c85d97aff372a361dc632e8925e331ef9Ryan Grove# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
acd6c22c85d97aff372a361dc632e8925e331ef9Ryan Grove# If applicable, add the following below this CDDL HEADER, with the
acd6c22c85d97aff372a361dc632e8925e331ef9Ryan Grove# fields enclosed by brackets "[]" replaced with your own identifying
acd6c22c85d97aff372a361dc632e8925e331ef9Ryan Grove# information: Portions Copyright [yyyy] [name of copyright owner]
acd6c22c85d97aff372a361dc632e8925e331ef9Ryan Grove#
acd6c22c85d97aff372a361dc632e8925e331ef9Ryan Grove# CDDL HEADER END
197d73da76ee54d60fed6c702e2c2021e5adbc0dRyan Grove#
197d73da76ee54d60fed6c702e2c2021e5adbc0dRyan Grove
197d73da76ee54d60fed6c702e2c2021e5adbc0dRyan Grove#
197d73da76ee54d60fed6c702e2c2021e5adbc0dRyan Grove# Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.
197d73da76ee54d60fed6c702e2c2021e5adbc0dRyan Grove#
197d73da76ee54d60fed6c702e2c2021e5adbc0dRyan GroveBUILD_BITS= 64
197d73da76ee54d60fed6c702e2c2021e5adbc0dRyan Groveinclude ../../make-rules/shared-macros.mk
197d73da76ee54d60fed6c702e2c2021e5adbc0dRyan Grove
fa454af0c525b509b00d4f4935a18492556bdb99Eric FerraiuoloCOMPONENT_NAME= pkg-config
fa454af0c525b509b00d4f4935a18492556bdb99Eric FerraiuoloCOMPONENT_VERSION= 0.29
fa454af0c525b509b00d4f4935a18492556bdb99Eric FerraiuoloCOMPONENT_PROJECT_URL= http://www.freedesktop.org/wiki/Software/pkg-config
fa454af0c525b509b00d4f4935a18492556bdb99Eric FerraiuoloCOMPONENT_ARCHIVE_HASH= \
fa454af0c525b509b00d4f4935a18492556bdb99Eric Ferraiuolo sha256:c8507705d2a10c67f385d66ca2aae31e81770cc0734b4191eb8c489e864a006b
fa454af0c525b509b00d4f4935a18492556bdb99Eric FerraiuoloCOMPONENT_ARCHIVE_URL= http://pkgconfig.freedesktop.org/releases/$(COMPONENT_ARCHIVE)
fa454af0c525b509b00d4f4935a18492556bdb99Eric FerraiuoloCOMPONENT_SIG_URL= $(COMPONENT_ARCHIVE_URL).asc
fa454af0c525b509b00d4f4935a18492556bdb99Eric Ferraiuolo
fa454af0c525b509b00d4f4935a18492556bdb99Eric FerraiuoloTPNO= 26453
fa454af0c525b509b00d4f4935a18492556bdb99Eric Ferraiuolo
fa454af0c525b509b00d4f4935a18492556bdb99Eric Ferraiuoloinclude $(WS_MAKE_RULES)/common.mk
fa454af0c525b509b00d4f4935a18492556bdb99Eric Ferraiuolo
fa454af0c525b509b00d4f4935a18492556bdb99Eric Ferraiuolo# otherwise our default PKG_CONFIG_PATH will change to the 64-bit libdir
fa454af0c525b509b00d4f4935a18492556bdb99Eric FerraiuoloCONFIGURE_LIBDIR.64 = $(CONFIGURE_PREFIX)/lib
fa454af0c525b509b00d4f4935a18492556bdb99Eric Ferraiuolo
fa454af0c525b509b00d4f4935a18492556bdb99Eric FerraiuoloCOMPONENT_TEST_ENV += PATH=$(GNUBIN):$(USRBINDIR)
fa454af0c525b509b00d4f4935a18492556bdb99Eric Ferraiuolo
fa454af0c525b509b00d4f4935a18492556bdb99Eric Ferraiuolo# The additional pkg-config specific set of transforms to be applied to the
fa454af0c525b509b00d4f4935a18492556bdb99Eric Ferraiuolo# test results to try to normalize them.
fa454af0c525b509b00d4f4935a18492556bdb99Eric FerraiuoloCOMPONENT_TEST_TRANSFORMS += \
23c56a064638d10a6057e991c7dc113cc15c379aEric Ferraiuolo '-e "/^+ sed -e /d" '
23c56a064638d10a6057e991c7dc113cc15c379aEric Ferraiuolo
197d73da76ee54d60fed6c702e2c2021e5adbc0dRyan Groveifeq ($(OS_VERSION),5.11)
197d73da76ee54d60fed6c702e2c2021e5adbc0dRyan GroveOLD_DESKTOP_BUILD= 0.175.2.0.0.21.0
197d73da76ee54d60fed6c702e2c2021e5adbc0dRyan Groveelse
197d73da76ee54d60fed6c702e2c2021e5adbc0dRyan GroveOLD_DESKTOP_BUILD= 5.12.0.0.0.25.0
197d73da76ee54d60fed6c702e2c2021e5adbc0dRyan Groveendif
23c56a064638d10a6057e991c7dc113cc15c379aEric Ferraiuolo
23c56a064638d10a6057e991c7dc113cc15c379aEric FerraiuoloPKG_MACROS += OLD_DESKTOP_BUILD=$(OLD_DESKTOP_BUILD)
23c56a064638d10a6057e991c7dc113cc15c379aEric Ferraiuolo
acd6c22c85d97aff372a361dc632e8925e331ef9Ryan GroveREQUIRED_PACKAGES += library/glib2
acd6c22c85d97aff372a361dc632e8925e331ef9Ryan Grove