klausz65
2021-09-08 0bfe75e285262599d90804aa74cb7151d7590fe2
commit | author | age
a3655d 1 #
AP 2 # CDDL HEADER START
3 #
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.
7 #
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.
12 #
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]
18 #
19 # CDDL HEADER END
20 #
21
22 #
23 # Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
24 # Copyright (c) 2013, Alexander Pyhalov. All rights reserved.
25 #
26
27 include ../../../make-rules/shared-macros.mk
28
29 COMPONENT_NAME=     DBI-MySQL
1ff27b 30 COMPONENT_VERSION=    4.0.41
0bfe75 31 COMPONENT_REVISION=    4
a3655d 32 COMPONENT_SUMMARY=     The DBI MySQL Interface for Perl
1ff27b 33 COMPONENT_SRC=        DBD-mysql-4.041
a3655d 34 COMPONENT_ARCHIVE=    $(COMPONENT_SRC).tar.gz
AP 35 COMPONENT_ARCHIVE_HASH= \
1ff27b 36   sha256:4777de11c464b515db9da95c08c225900d0594b65ba3256982dc21f9f9379040
a3655d 37 COMPONENT_ARCHIVE_URL= \
d6258c 38   https://cpan.metacpan.org/authors/id/M/MI/MICHIELB/$(COMPONENT_ARCHIVE)
a3655d 39 COMPONENT_PROJECT_URL = http://search.cpan.org/dist/DBD-mysql/lib/DBD/mysql.pm
AP 40
41 # Don't depend on host default MySQL
1ff27b 42 PATH=$(MYSQL_BINDIR):/usr/sbin:/usr/bin:/usr/perl5/bin
a3655d 43
172259 44 include $(WS_MAKE_RULES)/prep.mk
AP 45 include $(WS_MAKE_RULES)/makemaker.mk
46 include $(WS_MAKE_RULES)/ips.mk
a3655d 47
8970f8 48 LD_OPTIONS += -L$(MYSQL_LIBDIR) -R$(MYSQL_LIBDIR)
AP 49
a3655d 50 # Enable ASLR for this component
AP 51 ASLR_MODE = $(ASLR_ENABLE)
52
1ff27b 53 build:          $(BUILD_32_and_64)
a3655d 54
1ff27b 55 install:        $(INSTALL_32_and_64)
a3655d 56
AP 57 test:           $(NO_TESTS)
58
172259 59 REQUIRED_PACKAGES += database/mariadb-101/library
1ff27b 60 REQUIRED_PACKAGES += library/perl-5/database
AP 61 REQUIRED_PACKAGES += library/zlib
62 REQUIRED_PACKAGES += system/library
392905 63 REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG)
AL 64 # Bogus dependency due to libssp
f5010f 65 REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG)