components/clisp/Makefile
changeset 998 3f6ed23e8aae
parent 976 3e60a8a2dff1
child 1058 34d7aaa03423
equal deleted inserted replaced
997:15b3b55c6b28 998:3f6ed23e8aae
    62 CONFIGURE_OPTIONS += --libdir=$(CONFIGURE_LIBDIR.$(BITS))
    62 CONFIGURE_OPTIONS += --libdir=$(CONFIGURE_LIBDIR.$(BITS))
    63 CONFIGURE_OPTIONS += --srcdir=$(SOURCE_DIR)
    63 CONFIGURE_OPTIONS += --srcdir=$(SOURCE_DIR)
    64 CONFIGURE_OPTIONS += --with-libsigsegv-prefix=$(CONFIGURE_PREFIX)
    64 CONFIGURE_OPTIONS += --with-libsigsegv-prefix=$(CONFIGURE_PREFIX)
    65 CONFIGURE_OPTIONS += --with-libreadline-prefix=$(CONFIGURE_PREFIX)
    65 CONFIGURE_OPTIONS += --with-libreadline-prefix=$(CONFIGURE_PREFIX)
    66 
    66 
       
    67 # Prevent clisp.ps and clisp.pdf having different versions for SPARC
       
    68 # and x86 in the clisp package, because of embedded dates.
       
    69 TIME_CONSTANT = 1348000000
       
    70 COMPONENT_BUILD_ENV +=		$(CONSTANT_TIME)
       
    71 
       
    72 # Adjust the "/ID [ ... ]" line in clisp.pdf to set it to a fixed value
       
    73 # to prevent it having different versions for SPARC and x86 in the clisp
       
    74 # package.  This value is normally generated by ghostscript, and is
       
    75 # different on each machine. The fixed value that's been used comes from 
       
    76 # value generated when building clisp on the Userland SPARC build machine.
       
    77 COMPONENT_POST_INSTALL_ACTION = \
       
    78 	(cd $(PROTOUSRSHAREDOCDIR)/clisp/doc ; \
       
    79 	$(GSED) -i 's|^/ID.*|/ID [<DEA6B2ECA0DB714B6BEB6209A211AEF0><DEA6B2ECA0DB714B6BEB6209A211AEF0>]|' clisp.pdf)
       
    80 
    67 # One of the tests now needs the GNU tail command.
    81 # One of the tests now needs the GNU tail command.
    68 COMPONENT_TEST_ENV +=  PATH="$(GNUBIN):$(PATH)"
    82 COMPONENT_TEST_ENV +=  PATH="$(GNUBIN):$(PATH)"
    69 
    83 
    70 # common targets
    84 # common targets
    71 build:		$(BUILD_32)
    85 build:		$(BUILD_32)