author | Rich Burridge <rich.burridge@oracle.com> |
Mon, 05 Oct 2015 14:26:30 -0700 | |
changeset 4919 | d8b2584438d0 |
child 4920 | fb5cd3cc0073 |
permissions | -rw-r--r-- |
4919
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
1 |
# |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
3 |
# |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
7 |
# |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
12 |
# |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
18 |
# |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
20 |
# |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
21 |
# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved. |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
22 |
# |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
23 |
include ../../make-rules/shared-macros.mk |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
24 |
|
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
25 |
COMPONENT_NAME= aspell |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
26 |
COMPONENT_VERSION= 0.60.6.1 |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
27 |
COMPONENT_PROJECT_URL= http://aspell.net/ |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
28 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
29 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
30 |
COMPONENT_ARCHIVE_HASH= \ |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
31 |
sha256:f52583a83a63633701c5f71db3dc40aab87b7f76b29723aeb27941eff42df6e1 |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
32 |
COMPONENT_ARCHIVE_URL= ftp://ftp.gnu.org/gnu/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE) |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
33 |
|
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
34 |
COMPONENT_NAME_1= aspell6-en |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
35 |
COMPONENT_VERSION_1= 7.1-0 |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
36 |
COMPONENT_SRC_1= $(COMPONENT_NAME_1)-$(COMPONENT_VERSION_1) |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
37 |
COMPONENT_ARCHIVE_1= $(COMPONENT_SRC_1).tar.bz2 |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
38 |
COMPONENT_ARCHIVE_HASH_1= \ |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
39 |
sha256:ff9df3c2e8c5bb19c6a66078b36a0ef4c4dfb0fcb969e29f7b5345e26d748d0a |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
40 |
COMPONENT_ARCHIVE_URL_1= ftp://ftp.gnu.org/gnu/$(COMPONENT_NAME)/dict/en/$(COMPONENT_ARCHIVE_1) |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
41 |
SOURCE_DIR_1= $(COMPONENT_DIR)/$(COMPONENT_SRC_1) |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
42 |
|
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
43 |
COMPONENT_BUGDB= utility/aspell |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
44 |
|
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
45 |
TPNO= 23575 |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
46 |
|
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
47 |
include $(WS_MAKE_RULES)/prep.mk |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
48 |
include $(WS_MAKE_RULES)/configure.mk |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
49 |
include $(WS_MAKE_RULES)/ips.mk |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
50 |
|
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
51 |
COMPILER = gcc |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
52 |
GCC_ROOT = /usr/gcc/4.8 |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
53 |
|
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
54 |
ASPELL_BIN_DIR.32 = $(PROTOUSRBINDIR) |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
55 |
ASPELL_BIN_DIR.64 = $(PROTOUSRBINDIR64) |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
56 |
ASPELL_BIN_DIR = $(ASPELL_BIN_DIR.$(BITS)) |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
57 |
|
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
58 |
ASPELL_LIB_DIR.32 = $(PROTOUSRLIBDIR) |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
59 |
ASPELL_LIB_DIR.64 = $(PROTOUSRLIBDIR64) |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
60 |
ASPELL_LIB_DIR = $(ASPELL_LIB_DIR.$(BITS)) |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
61 |
|
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
62 |
# Needed to successfully find .../gen/mk-dirs_h.pl |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
63 |
COMPONENT_PRE_CONFIGURE_ACTION += ($(CLONEY) $(SOURCE_DIR) $(@D)); |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
64 |
|
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
65 |
# Needed to configure, build and install the aspell English dictionary. |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
66 |
COMPONENT_POST_INSTALL_ACTION += \ |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
67 |
(cd $(SOURCE_DIR_1) ; \ |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
68 |
PATH="$(ASPELL_BIN_DIR):$(PATH)" \ |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
69 |
./configure --vars \ |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
70 |
ASPELL_FLAGS=--data-dir=$(ASPELL_LIB_DIR)/aspell-0.60 \ |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
71 |
DESTDIR=$(PROTO_DIR)); |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
72 |
COMPONENT_POST_INSTALL_ACTION += \ |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
73 |
(cd $(SOURCE_DIR_1) ; \ |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
74 |
export LD_LIBRARY_PATH=$(ASPELL_LIB_DIR); \ |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
75 |
PATH="$(ASPELL_BIN_DIR):$(PATH)" \ |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
76 |
$(GMAKE) install); |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
77 |
|
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
78 |
CXX += $(CC_BITS) |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
79 |
CC += $(CC_BITS) |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
80 |
|
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
81 |
LD_OPTIONS += -lm |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
82 |
CONFIGURE_ENV += LD_OPTIONS="$(LD_OPTIONS)" |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
83 |
|
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
84 |
CLEAN_PATHS += $(SOURCE_DIR_1) |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
85 |
PKG_PROTO_DIRS += $(SOURCE_DIR_1) |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
86 |
|
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
87 |
ASLR_MODE = $(ASLR_ENABLE) |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
88 |
|
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
89 |
configure: $(CONFIGURE_32_and_64) |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
90 |
|
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
91 |
build: $(BUILD_32_and_64) |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
92 |
|
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
93 |
install: $(INSTALL_32_and_64) |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
94 |
|
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
95 |
test: $(NO_TESTS) |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
96 |
|
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
97 |
REQUIRED_PACKAGES += library/ncurses |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
98 |
REQUIRED_PACKAGES += runtime/perl-512 |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
99 |
REQUIRED_PACKAGES += shell/ksh93 |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
100 |
REQUIRED_PACKAGES += system/library |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
101 |
REQUIRED_PACKAGES += system/library/gcc/gcc-c++-runtime |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
102 |
REQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime |
d8b2584438d0
PSARC 2015/228 GNU aspell
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
103 |
REQUIRED_PACKAGES += system/library/math |