290N/A#
290N/A# CDDL HEADER START
290N/A#
290N/A# The contents of this file are subject to the terms of the
290N/A# Common Development and Distribution License (the "License").
290N/A# You may not use this file except in compliance with the License.
290N/A#
290N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
290N/A# or http://www.opensolaris.org/os/licensing.
290N/A# See the License for the specific language governing permissions
290N/A# and limitations under the License.
290N/A#
290N/A# When distributing Covered Code, include this CDDL HEADER in each
290N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
290N/A# If applicable, add the following below this CDDL HEADER, with the
290N/A# fields enclosed by brackets "[]" replaced with your own identifying
290N/A# information: Portions Copyright [yyyy] [name of copyright owner]
290N/A#
290N/A# CDDL HEADER END
290N/A#
5680N/A
290N/A#
5680N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
5680N/A#
5680N/ABUILD_BITS= 64_and_32
6602N/ACOMPILER= gcc
290N/Ainclude ../../make-rules/shared-macros.mk
290N/A
290N/ACOMPONENT_NAME= libsndfile
6602N/ACOMPONENT_VERSION= 1.0.27
290N/ACOMPONENT_PROJECT_URL= http://www.mega-nerd.com/libsndfile/
844N/ACOMPONENT_ARCHIVE_HASH= \
6602N/A sha256:a391952f27f4a92ceb2b4c06493ac107896ed6c76be9a613a4731f076d30fac0
290N/ACOMPONENT_ARCHIVE_URL= http://www.mega-nerd.com/libsndfile/files/$(COMPONENT_ARCHIVE)
1258N/ACOMPONENT_BUGDB= library/libsndfile
290N/A
6602N/ATPNO= 30616
2899N/A
5680N/Ainclude $(WS_MAKE_RULES)/common.mk
290N/A
6602N/A# Needed to get tests/header_test.c to compile successfully on SPARC.
6602N/Agcc_XREGS.sparc= -mapp-regs
290N/A
6602N/A# Need to use GNU sed otherwise we get a:
6602N/A# Error : sfversion <version> and PACKAGE_VERSION <version> don't match."
6602N/A# failure from the test_wrapper.sh script.
6602N/ACOMPONENT_TEST_ENV += PATH="$(GNUBIN):$(PATH)"
6602N/A
3725N/ACOMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
3725N/A
3725N/ACOMPONENT_TEST_TRANSFORMS += \
6602N/A '-e "s|\(^SunOS\).*|\1|" ' \
6602N/A '-e "s|^.* CC .*$$|XXX_REMOVE_XXX|g" ' \
6602N/A '-e "s|^.* CXX .*$$|XXX_REMOVE_XXX|g" ' \
6602N/A '-e "s|^.* CCLD .*$$|XXX_REMOVE_XXX|g" ' \
6602N/A '-e "s|^.* CXXLD .*$$|XXX_REMOVE_XXX|g" ' \
6602N/A '-e "s|^.*source=.*libtool=no.*$$|XXX_REMOVE_XXX|g" ' \
6602N/A '-e "s|^.*DEPDIR=.deps.*$$|XXX_REMOVE_XXX|g" ' \
6602N/A '-e "s|^config.status: .*$$|XXX_REMOVE_XXX|g" ' \
6602N/A '-e "s|^.*common.h:.*$$|XXX_REMOVE_XXX|g" ' \
6602N/A '-e "s|^.*test_strncpy_crlf.c:.*$$|XXX_REMOVE_XXX|g" ' \
6602N/A '-e "s|^.*In file included.*$$|XXX_REMOVE_XXX|g" ' \
6602N/A '-e "s|^.*psf_strlcpy_crlf (.*$$|XXX_REMOVE_XXX|g" ' \
6602N/A '-e "s|^.*\^.*$$|XXX_REMOVE_XXX|g" ' \
6602N/A '-e "s|^.*argument:.*$$|XXX_REMOVE_XXX|g" ' \
6602N/A '-e "s|^.*prototype:.*$$|XXX_REMOVE_XXX|g" ' \
6602N/A '-e "s|^.*warning:.*$$|XXX_REMOVE_XXX|g" ' \
6602N/A '-e "s|^make.*: Nothing to be.*$$|XXX_REMOVE_XXX|g" ' \
6602N/A '-e "s|^make.*: Leaving directory.*$$|XXX_REMOVE_XXX|g" ' \
6602N/A '-e "s|^make.*: Entering directory.*$$|XXX_REMOVE_XXX|g" ' \
6602N/A '-e "/^XXX_REMOVE_XXX$$/d" '
3725N/A
3817N/AREQUIRED_PACKAGES += codec/flac
6738N/AREQUIRED_PACKAGES += codec/libogg
6738N/AREQUIRED_PACKAGES += codec/libvorbis
3817N/AREQUIRED_PACKAGES += codec/ogg-vorbis
3817N/AREQUIRED_PACKAGES += database/sqlite-3
3817N/AREQUIRED_PACKAGES += system/library/math