4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
21 # Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
26 include ..
/..
/..
/make-rules
/shared-macros.mk
29 COMPONENT_VERSION
= 2.21
31 COMPONENT_PROJECT_URL
= https
://savannah.gnu.org
/projects
/which
/
32 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
33 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
34 COMPONENT_ARCHIVE_HASH
= \
35 sha256
:f4a245b94124b377d8b49646bf421f9155d36aa7614b6ebf83705d3ffc76eaad
36 COMPONENT_ARCHIVE_URL
= http
://ftp.gnu.org
/gnu
/which
/$(COMPONENT_ARCHIVE
)
37 COMPONENT_FMRI
= shell/which
39 include $(WS_TOP
)/make-rules
/prep.mk
40 include $(WS_TOP
)/make-rules
/configure.mk
41 include $(WS_TOP
)/make-rules
/ips.mk
43 CONFIGURE_PREFIX
= /usr
/gnu
44 CONFIGURE_OPTIONS
+= --infodir=$(CONFIGURE_INFODIR
)
45 CONFIGURE_OPTIONS
+= --disable-iberty
46 CONFIGURE_OPTIONS
+= --disable-dependency-tracking
50 install: $(INSTALL_64
)
54 # Auto-generated dependencies
55 REQUIRED_PACKAGES
+= system
/library