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.
23 include ..
/..
/..
/make-rules
/shared-macros.mk
26 COMPONENT_VERSION
= 1.8.8
27 COMPONENT_SUMMARY
= GNU guile utility
28 COMPONENT_PROJECT_URL
= http
://www.gnu.org
/software
/guile
/
29 COMPONENT_CLASSIFICATION
= Development
/Other Languages
30 COMPONENT_FMRI
= library
/guile
31 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
32 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
33 COMPONENT_ARCHIVE_HASH
= \
34 sha256
:c3471fed2e72e5b04ad133bbaaf16369e8360283679bcf19800bc1b381024050
35 COMPONENT_ARCHIVE_URL
= http
://ftp.gnu.org
/pub
/gnu
/guile
/$(COMPONENT_ARCHIVE
)
36 COMPONENT_LICENSE
= LGPLv2.1
, FDLv1.2
38 include $(WS_MAKE_RULES
)/prep.mk
39 include $(WS_MAKE_RULES
)/configure.mk
40 include $(WS_MAKE_RULES
)/ips.mk
42 CONFIGURE_ENV
+= CPP
="/usr/bin/gcc -E"
43 CONFIGURE_OPTIONS
+= CPPFLAGS
="-I/usr/include/gmp -D__USE_LEGACY_PROTOTYPES__"
44 CONFIGURE_OPTIONS
+= --disable-static
45 CONFIGURE_OPTIONS
+= --disable-error-on-warning
46 CONFIGURE_OPTIONS
+= ac_cv_type_complex_double
=no
48 build
: $(BUILD_32_and_64
)
50 install: $(INSTALL_32_and_64
)
52 # FAIL: time.test: strptime: GNU %s format: gmtoff on EST+5
55 REQUIRED_PACKAGES
+= library
/gmp
56 REQUIRED_PACKAGES
+= library
/libtool
/libltdl
57 REQUIRED_PACKAGES
+= library
/readline
58 REQUIRED_PACKAGES
+= system
/library
59 REQUIRED_PACKAGES
+= system
/library
/math