Obsolete golang-120
[oi-userland.git] / components / developer / cvs / Makefile
blobe76a4b381b54b580864cfbf893638580eef03b49
2 # CDDL HEADER START
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]
19 # CDDL HEADER END
21 # Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
24 # disable CONFIGURE_DEFAULT_DIRS, because cvs does not support --localdir
25 CONFIGURE_DEFAULT_DIRS=no
27 BUILD_STYLE=configure
28 BUILD_BITS=64
29 include ../../../make-rules/shared-macros.mk
31 COMPONENT_NAME= cvs
32 COMPONENT_VERSION= 1.12.13
33 COMPONENT_REVISION= 4
34 COMPONENT_FMRI= developer/versioning/cvs
35 COMPONENT_SUMMARY= The CVS version control system
36 COMPONENT_CLASSIFICATION=Development/Source Code Management
37 COMPONENT_PROJECT_URL= http://www.nongnu.org/cvs/
38 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
39 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
40 COMPONENT_ARCHIVE_HASH= \
41 sha256:78853613b9a6873a30e1cc2417f738c330e75f887afdaf7b3d0800cb19ca515e
42 COMPONENT_ARCHIVE_URL= \
43 http://ftp.gnu.org/non-gnu/cvs/source/feature/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
44 COMPONENT_LICENSE= GPLv2
46 include $(WS_MAKE_RULES)/common.mk
48 CFLAGS += -D__ATTRIBUTE_DISABLED
50 CONFIGURE_OPTIONS += --with-external-zlib
51 CONFIGURE_OPTIONS += --mandir=/usr/share/man
53 # Enable ASLR for this component
54 ASLR_MODE = $(ASLR_ENABLE)
56 # "check" is not working yet. It's asking for a password.
57 COMPONENT_TEST_ENV += PATH=$(GNUBIN):$(PATH)
58 COMPONENT_TEST_TARGETS = localcheck
60 # Auto-generated dependencies
61 REQUIRED_PACKAGES += library/zlib
62 REQUIRED_PACKAGES += shell/ksh93
63 REQUIRED_PACKAGES += system/library