4874N/A#
4874N/A# CDDL HEADER START
4874N/A#
4874N/A# The contents of this file are subject to the terms of the
4874N/A# Common Development and Distribution License (the "License").
4874N/A# You may not use this file except in compliance with the License.
4874N/A#
4874N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4874N/A# or http://www.opensolaris.org/os/licensing.
4874N/A# See the License for the specific language governing permissions
4874N/A# and limitations under the License.
4874N/A#
4874N/A# When distributing Covered Code, include this CDDL HEADER in each
4874N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4874N/A# If applicable, add the following below this CDDL HEADER, with the
4874N/A# fields enclosed by brackets "[]" replaced with your own identifying
4874N/A# information: Portions Copyright [yyyy] [name of copyright owner]
4874N/A#
4874N/A# CDDL HEADER END
4874N/A#
4874N/A
4874N/A#
5364N/A# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
4874N/A#
6931N/ACOMPILER= gcc
5680N/ABUILD_BITS= 64_and_32
4874N/Ainclude ../../make-rules/shared-macros.mk
4874N/A
4874N/ACOMPONENT_NAME= opensp
4874N/ACOMPONENT_VERSION= 1.5.1
4874N/ACOMPONENT_PROJECT_URL= http://openjade.sourceforge.net/
4874N/ACOMPONENT_SRC= OpenSP-$(COMPONENT_VERSION)
4874N/ACOMPONENT_ARCHIVE_HASH= \
4874N/A sha256:3f0649840dc3d6ec432e3c8d933b178208f3feccb6db111d22c8995ad07c736b
4874N/ACOMPONENT_ARCHIVE_URL= http://prdownloads.sourceforge.net/openjade/$(COMPONENT_ARCHIVE)
4874N/A
4874N/ATPNO= 9621
4874N/A
5680N/Ainclude $(WS_MAKE_RULES)/common.mk
4874N/A
4874N/A# Needed to find the man pages at install time.
4874N/ACOMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
4874N/A
5364N/ACONFIGURE_OPTIONS += --bindir=/usr/bin
4874N/ACONFIGURE_OPTIONS += --disable-http
4874N/ACONFIGURE_OPTIONS += --disable-nls
4874N/ACONFIGURE_OPTIONS += --enable-default-catalog="CATALOG:/etc/sgml/catalog:/usr/share/sgml/CATALOG"
4960N/Aifeq ($(OS_VERSION),5.11)
4960N/AEXTRA_LIBRARIES = -lsocket -lnsl
4960N/Aendif
4960N/ACONFIGURE_OPTIONS += LDFLAGS="$(LDFLAGS) $(EXTRA_LIBRARIES)"
4874N/A
4874N/A# 21786575 for gmake test failures
4874N/ACOMPONENT_TEST_DIR = $(BUILD_DIR)/$(MACH$(BITS))/tests
4874N/ACOMPONENT_TEST_ARGS = -k -i
4874N/ACOMPONENT_TEST_TRANSFORMS += \
4874N/A '-n ' \
4874N/A '-e "/result_count/d" ' \
4874N/A '-e "/TOTAL:/p" ' \
4874N/A '-e "/SKIP:/p" ' \
4874N/A '-e "/PASS:/p" ' \
4874N/A '-e "/FAIL:/p" ' \
4874N/A '-e "/ERROR:/p" '
4874N/A
6931N/AREQUIRED_PACKAGES += system/library/gcc/gcc-c++-runtime
6931N/AREQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime