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) 2015, Oracle and/or its affiliates. All rights reserved.
26 include ..
/..
/make-rules
/shared-macros.mk
28 COMPONENT_NAME
= opensp
29 COMPONENT_VERSION
= 1.5.1
30 COMPONENT_PROJECT_URL
= http
://openjade.sourceforge.net
/
31 COMPONENT_SRC
= OpenSP-
$(COMPONENT_VERSION
)
32 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
33 COMPONENT_ARCHIVE_HASH
= \
34 sha256
:3f0649840dc3d6ec432e3c8d933b178208f3feccb6db111d22c8995ad07c736b
35 COMPONENT_ARCHIVE_URL
= http
://prdownloads.sourceforge.net
/openjade
/$(COMPONENT_ARCHIVE
)
36 COMPONENT_BUGDB
= utility
/opensp
40 include $(WS_MAKE_RULES
)/prep.mk
41 include $(WS_MAKE_RULES
)/configure.mk
42 include $(WS_MAKE_RULES
)/ips.mk
44 COMPONENT_PREP_ACTION
+= (cd
$(@D
); autoreconf
-fiv
)
46 # Needed to find the man pages at install time.
47 COMPONENT_PRE_CONFIGURE_ACTION
= ($(CLONEY
) $(SOURCE_DIR
) $(@D
))
49 CONFIGURE_OPTIONS
+= --disable-http
50 CONFIGURE_OPTIONS
+= --disable-nls
51 CONFIGURE_OPTIONS
+= --enable-default-catalog
="CATALOG:/etc/sgml/catalog:/usr/share/sgml/CATALOG"
53 # 21786575 for gmake test failures
54 COMPONENT_TEST_DIR
= $(BUILD_DIR
)/$(MACH
$(BITS
))/tests
55 COMPONENT_TEST_ARGS
= -k
-i
56 COMPONENT_TEST_TRANSFORMS
+= \
58 '-e "/result_count/d" ' \
65 # ASLR_MODE = $(ASLR_ENABLE)
67 build
: $(BUILD_32_and_64
)
69 install: $(INSTALL_32_and_64
)
71 test: $(TEST_32_and_64
)
73 system-test
: $(SYSTEM_TESTS_NOT_IMPLEMENTED
)