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 (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
27 BUILD_SYSTEM
= configure
28 include ..
/..
/..
/make-rules
/shared-macros.mk
31 COMPONENT_VERSION
= 4.3
33 COMPONENT_PROJECT_URL
= https
://www.gnu.org
/software
/make
/
34 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
35 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
36 COMPONENT_ARCHIVE_HASH
= sha256
:e05fdde47c5f7ca45cb697e973894ff4f5d79e13b750ed57d7b66d8defc78e19
37 COMPONENT_ARCHIVE_URL
= https
://ftp.gnu.org
/gnu
/make
/$(COMPONENT_ARCHIVE
)
39 include $(WS_MAKE_RULES
)/common.mk
41 COMPONENT_PREP_ACTION
= ( cd
$(@D
) && autoreconf
-fi
)
43 COMPONENT_PRE_CONFIGURE_ACTION
= ( $(CLONEY
) $(SOURCE_DIR
) $(@D
) )
45 CONFIGURE_OPTIONS
+= --program-prefix
=g
46 CONFIGURE_OPTIONS
+= --infodir=$(CONFIGURE_INFODIR
)
47 CONFIGURE_OPTIONS
+= --with-guile
49 ASLR_MODE
= $(ASLR_ENABLE
)
51 # force re-runs to be the same
52 COMPONENT_PRE_TEST_ACTION
= ( $(TOUCH
) $(SOURCE_DIR
)/getloadavg.c
)
54 # Strip compilation lines from test output
55 COMPONENT_TEST_TRANSFORMS
+= \
56 '-e "s|^.*$(CC).*$$|XXX_CC_XXX|g" ' \
57 '-e "s|^.*source=.*libtool=no.*$$|XXX_CC_XXX|g" ' \
58 '-e "s|^.*DEPDIR=.deps.*$$|XXX_CC_XXX|g" ' \
59 '-e "s|^1-minute.*$$|XXX_CC_XXX|g" ' \
60 '-e "s|^.*load average.*$$|XXX_CC_XXX|g" ' \
61 '-e "s|^.*Running tests for GNU make.*$$|XXX_CC_XXX|g" ' \
62 '-e "s|^.==========.*$$|XXX_CC_XXX|g" ' \
63 '-e "s|^Clearing work.*$$|XXX_CC_XXX|g" ' \
64 '-e "s|^config.status: .*$$|XXX_CC_XXX|g" ' \
65 '-e "s|^make.*: Leaving directory.*$$|XXX_CC_XXX|g" ' \
66 '-e "s|^make.*: Entering directory.*$$|XXX_CC_XXX|g" ' \
67 '-e "/^XXX_CC_XXX$$/d" '
69 # Auto-generated dependencies
70 REQUIRED_PACKAGES
+= library
/guile
71 REQUIRED_PACKAGES
+= system
/library