author | Rich Burridge <rich.burridge@oracle.com> |
Mon, 17 Sep 2012 13:33:07 -0700 | |
changeset 976 | 3e60a8a2dff1 |
parent 826 | c6aad84d2493 |
child 998 | 3f6ed23e8aae |
permissions | -rw-r--r-- |
328
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
1 |
# |
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
3 |
# |
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
7 |
# |
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
12 |
# |
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
18 |
# |
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
20 |
# |
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
21 |
|
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
22 |
# |
800
2ad056ed89ec
7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
480
diff
changeset
|
23 |
# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved. |
328
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
24 |
# |
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
25 |
|
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
26 |
include ../../make-rules/shared-macros.mk |
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
27 |
|
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
28 |
COMPONENT_NAME= clisp |
976
3e60a8a2dff1
7161369 Update clisp to version 2.49
Rich Burridge <rich.burridge@oracle.com>
parents:
826
diff
changeset
|
29 |
COMPONENT_VERSION= 2.49 |
328
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
30 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
31 |
COMPONENT_PROJECT_URL= http://clisp.cons.org/ |
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
32 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2 |
800
2ad056ed89ec
7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
480
diff
changeset
|
33 |
COMPONENT_ARCHIVE_HASH= \ |
976
3e60a8a2dff1
7161369 Update clisp to version 2.49
Rich Burridge <rich.burridge@oracle.com>
parents:
826
diff
changeset
|
34 |
sha256:8132ff353afaa70e6b19367a25ae3d5a43627279c25647c220641fed00f8e890 |
328
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
35 |
COMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/clisp/release/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE) |
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
36 |
|
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
37 |
include ../../make-rules/prep.mk |
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
38 |
include ../../make-rules/configure.mk |
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
39 |
include ../../make-rules/ips.mk |
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
40 |
|
976
3e60a8a2dff1
7161369 Update clisp to version 2.49
Rich Burridge <rich.burridge@oracle.com>
parents:
826
diff
changeset
|
41 |
# To include correct locale header file in .../modules/regexp/gllib/regex.c |
3e60a8a2dff1
7161369 Update clisp to version 2.49
Rich Burridge <rich.burridge@oracle.com>
parents:
826
diff
changeset
|
42 |
CPPFLAGS += -I/usr/share/gettext/intl |
3e60a8a2dff1
7161369 Update clisp to version 2.49
Rich Burridge <rich.burridge@oracle.com>
parents:
826
diff
changeset
|
43 |
|
328
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
44 |
# Required to configure correctly. |
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
45 |
COMPONENT_PRE_CONFIGURE_ACTION = \ |
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
46 |
($(CLONEY) $(SOURCE_DIR) $(@D)) |
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
47 |
|
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
48 |
COMPILER= gcc |
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
49 |
PATCH_LEVEL= 0 |
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
50 |
|
480
e031a1a0c3a1
7054634 Move clisp to userland (fix CONFIG_SHELL)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
328
diff
changeset
|
51 |
# SHELLOPTS appears to cause clisp's configure script to fail while |
e031a1a0c3a1
7054634 Move clisp to userland (fix CONFIG_SHELL)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
328
diff
changeset
|
52 |
# checking the compiler. |
e031a1a0c3a1
7054634 Move clisp to userland (fix CONFIG_SHELL)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
328
diff
changeset
|
53 |
unexport SHELLOPTS |
328
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
54 |
|
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
55 |
# clisp's configure script is not a GNU auto* tools generated configure script |
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
56 |
# and doesn't take --sbindir, so we need to override the default values. |
826
c6aad84d2493
7166560 nmap fails to build on 15
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
800
diff
changeset
|
57 |
CONFIGURE_OPTIONS = CC="$(CC) -DNO_GENERATIONAL_GC" |
976
3e60a8a2dff1
7161369 Update clisp to version 2.49
Rich Burridge <rich.burridge@oracle.com>
parents:
826
diff
changeset
|
58 |
CONFIGURE_OPTIONS += CPPFLAGS="$(CPPFLAGS)" |
328
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
59 |
CONFIGURE_OPTIONS += --prefix=$(CONFIGURE_PREFIX) |
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
60 |
CONFIGURE_OPTIONS += --mandir=$(CONFIGURE_MANDIR) |
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
61 |
CONFIGURE_OPTIONS += --bindir=$(CONFIGURE_BINDIR.$(BITS)) |
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
62 |
CONFIGURE_OPTIONS += --libdir=$(CONFIGURE_LIBDIR.$(BITS)) |
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
63 |
CONFIGURE_OPTIONS += --srcdir=$(SOURCE_DIR) |
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
64 |
CONFIGURE_OPTIONS += --with-libsigsegv-prefix=$(CONFIGURE_PREFIX) |
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
65 |
CONFIGURE_OPTIONS += --with-libreadline-prefix=$(CONFIGURE_PREFIX) |
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
66 |
|
976
3e60a8a2dff1
7161369 Update clisp to version 2.49
Rich Burridge <rich.burridge@oracle.com>
parents:
826
diff
changeset
|
67 |
# One of the tests now needs the GNU tail command. |
3e60a8a2dff1
7161369 Update clisp to version 2.49
Rich Burridge <rich.burridge@oracle.com>
parents:
826
diff
changeset
|
68 |
COMPONENT_TEST_ENV += PATH="$(GNUBIN):$(PATH)" |
3e60a8a2dff1
7161369 Update clisp to version 2.49
Rich Burridge <rich.burridge@oracle.com>
parents:
826
diff
changeset
|
69 |
|
328
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
70 |
# common targets |
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
71 |
build: $(BUILD_32) |
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
72 |
|
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
73 |
install: $(INSTALL_32) |
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
74 |
|
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
75 |
test: $(TEST_32) |
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
76 |
|
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
77 |
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS) |
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
78 |
|
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
79 |
include ../../make-rules/depend.mk |