components/erlang/Makefile
changeset 351 4f0c1acc260d
parent 346 d28be18217b8
child 609 775168282b2f
equal deleted inserted replaced
350:4bc2d5b160a9 351:4f0c1acc260d
    73 CONFIGURE_OPTIONS += --enable-dynamic-ssl-lib
    73 CONFIGURE_OPTIONS += --enable-dynamic-ssl-lib
    74 
    74 
    75 CONFIGURE_OPTIONS.64 += LDFLAGS="$(LDFLAGS) -m64"
    75 CONFIGURE_OPTIONS.64 += LDFLAGS="$(LDFLAGS) -m64"
    76 CONFIGURE_OPTIONS.64 += LIBS="-m64"
    76 CONFIGURE_OPTIONS.64 += LIBS="-m64"
    77 
    77 
       
    78 # Use cp(1) instead of cloney because erlang's 'install' target uses 'tar'
       
    79 # to copy files and our tar doesn't handle long links by default.  Between
       
    80 # the use of 'tar' and 'ld', a path adjustment wasn't an option due to the
       
    81 # need for /usr/bin/ld and /usr/gnu/bin/tar.  Perhaps this can be looked
       
    82 # at when we upgrade to a more current version.
    78 COMPONENT_PRE_CONFIGURE_ACTION = \
    83 COMPONENT_PRE_CONFIGURE_ACTION = \
    79 	($(CLONEY) $(SOURCE_DIR) $(@D))
    84 	($(CP) -rp $(SOURCE_DIR)/. $(@D))
    80 CONFIGURE_SCRIPT =	$(@D)/configure
    85 CONFIGURE_SCRIPT =	$(@D)/configure
    81 
    86 
    82 COMPONENT_INSTALL_ARGS += INSTALL_PREFIX=$(PROTO_DIR)
    87 COMPONENT_INSTALL_ARGS += INSTALL_PREFIX=$(PROTO_DIR)
    83 
    88 
    84 # common targets
    89 # common targets