1308N/A#
1308N/A# CDDL HEADER START
1308N/A#
1308N/A# The contents of this file are subject to the terms of the
1308N/A# Common Development and Distribution License (the "License").
1308N/A# You may not use this file except in compliance with the License.
1308N/A#
1308N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1308N/A# or http://www.opensolaris.org/os/licensing.
1308N/A# See the License for the specific language governing permissions
1308N/A# and limitations under the License.
1308N/A#
1308N/A# When distributing Covered Code, include this CDDL HEADER in each
1308N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1308N/A# If applicable, add the following below this CDDL HEADER, with the
1308N/A# fields enclosed by brackets "[]" replaced with your own identifying
1308N/A# information: Portions Copyright [yyyy] [name of copyright owner]
1308N/A#
1308N/A# CDDL HEADER END
1308N/A#
1308N/A
1308N/A#
5546N/A# Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved.
1308N/A#
5680N/ABUILD_BITS= 64
1308N/Ainclude ../../make-rules/shared-macros.mk
1308N/A
1308N/ACOMPONENT_NAME= findutils
5546N/ACOMPONENT_VERSION= 4.6.0
1308N/ACOMPONENT_ARCHIVE_HASH= \
5546N/A sha256:ded4c9f73731cd48fec3b6bdaccce896473b6d8e337e9612e16cf1431bb1169d
5546N/ACOMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
1308N/ACOMPONENT_BUGDB= utility/gnu-findutils
1308N/A
5546N/ATPNO= 27155
2899N/A
5680N/Ainclude $(WS_MAKE_RULES)/gnu-component.mk
1308N/A
5680N/ACONFIGURE_PREFIX = $(USRGNUDIR)
1326N/A
4060N/A# Fixes coredump in the tests/test-localename test.
4060N/ACONFIGURE_OPTIONS += ac_cv_func_newlocale=no
4060N/A
1326N/A# Disable the leaf optimisation feature, because the st_nlinks directory
1326N/A# field is incorrect on ZFS file systems.
1308N/ACONFIGURE_OPTIONS += --disable-leaf-optimisation
1308N/A
2781N/ACOMPONENT_TEST_ENV += PATH="$(GNUBIN):$(PATH)"
2781N/A
4060N/ACOMPONENT_TEST_TRANSFORMS += \
4060N/A '-e "s|^.*$(CC).*$$|XXX_CC_XXX|g" ' \
4060N/A '-e "s|^.*source=.*libtool=no.*$$|XXX_CC_XXX|g" ' \
4060N/A '-e "s|^.*DEPDIR=.deps.*$$|XXX_CC_XXX|g" ' \
5546N/A '-e "s|^.*(core dumped).*$$|XXX_CC_XXX|g" ' \
4060N/A '-e "/^XXX_CC_XXX$$/d" ' \
4060N/A '-e "s|\(Test Run By\).*|\1|" ' \
4060N/A '-e "s|\(Native configuration is\).*|\1|" '
4060N/A
4060N/A# Needed for "gmake test" to work successfully.
4060N/A# Otherwise we see errors such as:
4060N/A# FAIL: exec-nogaps.old-O3, sh: SHELLOPTS: readonly variable
4060N/Aunexport SHELLOPTS
4060N/A
1308N/A
4354N/A# test dependencies:
4354N/AREQUIRED_PACKAGES += developer/versioning/cvs
4354N/AREQUIRED_PACKAGES += developer/versioning/git
4354N/A
3817N/AREQUIRED_PACKAGES += system/library/math