author | Mike Sullivan <Mike.Sullivan@Oracle.COM> |
Wed, 23 May 2012 11:03:10 -0700 | |
changeset 826 | c6aad84d2493 |
parent 800 | 2ad056ed89ec |
child 976 | 3e60a8a2dff1 |
child 2398 | 54c1297f2b4b |
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 |
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
29 |
COMPONENT_VERSION= 2.47 |
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= \ |
2ad056ed89ec
7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
480
diff
changeset
|
34 |
sha256:565256a50caca44a969b7440c986b3203a0b9679babd0f1dbcbc61a4f4622edb |
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 |
|
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
41 |
# Required to configure correctly. |
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
42 |
COMPONENT_PRE_CONFIGURE_ACTION = \ |
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
43 |
($(CLONEY) $(SOURCE_DIR) $(@D)) |
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
44 |
|
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
45 |
COMPILER= gcc |
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
46 |
PATCH_LEVEL= 0 |
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
47 |
|
480
e031a1a0c3a1
7054634 Move clisp to userland (fix CONFIG_SHELL)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
328
diff
changeset
|
48 |
# 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
|
49 |
# checking the compiler. |
e031a1a0c3a1
7054634 Move clisp to userland (fix CONFIG_SHELL)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
328
diff
changeset
|
50 |
unexport SHELLOPTS |
328
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
51 |
|
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
52 |
# 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
|
53 |
# 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
|
54 |
CONFIGURE_OPTIONS = CC="$(CC) -DNO_GENERATIONAL_GC" |
328
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
55 |
CONFIGURE_OPTIONS += --prefix=$(CONFIGURE_PREFIX) |
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
56 |
CONFIGURE_OPTIONS += --mandir=$(CONFIGURE_MANDIR) |
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
57 |
CONFIGURE_OPTIONS += --bindir=$(CONFIGURE_BINDIR.$(BITS)) |
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
58 |
CONFIGURE_OPTIONS += --libdir=$(CONFIGURE_LIBDIR.$(BITS)) |
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
59 |
CONFIGURE_OPTIONS += --srcdir=$(SOURCE_DIR) |
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
60 |
CONFIGURE_OPTIONS += --with-libsigsegv-prefix=$(CONFIGURE_PREFIX) |
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
61 |
CONFIGURE_OPTIONS += --with-libreadline-prefix=$(CONFIGURE_PREFIX) |
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
62 |
|
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
63 |
# common targets |
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
64 |
build: $(BUILD_32) |
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
65 |
|
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
66 |
install: $(INSTALL_32) |
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
67 |
|
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
68 |
test: $(TEST_32) |
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
69 |
|
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
70 |
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS) |
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
71 |
|
38a06e74a699
7054634 Move clisp to userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
72 |
include ../../make-rules/depend.mk |