4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
21 # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
22 # Copyright (c) 2023 Klaus Ziegler
26 USE_COMMON_TEST_MASTER
= no
27 include ..
/..
/..
/make-rules
/shared-macros.mk
29 COMPONENT_NAME
= tcltls
30 COMPONENT_MAJOR_VERSION
= 1.6
31 COMPONENT_MINOR_VERSION
= 7
33 COMPONENT_VERSION
= $(COMPONENT_MAJOR_VERSION
).
$(COMPONENT_MINOR_VERSION
)
34 COMPONENT_SUMMARY
= TCL bindings for OpenSSL
35 COMPONENT_PROJECT_URL
= https
://core.tcl-lang.org
/tcltls
36 COMPONENT_SRC_NAME
= tls
37 COMPONENT_SRC
= $(COMPONENT_SRC_NAME
)$(COMPONENT_VERSION
)
38 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
)-src.
tar.gz
39 COMPONENT_ARCHIVE_HASH
= sha256
:5119de3e5470359b97a8a00d861c9c48433571ee0167af0a952de66c99d3a3b8
40 COMPONENT_ARCHIVE_URL
= $(COMPONENT_PROJECT_URL
)/uv
/$(COMPONENT_ARCHIVE
)
41 COMPONENT_CLASSIFICATION
= Development
/Other Languages
42 COMPONENT_FMRI
= runtime
/tcl-8
/tcl-openssl
43 COMPONENT_LICENSE
= BSD-like
45 include $(WS_MAKE_RULES
)/common.mk
47 PKG_MACROS
+= COMPONENT_MAJOR_VERSION
=$(COMPONENT_MAJOR_VERSION
)
49 CONFIGURE_OPTIONS
+= --with-tclinclude
=/usr
/include
50 CONFIGURE_OPTIONS
+= --enable-shared
51 CONFIGURE_OPTIONS
+= --enable-threads
52 CONFIGURE_OPTIONS
+= --with-tcl
="$(COMPONENT_DIR)/../tcl/build/$(MACH$(BITS))"
53 CONFIGURE_OPTIONS
+= --enable-64bit
54 CONFIGURE_OPTIONS
+= LDFLAGS
=-L
$(OPENSSL_PREFIX
)/lib
/$(MACH64
)
55 CONFIGURE_OPTIONS
+= CPPFLAGS
="-I$(OPENSSL_PREFIX)/include -I/usr/include/odbc"
56 ifeq ($(strip $(MACH
)),sparc
)
57 CONFIGURE_OPTIONS
+= --enable-64bit-vis
60 COMPONENT_TEST_TARGETS
= test
61 COMPONENT_TEST_TRANSFORMS
= \
67 # Auto-generated dependencies
68 REQUIRED_PACKAGES
+= library
/security
/openssl
69 REQUIRED_PACKAGES
+= system
/library