components/lftp/Makefile
author Rich Burridge <rich.burridge@oracle.com>
Mon, 17 Apr 2017 11:12:35 -0700
changeset 7875 fdce0f6fd2bd
parent 7759 ae98f8ab0971
permissions -rw-r--r--
25904287 Adjust lftp to build with the GNU compilers
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
236
b8597a028a7a 7044034 move lftp to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
     1
#
b8597a028a7a 7044034 move lftp to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
     2
# CDDL HEADER START
b8597a028a7a 7044034 move lftp to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
     3
#
b8597a028a7a 7044034 move lftp to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
b8597a028a7a 7044034 move lftp to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
b8597a028a7a 7044034 move lftp to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
b8597a028a7a 7044034 move lftp to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
     7
#
b8597a028a7a 7044034 move lftp to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
b8597a028a7a 7044034 move lftp to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
b8597a028a7a 7044034 move lftp to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
b8597a028a7a 7044034 move lftp to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    11
# and limitations under the License.
b8597a028a7a 7044034 move lftp to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    12
#
b8597a028a7a 7044034 move lftp to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
b8597a028a7a 7044034 move lftp to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
b8597a028a7a 7044034 move lftp to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
b8597a028a7a 7044034 move lftp to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
b8597a028a7a 7044034 move lftp to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
b8597a028a7a 7044034 move lftp to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    18
#
b8597a028a7a 7044034 move lftp to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    19
# CDDL HEADER END
b8597a028a7a 7044034 move lftp to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    20
#
b8597a028a7a 7044034 move lftp to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    21
b8597a028a7a 7044034 move lftp to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    22
#
7687
1093e2a9adbd 25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents: 5955
diff changeset
    23
# Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved.
236
b8597a028a7a 7044034 move lftp to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    24
#
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5094
diff changeset
    25
BUILD_BITS= 64
7875
fdce0f6fd2bd 25904287 Adjust lftp to build with the GNU compilers
Rich Burridge <rich.burridge@oracle.com>
parents: 7759
diff changeset
    26
COMPILER= gcc
236
b8597a028a7a 7044034 move lftp to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    27
include ../../make-rules/shared-macros.mk
b8597a028a7a 7044034 move lftp to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    28
b8597a028a7a 7044034 move lftp to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    29
COMPONENT_NAME=		lftp
7758
0b9379e044de 25666331 Update lftp to version 4.7.1
Rich Burridge <rich.burridge@oracle.com>
parents: 7687
diff changeset
    30
COMPONENT_VERSION=	4.7.6
236
b8597a028a7a 7044034 move lftp to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    31
COMPONENT_PROJECT_URL=	http://lftp.yar.ru/
800
2ad056ed89ec 7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 406
diff changeset
    32
COMPONENT_ARCHIVE_HASH=	\
7759
ae98f8ab0971 25666331 Update lftp to version 4.7.1 (fix 'gmake download')
Rich Burridge <rich.burridge@oracle.com>
parents: 7758
diff changeset
    33
    sha256:2c8773993ec06f59d7a5734090e64ec37f106f98b250b8c476c55cc0b35aa75d
7758
0b9379e044de 25666331 Update lftp to version 4.7.1
Rich Burridge <rich.burridge@oracle.com>
parents: 7687
diff changeset
    34
COMPONENT_ARCHIVE_URL=	$(COMPONENT_PROJECT_URL)ftp/$(COMPONENT_ARCHIVE)
7687
1093e2a9adbd 25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents: 5955
diff changeset
    35
COMPONENT_ANITYA_ID=	1555
236
b8597a028a7a 7044034 move lftp to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    36
7758
0b9379e044de 25666331 Update lftp to version 4.7.1
Rich Burridge <rich.burridge@oracle.com>
parents: 7687
diff changeset
    37
TPNO=			34070
1948
2d1537e7942d 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 1229
diff changeset
    38
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5094
diff changeset
    39
TEST_TARGET= $(NO_TESTS)
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5094
diff changeset
    40
include $(WS_MAKE_RULES)/common.mk
236
b8597a028a7a 7044034 move lftp to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    41
b8597a028a7a 7044034 move lftp to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    42
PATCH_LEVEL =   0
b8597a028a7a 7044034 move lftp to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    43
5937
f38e131c2df4 23210475 gnutls-3 consumers need to include normal 64-bit pkg-config path as well
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 5797
diff changeset
    44
# Look for gnutls-3 pkg-config & libraries before the defaults
f38e131c2df4 23210475 gnutls-3 consumers need to include normal 64-bit pkg-config path as well
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 5797
diff changeset
    45
PKG_CONFIG_PATH.64 := $(PKG_CONFIG_PATH.64)/gnutls-3:$(PKG_CONFIG_PATH.64)
f38e131c2df4 23210475 gnutls-3 consumers need to include normal 64-bit pkg-config path as well
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 5797
diff changeset
    46
LDFLAGS += -L$(USRLIBDIR64)/gnutls-3
f38e131c2df4 23210475 gnutls-3 consumers need to include normal 64-bit pkg-config path as well
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 5797
diff changeset
    47
236
b8597a028a7a 7044034 move lftp to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    48
CONFIGURE_OPTIONS  +=		--localedir=$(CONFIGURE_LOCALEDIR)
b8597a028a7a 7044034 move lftp to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    49
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
    50
REQUIRED_PACKAGES += library/expat
5094
9eb09183a508 22144585 problem in UTILITY/LFTP
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 5010
diff changeset
    51
REQUIRED_PACKAGES += library/gnutls-3
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
    52
REQUIRED_PACKAGES += library/readline
5010
0db6cf3e7136 PSARC 2015/428 Normalization of Solaris man page section numbers
Stacy Yeh <stacy.yeh@oracle.com>
parents: 4746
diff changeset
    53
REQUIRED_PACKAGES += library/zlib
5797
432ac76de3b0 23078956 adjust the remainder of the userland components to use perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents: 5682
diff changeset
    54
REQUIRED_PACKAGES += $(PERL_PKG)
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
    55
REQUIRED_PACKAGES += shell/ksh93
7875
fdce0f6fd2bd 25904287 Adjust lftp to build with the GNU compilers
Rich Burridge <rich.burridge@oracle.com>
parents: 7759
diff changeset
    56
REQUIRED_PACKAGES += system/library/gcc/gcc-c++-runtime
fdce0f6fd2bd 25904287 Adjust lftp to build with the GNU compilers
Rich Burridge <rich.burridge@oracle.com>
parents: 7759
diff changeset
    57
REQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
    58
REQUIRED_PACKAGES += system/library/math