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