2431N/A#
2431N/A# CDDL HEADER START
2431N/A#
2431N/A# The contents of this file are subject to the terms of the
2431N/A# Common Development and Distribution License (the "License").
2431N/A# You may not use this file except in compliance with the License.
2431N/A#
2431N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2431N/A# or http://www.opensolaris.org/os/licensing.
2431N/A# See the License for the specific language governing permissions
2431N/A# and limitations under the License.
2431N/A#
2431N/A# When distributing Covered Code, include this CDDL HEADER in each
2431N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2431N/A# If applicable, add the following below this CDDL HEADER, with the
2431N/A# fields enclosed by brackets "[]" replaced with your own identifying
2431N/A# information: Portions Copyright [yyyy] [name of copyright owner]
2431N/A#
2431N/A# CDDL HEADER END
2431N/A#
3996N/A# Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
2431N/A#
2431N/Ainclude ../../../make-rules/shared-macros.mk
2431N/A
2431N/ACOMPONENT_NAME= Tk
2431N/A# pkg does not like leading zeros, removed zero after dot.
2431N/ACOMPONENT_VERSION= 804.31
2431N/AHUMAN_VERSION= 804.031
2431N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(HUMAN_VERSION)
2431N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
2431N/ACOMPONENT_PROJECT_URL= http://search.cpan.org/~srezic/Tk
2431N/ACOMPONENT_ARCHIVE_HASH= \
2431N/A sha256:ce8d857a82a77f6bad3f94c1a8c3e3f32d5489bfb41619c3b8cae00103428054
2431N/ACOMPONENT_ARCHIVE_URL= http://search.cpan.org/CPAN/authors/id/S/SR/SREZIC/$(COMPONENT_ARCHIVE)
2431N/ACOMPONENT_BUGDB= perl-mod/tk
2431N/A
3661N/ATPNO= 13259
3661N/A
2446N/A# Only build for the default version, since 5.8.4 is almost dead
2446N/APERL_VERSIONS = $(PERL_VERSION)
2446N/A
3996N/Ainclude $(WS_MAKE_RULES)/prep.mk
3996N/Ainclude $(WS_MAKE_RULES)/ips.mk
3996N/Ainclude $(WS_MAKE_RULES)/makemaker.mk
2431N/A
2431N/A# override LIBS so that the Tk.so RunPATH doesn't get set.
2431N/ACONFIGURE_OPTIONS += LIBS="-lXft -lX11 -lfontconfig -lm -lc"
2431N/A
2431N/A# Disbale ASLR for this module.
2431N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
2431N/A
2431N/ACOMPONENT_TEST_TARGETS = test
2431N/A
2431N/Abuild: $(BUILD_32)
2431N/A
2431N/Ainstall: $(INSTALL_32)
2431N/A
2431N/Atest: $(TEST_32)
2431N/A
2431N/A
3996N/AREQUIRED_PACKAGES += runtime/perl-512
3996N/AREQUIRED_PACKAGES += runtime/perl-584
3996N/AREQUIRED_PACKAGES += runtime/tk-8
3996N/AREQUIRED_PACKAGES += system/library
3996N/AREQUIRED_PACKAGES += system/library/fontconfig
3996N/AREQUIRED_PACKAGES += system/library/math
3996N/AREQUIRED_PACKAGES += x11/library/libx11
3996N/AREQUIRED_PACKAGES += x11/library/libxft