Author: luka Date: 2016-05-11 00:37:00 +0200 (Wed, 11 May 2016) New Revision: 49348
Modified: trunk/package/libs/ncurses/Makefile Log: ncurses: install pkg-config files to fix util-linux build breakage Signed-off-by: Felix Fietkau <[email protected]> Modified: trunk/package/libs/ncurses/Makefile =================================================================== --- trunk/package/libs/ncurses/Makefile 2016-05-10 22:36:59 UTC (rev 49347) +++ trunk/package/libs/ncurses/Makefile 2016-05-10 22:37:00 UTC (rev 49348) @@ -49,6 +49,7 @@ --enable-echo \ --enable-const \ --enable-overwrite \ + --enable-pc-files \ --disable-rpath \ --without-ada \ --without-debug \ @@ -85,6 +86,7 @@ BUILD_CC="$(HOSTCC)" \ HOSTCC="$(HOSTCC)" \ HOSTCCFLAGS="" \ + PKG_CONFIG_LIBDIR=/usr/lib/pkgconfig \ libs define Build/Install/Default @@ -118,13 +120,8 @@ endef define Build/InstallDev - $(INSTALL_DIR) $(1)/usr/include - $(CP) $(PKG_INSTALL_DIR)/usr/include/*.h $(1)/usr/include/ - - $(INSTALL_DIR) $(1)/usr/lib - $(CP) $(PKG_INSTALL_DIR)/usr/lib/lib{ncurses,panel,menu,form}w.{a,so*} $(1)/usr/lib/ - - $(INSTALL_DIR) $(1)/usr/bin $(2)/bin + $(CP) $(PKG_INSTALL_DIR)/* $(1) + $(INSTALL_DIR) $(2)/bin $(CP) $(PKG_INSTALL_DIR)/usr/bin/ncursesw5-config $(2)/bin/ $(SED) 's,^\(prefix\|exec_prefix\)=.*,\1=$(STAGING_DIR)/usr,g' -e 's/$$$$INCS //g' \ $(2)/bin/ncursesw5-config _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
