169N/A#
169N/A# CDDL HEADER START
169N/A#
169N/A# The contents of this file are subject to the terms of the
169N/A# Common Development and Distribution License (the "License").
169N/A# You may not use this file except in compliance with the License.
169N/A#
169N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
169N/A# or http://www.opensolaris.org/os/licensing.
169N/A# See the License for the specific language governing permissions
169N/A# and limitations under the License.
169N/A#
169N/A# When distributing Covered Code, include this CDDL HEADER in each
169N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
169N/A# If applicable, add the following below this CDDL HEADER, with the
169N/A# fields enclosed by brackets "[]" replaced with your own identifying
169N/A# information: Portions Copyright [yyyy] [name of copyright owner]
169N/A#
169N/A# CDDL HEADER END
169N/A#
5680N/A
169N/A#
5680N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
5680N/A#
5680N/ABUILD_BITS= 64
169N/Ainclude ../../make-rules/shared-macros.mk
169N/A
169N/ACOMPONENT_NAME= cvs
169N/ACOMPONENT_VERSION= 1.12.13
618N/ACOMPONENT_PROJECT_URL= http://www.nongnu.org/cvs/
169N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
844N/ACOMPONENT_ARCHIVE_HASH= \
844N/A sha256:78853613b9a6873a30e1cc2417f738c330e75f887afdaf7b3d0800cb19ca515e
169N/ACOMPONENT_ARCHIVE_URL= http://ftp.gnu.org/non-gnu/cvs/source/feature/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
169N/A
2899N/ATPNO= 6323
2899N/A
5680N/ASYSTEM_TEST_TARGET= $(SYSTEM_TEST_64)
5680N/Ainclude $(WS_MAKE_RULES)/common.mk
169N/A
813N/ACFLAGS += -D__ATTRIBUTE_DISABLED
169N/ACONFIGURE_OPTIONS += --with-external-zlib
1392N/A
7243N/A# Enable adiheap and adistack security extensions
7243N/AADIHEAP_MODE = $(ADIHEAP_ENABLE)
7243N/AADISTACK_MODE = $(ADISTACK_ENABLE)
7243N/A
4768N/A# need gnu grep
4768N/ACOMPONENT_TEST_ENV += PATH=$(GNUBIN):$(PATH)
181N/A# "check" is not working yet. It's asking for a password.
181N/ACOMPONENT_TEST_TARGETS = localcheck
181N/A
4768N/A# mimic localcheck from src/Makefile
4768N/ACOMPONENT_SYSTEM_TEST_DIR = $(SOURCE_DIR)/src
4768N/ACOMPONENT_SYSTEM_TEST_ENV += PATH=$(GNUBIN):$(PATH)
4768N/ACOMPONENT_SYSTEM_TEST_CMD = ./sanity.sh
5680N/ACOMPONENT_SYSTEM_TEST_ARGS = $(USRBINDIR)/cvs
4768N/ACOMPONENT_SYSTEM_TEST_TARGETS =
4768N/A
4768N/A# extract just the final results
4768N/A# delete make lines
4768N/A# delete cp lines
4768N/ACOMPONENT_TEST_TRANSFORMS += \
4768N/A '-e "/^This/,/^make/!d" ' \
4768N/A '-e "/^[mM]ake/d" ' \
4768N/A '-e "/^cp.*/d" '
4650N/A
3817N/AREQUIRED_PACKAGES += library/zlib