commit | author | age
|
5f8bc9
|
1 |
# |
CM |
2 |
# CDDL HEADER START |
|
3 |
# |
|
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. |
|
7 |
# |
|
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. |
|
12 |
# |
|
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] |
|
18 |
# |
|
19 |
# CDDL HEADER END |
|
20 |
# |
c0e899
|
21 |
# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved. |
5f8bc9
|
22 |
# |
46cd31
|
23 |
|
MN |
24 |
PREFERRED_BITS=64 |
|
25 |
|
bd1d1c
|
26 |
include ../../../make-rules/shared-macros.mk |
5f8bc9
|
27 |
|
CM |
28 |
COMPONENT_NAME= which |
c0e899
|
29 |
COMPONENT_VERSION= 2.21 |
46cd31
|
30 |
COMPONENT_REVISION= 1 |
c0e899
|
31 |
COMPONENT_PROJECT_URL= https://savannah.gnu.org/projects/which/ |
5f8bc9
|
32 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
CM |
33 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
35e110
|
34 |
COMPONENT_ARCHIVE_HASH= \ |
c0e899
|
35 |
sha256:f4a245b94124b377d8b49646bf421f9155d36aa7614b6ebf83705d3ffc76eaad |
fc87d9
|
36 |
COMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/which/$(COMPONENT_ARCHIVE) |
46cd31
|
37 |
COMPONENT_FMRI= shell/which |
5f8bc9
|
38 |
|
bd1d1c
|
39 |
include $(WS_TOP)/make-rules/prep.mk |
AP |
40 |
include $(WS_TOP)/make-rules/configure.mk |
|
41 |
include $(WS_TOP)/make-rules/ips.mk |
5f8bc9
|
42 |
|
CM |
43 |
CONFIGURE_PREFIX = /usr/gnu |
|
44 |
CONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR) |
|
45 |
CONFIGURE_OPTIONS += --disable-iberty |
|
46 |
CONFIGURE_OPTIONS += --disable-dependency-tracking |
|
47 |
|
46cd31
|
48 |
build: $(BUILD_64) |
5f8bc9
|
49 |
|
46cd31
|
50 |
install: $(INSTALL_64) |
4158c0
|
51 |
|
46cd31
|
52 |
test: $(NO_TESTS) |
5f8bc9
|
53 |
|
46cd31
|
54 |
# Auto-generated dependencies |
3c2798
|
55 |
REQUIRED_PACKAGES += system/library |