309N/A#
309N/A# CDDL HEADER START
1408N/A#
309N/A# The contents of this file are subject to the terms of the
1408N/A# Common Development and Distribution License (the "License").
309N/A# You may not use this file except in compliance with the License.
309N/A#
919N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
919N/A# or http://www.opensolaris.org/os/licensing.
919N/A# See the License for the specific language governing permissions
919N/A# and limitations under the License.
919N/A#
919N/A# When distributing Covered Code, include this CDDL HEADER in each
919N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
919N/A# If applicable, add the following below this CDDL HEADER, with the
919N/A# fields enclosed by brackets "[]" replaced with your own identifying
919N/A# information: Portions Copyright [yyyy] [name of copyright owner]
919N/A#
919N/A# CDDL HEADER END
919N/A#
919N/A# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
919N/A#
919N/Ainclude ../../make-rules/shared-macros.mk
919N/A
309N/ACOMPONENT_NAME= which
309N/ACOMPONENT_VERSION= 2.16
309N/ACOMPONENT_PROJECT_URL= http://www.xs4all.nl/~carlo17/which/
309N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
493N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
309N/ACOMPONENT_ARCHIVE_HASH= \
309N/A sha256:0ac8502e9985a3ac6b0e2aa4f2a60f91cad0dc0cca6dc9c1c142ebba4b8dd664
1408N/ACOMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/which/$(COMPONENT_ARCHIVE)
309N/ACOMPONENT_BUGDB= utility/gnu-which
911N/A
1408N/ATPNO= 9202
1408N/A
1408N/Ainclude $(WS_MAKE_RULES)/prep.mk
911N/Ainclude $(WS_MAKE_RULES)/configure.mk
309N/Ainclude $(WS_MAKE_RULES)/ips.mk
1366N/A
309N/ACONFIGURE_PREFIX = /usr/gnu
970N/ACONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
970N/ACONFIGURE_OPTIONS += --disable-iberty
970N/ACONFIGURE_OPTIONS += --disable-dependency-tracking
970N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
970N/A
970N/A# common targets
970N/Abuild: $(BUILD_32)
309N/A
309N/Ainstall: $(INSTALL_32)
1366N/A
493N/Atest: $(TEST_32)
309N/A
1124N/A
1124N/AREQUIRED_PACKAGES += system/library
1124N/A