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 2022 Andreas Wacknitz <a.wacknitz@gmx.de>
15 USE_PARALLEL_BUILD
= yes
16 include ..
/..
/..
/make-rules
/shared-macros.mk
19 COMPONENT_MAJOR_VERSION
= 18
20 COMPONENT_VERSION
= $(COMPONENT_MAJOR_VERSION
).20.5
21 COMPONENT_SUMMARY
= Evented I
/O for V8 JavaScript.
22 COMPONENT_PROJECT_URL
= https
://nodejs.org
23 COMPONENT_SRC
= $(COMPONENT_NAME
)-v
$(COMPONENT_VERSION
)
24 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.xz
25 COMPONENT_ARCHIVE_HASH
= sha256
:76037b9bad0ab9396349282dbfcec1b872ff7bd8c8d698853bebd982940858bf
26 COMPONENT_ARCHIVE_URL
= $(COMPONENT_PROJECT_URL
)/dist/v
$(COMPONENT_VERSION
)/$(COMPONENT_ARCHIVE
)
27 COMPONENT_CLASSIFICATION
= Development
/Other Languages
28 COMPONENT_FMRI
= runtime
/nodejs-
$(COMPONENT_MAJOR_VERSION
)
29 COMPONENT_LICENSE
= BSD-like
, MIT
, Apache
30 COMPONENT_LICENSE_FILE
= LICENSE
32 TEST_TARGET
= $(NO_TESTS
)
33 include $(WS_MAKE_RULES
)/common.mk
35 # gcc 14 fails to build this
40 COMPONENT_PRE_CONFIGURE_ACTION
= ( CLONEY_MODE
=hardlink
$(CLONEY
) $(SOURCE_DIR
) $(@D
) )
42 CONFIGURE_SCRIPT
= $(@D
)/configure
44 CONFIGURE_OPTIONS
= --prefix=/usr
/node
/$(COMPONENT_MAJOR_VERSION
)
45 CONFIGURE_OPTIONS
+= --dest-cpu
=x64
46 CONFIGURE_OPTIONS
+= --with-dtrace
48 # Manually added build-dependencies
49 PYTHON_REQUIRED_PACKAGES
+= runtime
/python
51 # Auto-generated dependencies
52 REQUIRED_PACKAGES
+= $(GXX_RUNTIME_PKG
)
53 REQUIRED_PACKAGES
+= SUNWcs
54 REQUIRED_PACKAGES
+= system
/library
55 REQUIRED_PACKAGES
+= system
/library
/math