Author: nbd
Date: 2015-04-23 13:06:15 +0200 (Thu, 23 Apr 2015)
New Revision: 45569

Modified:
   trunk/package/libs/ncurses/Makefile
Log:
Revert "ncurses: cleanup InstallDev"

This reverts r43204. The symlinks are faulty, as they point to a
temporary staging dir

Signed-off-by: Felix Fietkau <[email protected]>

Modified: trunk/package/libs/ncurses/Makefile
===================================================================
--- trunk/package/libs/ncurses/Makefile 2015-04-23 08:27:22 UTC (rev 45568)
+++ trunk/package/libs/ncurses/Makefile 2015-04-23 11:06:15 UTC (rev 45569)
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2006-2014 OpenWrt.org
+# Copyright (C) 2006-2013 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -147,7 +147,7 @@
        $(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
-       $(LN) $(2)/bin/ncursesw5-config $(1)/usr/bin/ncursesw5-config
+       ln -sf $(STAGING_DIR)/host/bin/ncursesw5-config 
$(1)/usr/bin/ncursesw5-config
 endef
 else
 define Build/InstallDev
@@ -161,7 +161,7 @@
        $(CP) $(PKG_INSTALL_DIR)/usr/bin/ncurses5-config $(2)/bin/
        $(SED) 's,^\(prefix\|exec_prefix\)=.*,\1=$(STAGING_DIR)/usr,g' \
                $(2)/bin/ncurses5-config
-       $(LN) $(2)/bin/ncurses5-config $(1)/usr/bin/ncurses5-config
+       ln -sf $(STAGING_DIR)/host/bin/ncurses5-config 
$(1)/usr/bin/ncurses5-config
 endef
 endif
 
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to