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]
23 # Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
24 # Copyright 2014 Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
27 include ..
/..
/..
/make-rules
/shared-macros.mk
30 COMPONENT_VERSION
= 4.3.8
31 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
32 COMPONENT_PROJECT_URL
= http
://lftp.yar.ru
33 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.bz2
34 COMPONENT_ARCHIVE_HASH
= \
35 sha256
:39643be125a05eb1c316ea4f42ba4d73c331695a2e3654f4d34f85d4d63c37ad
36 COMPONENT_ARCHIVE_URL
= http
://lftp.yar.ru
/ftp
/old
/$(COMPONENT_ARCHIVE
)
37 COMPONENT_BUGDB
= utility
/lftp
39 include $(WS_TOP
)/make-rules
/prep.mk
40 include $(WS_TOP
)/make-rules
/configure.mk
41 include $(WS_TOP
)/make-rules
/ips.mk
45 CONFIGURE_OPTIONS
+= --localedir
=$(CONFIGURE_LOCALEDIR
)
46 CONFIGURE_OPTIONS
+= --with-openssl
47 CONFIGURE_OPTIONS
+= CFLAGS
="$(CFLAGS)"
48 CONFIGURE_OPTIONS
+= CXXFLAGS
="$(CXXFLAGS)"
52 ASLR_MODE
= $(ASLR_ENABLE
)
57 install: $(INSTALL_32
)
61 BUILD_PKG_DEPENDENCIES
= $(BUILD_TOOLS
)
63 include $(WS_TOP
)/make-rules
/depend.mk
65 REQUIRED_PACKAGES
+= library
/expat
66 REQUIRED_PACKAGES
+= library
/readline
67 REQUIRED_PACKAGES
+= library
/security
/openssl
68 REQUIRED_PACKAGES
+= runtime
/perl-522
69 REQUIRED_PACKAGES
+= system
/library
70 REQUIRED_PACKAGES
+= system
/library
/g
++-6-runtime
71 REQUIRED_PACKAGES
+= system
/library
/gcc-6-runtime
72 REQUIRED_PACKAGES
+= system
/library
/math