components/lftp/Makefile
changeset 7875 fdce0f6fd2bd
parent 7759 ae98f8ab0971
equal deleted inserted replaced
7865:22ec3267b2a3 7875:fdce0f6fd2bd
    21 
    21 
    22 #
    22 #
    23 # Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved.
    23 # Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved.
    24 #
    24 #
    25 BUILD_BITS= 64
    25 BUILD_BITS= 64
       
    26 COMPILER= gcc
    26 include ../../make-rules/shared-macros.mk
    27 include ../../make-rules/shared-macros.mk
    27 
    28 
    28 COMPONENT_NAME=		lftp
    29 COMPONENT_NAME=		lftp
    29 COMPONENT_VERSION=	4.7.6
    30 COMPONENT_VERSION=	4.7.6
    30 COMPONENT_PROJECT_URL=	http://lftp.yar.ru/
    31 COMPONENT_PROJECT_URL=	http://lftp.yar.ru/
    44 PKG_CONFIG_PATH.64 := $(PKG_CONFIG_PATH.64)/gnutls-3:$(PKG_CONFIG_PATH.64)
    45 PKG_CONFIG_PATH.64 := $(PKG_CONFIG_PATH.64)/gnutls-3:$(PKG_CONFIG_PATH.64)
    45 LDFLAGS += -L$(USRLIBDIR64)/gnutls-3
    46 LDFLAGS += -L$(USRLIBDIR64)/gnutls-3
    46 
    47 
    47 CONFIGURE_OPTIONS  +=		--localedir=$(CONFIGURE_LOCALEDIR)
    48 CONFIGURE_OPTIONS  +=		--localedir=$(CONFIGURE_LOCALEDIR)
    48 
    49 
    49 # Studio 12.4 compiler doesn't grok GNU's __restrict
       
    50 COMPONENT_BUILD_ARGS +=	CPPFLAGS=-D__restrict=restrict
       
    51 
       
    52 REQUIRED_PACKAGES += library/expat
    50 REQUIRED_PACKAGES += library/expat
    53 REQUIRED_PACKAGES += library/gnutls-3
    51 REQUIRED_PACKAGES += library/gnutls-3
    54 REQUIRED_PACKAGES += library/readline
    52 REQUIRED_PACKAGES += library/readline
    55 REQUIRED_PACKAGES += library/zlib
    53 REQUIRED_PACKAGES += library/zlib
    56 REQUIRED_PACKAGES += $(PERL_PKG)
    54 REQUIRED_PACKAGES += $(PERL_PKG)
    57 REQUIRED_PACKAGES += shell/ksh93
    55 REQUIRED_PACKAGES += shell/ksh93
    58 REQUIRED_PACKAGES += system/library/c++-runtime
    56 REQUIRED_PACKAGES += system/library/gcc/gcc-c++-runtime
       
    57 REQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime
    59 REQUIRED_PACKAGES += system/library/math
    58 REQUIRED_PACKAGES += system/library/math