Changeset 23874


Ignore:
Timestamp:
2010-11-04T19:12:56+01:00 (7 years ago)
Author:
mb
Message:

elinks: Fix configure cache var for complex paths

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/net/elinks/Makefile

    r17623 r23874  
    3131endef 
    3232 
     33SHVAR_TRANS:= \ 
     34        $(STAGING_DIR_HOST)/bin/sed -e \ 
     35        'y%*+%pp%;s%[^_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]%_%g' 
     36 
    3337define Build/Configure 
    3438 (cd $(PKG_BUILD_DIR); rm -rf config.cache; \ 
    35                 x=`echo ac_cv_file_./features.conf | tr [:blank:]-/. _` && export $$$${x}=yes && \ 
    36                 x=`echo ac_cv_file_$(PKG_BUILD_DIR)/features.conf | tr [:blank:]-/. _` && export $$$${x}=yes && \ 
     39                x=`echo ac_cv_file_./features.conf | $(SHVAR_TRANS)` && export $$$${x}=yes && \ 
     40                x=`echo ac_cv_file_$(abspath $(PKG_BUILD_DIR)/features.conf) | $(SHVAR_TRANS)` && export $$$${x}=yes && \ 
    3741                $(TARGET_CONFIGURE_OPTS) \ 
    3842                CFLAGS="$(TARGET_CFLAGS)" \ 
Note: See TracChangeset for help on using the changeset viewer.