components/clisp/Makefile
changeset 976 3e60a8a2dff1
parent 826 c6aad84d2493
child 998 3f6ed23e8aae
equal deleted inserted replaced
975:44e81e837f1f 976:3e60a8a2dff1
    24 #
    24 #
    25 
    25 
    26 include ../../make-rules/shared-macros.mk
    26 include ../../make-rules/shared-macros.mk
    27 
    27 
    28 COMPONENT_NAME=		clisp
    28 COMPONENT_NAME=		clisp
    29 COMPONENT_VERSION=	2.47
    29 COMPONENT_VERSION=	2.49
    30 COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
    30 COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
    31 COMPONENT_PROJECT_URL=	http://clisp.cons.org/
    31 COMPONENT_PROJECT_URL=	http://clisp.cons.org/
    32 COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.bz2
    32 COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.bz2
    33 COMPONENT_ARCHIVE_HASH=	\
    33 COMPONENT_ARCHIVE_HASH=	\
    34     sha256:565256a50caca44a969b7440c986b3203a0b9679babd0f1dbcbc61a4f4622edb
    34     sha256:8132ff353afaa70e6b19367a25ae3d5a43627279c25647c220641fed00f8e890
    35 COMPONENT_ARCHIVE_URL=	http://ftp.gnu.org/gnu/clisp/release/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
    35 COMPONENT_ARCHIVE_URL=	http://ftp.gnu.org/gnu/clisp/release/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
    36 
    36 
    37 include ../../make-rules/prep.mk
    37 include ../../make-rules/prep.mk
    38 include ../../make-rules/configure.mk
    38 include ../../make-rules/configure.mk
    39 include ../../make-rules/ips.mk
    39 include ../../make-rules/ips.mk
       
    40 
       
    41 # To include correct locale header file in .../modules/regexp/gllib/regex.c
       
    42 CPPFLAGS += -I/usr/share/gettext/intl
    40 
    43 
    41 # Required to configure correctly.
    44 # Required to configure correctly.
    42 COMPONENT_PRE_CONFIGURE_ACTION = \
    45 COMPONENT_PRE_CONFIGURE_ACTION = \
    43 	($(CLONEY) $(SOURCE_DIR) $(@D))
    46 	($(CLONEY) $(SOURCE_DIR) $(@D))
    44 
    47 
    50 unexport SHELLOPTS
    53 unexport SHELLOPTS
    51 
    54 
    52 # clisp's configure script is not a GNU auto* tools generated configure script
    55 # clisp's configure script is not a GNU auto* tools generated configure script
    53 # and doesn't take --sbindir, so we need to override the default values.
    56 # and doesn't take --sbindir, so we need to override the default values.
    54 CONFIGURE_OPTIONS = CC="$(CC) -DNO_GENERATIONAL_GC"
    57 CONFIGURE_OPTIONS = CC="$(CC) -DNO_GENERATIONAL_GC"
       
    58 CONFIGURE_OPTIONS += CPPFLAGS="$(CPPFLAGS)"
    55 CONFIGURE_OPTIONS += --prefix=$(CONFIGURE_PREFIX)
    59 CONFIGURE_OPTIONS += --prefix=$(CONFIGURE_PREFIX)
    56 CONFIGURE_OPTIONS += --mandir=$(CONFIGURE_MANDIR)
    60 CONFIGURE_OPTIONS += --mandir=$(CONFIGURE_MANDIR)
    57 CONFIGURE_OPTIONS += --bindir=$(CONFIGURE_BINDIR.$(BITS))
    61 CONFIGURE_OPTIONS += --bindir=$(CONFIGURE_BINDIR.$(BITS))
    58 CONFIGURE_OPTIONS += --libdir=$(CONFIGURE_LIBDIR.$(BITS))
    62 CONFIGURE_OPTIONS += --libdir=$(CONFIGURE_LIBDIR.$(BITS))
    59 CONFIGURE_OPTIONS += --srcdir=$(SOURCE_DIR)
    63 CONFIGURE_OPTIONS += --srcdir=$(SOURCE_DIR)
    60 CONFIGURE_OPTIONS += --with-libsigsegv-prefix=$(CONFIGURE_PREFIX)
    64 CONFIGURE_OPTIONS += --with-libsigsegv-prefix=$(CONFIGURE_PREFIX)
    61 CONFIGURE_OPTIONS += --with-libreadline-prefix=$(CONFIGURE_PREFIX)
    65 CONFIGURE_OPTIONS += --with-libreadline-prefix=$(CONFIGURE_PREFIX)
       
    66 
       
    67 # One of the tests now needs the GNU tail command.
       
    68 COMPONENT_TEST_ENV +=  PATH="$(GNUBIN):$(PATH)"
    62 
    69 
    63 # common targets
    70 # common targets
    64 build:		$(BUILD_32)
    71 build:		$(BUILD_32)
    65 
    72 
    66 install:	$(INSTALL_32)
    73 install:	$(INSTALL_32)