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]
23 # Copyright 2017 Gary Mills
24 # Copyright 2019 Michal Nowak
25 # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
29 BUILD_STYLE
= configure
30 USE_COMMON_TEST_MASTER
= no
31 USE_DEFAULT_TEST_TRANSFORMS
= yes
32 include ..
/..
/..
/make-rules
/shared-macros.mk
35 COMPONENT_VERSION
= 3.0.8
37 COMPONENT_SUMMARY
= GNU guile utility
38 COMPONENT_PROJECT_URL
= https
://www.gnu.org
/software
/guile
/
39 COMPONENT_CLASSIFICATION
= Development
/Other Languages
40 COMPONENT_FMRI
= library
/guile
41 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
42 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.xz
43 COMPONENT_ARCHIVE_HASH
= sha256
:daa7060a56f2804e9b74c8d7e7fe8beed12b43aab2789a38585183fcc17b8a13
44 COMPONENT_ARCHIVE_URL
= https
://ftp.gnu.org
/pub
/gnu
/guile
/$(COMPONENT_ARCHIVE
)
45 COMPONENT_LICENSE
= GPLv3.0
, LGPLv3.0
, GFDLv1.3
46 COMPONENT_LICENSE_FILE
= COPYING
48 CONFIGURE_FIX_LIBTOOL_RPATH
= no
50 include $(WS_MAKE_RULES
)/common.mk
52 CONFIGURE_ENV
+= CPP
="$(GCC_ROOT)/bin/gcc -E"
53 CONFIGURE_ENV
.64 += LT_SYS_LIBRARY_PATH
="/lib/$(MACH64):$(USRLIBDIR.64)"
55 CONFIGURE_OPTIONS
.64 += --libexecdir
=$(USRLIBDIR
.64)
56 CONFIGURE_OPTIONS
.64 += --with-libgmp-prefix
=$(USRLIBDIR
.64)
57 CONFIGURE_OPTIONS
.64 += --with-libunistring-prefix
=$(USRLIBDIR
.64)
58 CONFIGURE_OPTIONS
.64 += --with-libreadline-prefix
=$(USRLIBDIR
.64)
59 CONFIGURE_OPTIONS
+= LIBS
="-lsocket -lnsl"
60 CONFIGURE_OPTIONS
+= --disable-dependency-tracking
61 CONFIGURE_OPTIONS
+= --disable-static
62 CONFIGURE_OPTIONS
+= --disable-error-on-warning
64 ifeq ($(strip $(MACH
)),i386
)
65 CONFIGURE_OPTIONS
+= ac_cv_type_complex_double
=no
68 # bug at: https://bugs.gentoo.org/676468
69 ifeq ($(strip $(MACH
)),sparc
)
70 COMPONENT_POST_UNPACK_ACTION
= \
71 ( cd
$(COMPONENT_SRC
)/prebuilt
/32-bit-big-endian
; \
72 find .
-name \
*.go
-exec
rm {} \
; )
75 # It is imperative the timestamps of .scm and .go files be preserved, and .go
76 # file be newer than its source, or nothing works
77 PKGSEND_PUBLISH_OPTIONS
+= -T \
*.scm
-T \
*.go
78 COMPONENT_POST_INSTALL_ACTION
= (find
$(PROTO_DIR
) -name
*.go
-print0 | xargs
-0 touch
)
81 # The tests need an ISO-8859-1 locale to run in
82 TEST_REQUIRED_PACKAGES
+= locale
/en-extra
84 # Auto-generated dependencies
85 REQUIRED_PACKAGES
+= library
/gc
86 REQUIRED_PACKAGES
+= library
/gmp
87 REQUIRED_PACKAGES
+= library
/libffi
88 REQUIRED_PACKAGES
+= library
/libunistring
89 REQUIRED_PACKAGES
+= library
/readline
90 REQUIRED_PACKAGES
+= shell/ksh93
91 REQUIRED_PACKAGES
+= system
/library
92 REQUIRED_PACKAGES
+= system
/library
/math