Changeset 14934


Ignore:
Timestamp:
2009-03-18T00:36:35+01:00 (7 years ago)
Author:
nbd
Message:

get rid of the ncurses host build - the only reason why it was necessary in the first place was because of misuse of the BUILD_CC variable override.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/ncurses/Makefile

    r14912 r14934  
    1717PKG_MD5SUM:=b6593abe1089d6aab1551c105c9300e3 
    1818 
    19 PKG_BUILD_DEPENDS:=ncurses/host 
    20  
    21 include $(INCLUDE_DIR)/host-build.mk 
    2219include $(INCLUDE_DIR)/package.mk 
    2320 
     
    2724  TITLE:=Terminal handling library 
    2825  URL:=http://www.gnu.org/software/ncurses/ 
    29 endef 
    30  
    31 define Host/Compile 
    32         $(MAKE) -C $(HOST_BUILD_DIR) libs 
    33 endef 
    34  
    35 define Host/Install 
    36         $(MAKE) -C $(HOST_BUILD_DIR) install.progs 
    3726endef 
    3827 
     
    5645 
    5746define Build/Compile 
    58         cp \ 
    59                 $(HOST_BUILD_DIR)/ncurses/make_keys \ 
    60                 $(HOST_BUILD_DIR)/ncurses/make_hash \ 
    61                 $(PKG_BUILD_DIR)/ncurses/ 
    62         touch \ 
    63                 $(PKG_BUILD_DIR)/ncurses/make_keys \ 
    64                 $(PKG_BUILD_DIR)/ncurses/make_hash 
    6547        $(MAKE) -C $(PKG_BUILD_DIR) \ 
    6648                $(TARGET_CONFIGURE_OPTS) \ 
    67                 BUILD_CC="$(TARGET_CC)" \ 
     49                BUILD_CC="$(HOSTCC)" \ 
    6850                HOSTCC="$(HOSTCC)" \ 
    6951                HOSTCCFLAGS="" \ 
     
    10587endef 
    10688 
    107 $(eval $(call HostBuild)) 
    10889$(eval $(call BuildPackage,libncurses)) 
Note: See TracChangeset for help on using the changeset viewer.