rebuild gst-plugins-good1 for libvpx-1.15.0; fix gcc-14 problem
[oi-userland.git] / components / runtime / ccl / Makefile
blobd4d915d6e3a82927826fb75d7fec9604f9faec1f
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL)". You may
4 # only use this file in accordance with the terms of the CDDL.
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
12 # Copyright 2018 Alexander Pyhalov
13 # Copyright 2024 Andreas Wacknitz
16 BUILD_STYLE= justmake
17 CLONEY_ARGS= CLONEY_MODE="copy"
18 include ../../../make-rules/shared-macros.mk
20 COMPONENT_NAME= ccl
21 COMPONENT_VERSION= 1.13
22 COMPONENT_REVISION= 1
23 COMPONENT_SUMMARY= ccl - Clozure Common Lisp
24 COMPONENT_PROJECT_URL= https://ccl.clozure.com/
25 COMPONENT_SRC= ccl
26 COMPONENT_ARCHIVE= $(COMPONENT_NAME)-$(COMPONENT_VERSION)-solarisx86.tar.gz
27 COMPONENT_ARCHIVE_HASH= sha256:be96b859681e5032d0e484b9fb8e0fa63ab36311e5d903eee98bd5a19b508b7a
28 COMPONENT_ARCHIVE_URL= https://github.com/Clozure/ccl/releases/download/v$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
29 COMPONENT_FMRI= runtime/ccl
30 COMPONENT_CLASSIFICATION= Development/Other Languages
31 COMPONENT_LICENSE= Apache-2.0
32 COMPONENT_LICENSE_FILE= LICENSE
34 TEST_TARGET= $(NO_TESTS)
35 include $(WS_MAKE_RULES)/common.mk
37 # Don't remove libraries that seem not to be used.
38 # Removal of libraries (eg. libsocket or libmath) will lead to errors when ffi is being used with ccl.
40 # We will get errors like this in such situations:
41 # Error: Can't resolve foreign symbol "socket"
42 # Error: Can't resolve foreign symbol "log"
44 LD_Z_IGNORE=
46 CCL_DIRECTORY = /usr/lib/ccl
48 INST_FILES = bin compiler doc examples level-0 level-1
49 INST_FILES += lib library objc-bridge solarisx64-headers
50 INST_FILES += sx86-boot64 sx86cl64 sx86cl64.image tools xdump
52 COMPONENT_BUILD_ARGS += -C $(BUILD_DIR_$(BITS))/lisp-kernel/solarisx64
54 # ccl doesn't have a Makefile. Thus, we define our own build action
55 COMPONENT_BUILD_ACTION= \
56 cd $(@D) && \
57 $(ENV) $(COMPONENT_BUILD_ENV) ./sx86cl64 --no-init --batch --quiet --eval "(ccl:rebuild-ccl :full t)" --eval "(quit)"
59 # We also need to provide our own install action
60 COMPONENT_INSTALL_ACTION= \
61 [ -d $(PROTO_DIR)/$(CCL_DIRECTORY) ] || $(MKDIR) $(PROTO_DIR)/$(CCL_DIRECTORY) && \
62 cd $(@D); $(CP) -r $(INST_FILES) $(PROTO_DIR)/$(CCL_DIRECTORY) && \
63 $(RM) -rf $(PROTO_DIR)/usr/lib/ccl/doc/internals/.gitignore $(PROTO_DIR)/usr/lib/ccl/doc/manual/.gitignore
65 # Auto-generated dependencies
66 REQUIRED_PACKAGES += shell/ksh93
67 REQUIRED_PACKAGES += system/library
68 REQUIRED_PACKAGES += system/library/math