4066N/A#
4066N/A# CDDL HEADER START
4066N/A#
4066N/A# The contents of this file are subject to the terms of the
4066N/A# Common Development and Distribution License (the "License").
4066N/A# You may not use this file except in compliance with the License.
4066N/A#
4066N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4066N/A# or http://www.opensolaris.org/os/licensing.
4066N/A# See the License for the specific language governing permissions
4066N/A# and limitations under the License.
4066N/A#
4066N/A# When distributing Covered Code, include this CDDL HEADER in each
4066N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4066N/A# If applicable, add the following below this CDDL HEADER, with the
4066N/A# fields enclosed by brackets "[]" replaced with your own identifying
4066N/A# information: Portions Copyright [yyyy] [name of copyright owner]
4066N/A#
4066N/A# CDDL HEADER END
4066N/A#
4066N/A
4066N/A#
5680N/A# Copyright (c) 2010, 2016, Oracle and/or its affiliates. All rights reserved.
4066N/A#
5680N/ABUILD_BITS= 64_and_32
4066N/Ainclude ../../make-rules/shared-macros.mk
4066N/A
4066N/ACOMPONENT_NAME= gnutls
4066N/ACOMPONENT_VERSION= 2.8.6
4066N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
4066N/ACOMPONENT_ARCHIVE_HASH= \
4066N/A sha256:d6f846a7064af3ee2c9aebd65dcee76953b767170cbcd719e990ed6b9688a356
4066N/ACOMPONENT_BUGDB= library/gnutls
4066N/A
4066N/ATPNO= 9291
4066N/A
4066N/ACOMPONENT_BUILD_TARGETS = all info
4066N/A
5715N/A# Tell libtool to pass this flag through using -Wc.
5715N/A# https://www.gnu.org/software/libtool/manual/html_node/Stripped-link-flags.html
5715N/Astudio_NORUNPATH := -Wc,$(studio_NORUNPATH)
5715N/A
5680N/Ainclude $(WS_MAKE_RULES)/gnu-component.mk
4066N/A
5680N/APATH=$(dir $(CC)):$(USRLIBDIR):$(USRBINDIR):$(USRSBINDIR):$(GNUBIN)
4066N/A
5680N/ACONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR)
5680N/ACONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
5680N/ACONFIGURE_OPTIONS += --localstatedir=$(VARDIR)
5715N/ACONFIGURE_OPTIONS += --disable-guile
4066N/ACONFIGURE_OPTIONS += --disable-camellia
4066N/A
4066N/Ainclude ../../make-rules/shared-targets.mk
4066N/A
4066N/ACOMPONENT_TEST_TRANSFORMS += \
4066N/A '-n -e "/: x509self/d" ' \
4066N/A '-e "/: x509signself/d" ' \
4066N/A '-e "/: x509dn/d " ' \
4066N/A '-e "/: openpgpself/d " ' \
4066N/A '-e "/: crq_key_id/d " ' \
4066N/A '-e "/PASS/p" ' \
4066N/A '-e "/FAIL/p" '
4066N/A
4066N/AREQUIRED_PACKAGES += library/libtasn1
4066N/AREQUIRED_PACKAGES += library/security/libgpg-error
4066N/AREQUIRED_PACKAGES += library/zlib
4066N/AREQUIRED_PACKAGES += system/library/security/libgcrypt
4066N/AREQUIRED_PACKAGES += system/library/c++-runtime
4066N/AREQUIRED_PACKAGES += library/ncurses
4066N/AREQUIRED_PACKAGES += library/readline