[kernel] fix ipset compile error on 2.6.27
[openwrt.git] / package / ncurses / Makefile
index 6da4299..a27334b 100644 (file)
@@ -28,6 +28,8 @@ endef
 define Build/Configure
 endef
 
 define Build/Configure
 endef
 
+TARGET_CFLAGS += $(FPIC)
+
 define Build/Compile
        rm -rf $(PKG_INSTALL_DIR)
        mkdir -p $(PKG_INSTALL_DIR)
 define Build/Compile
        rm -rf $(PKG_INSTALL_DIR)
        mkdir -p $(PKG_INSTALL_DIR)
@@ -155,19 +157,4 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/lib{ncurses,panel,menu,form}.{a,so*} $(1)/usr/lib/
 endef
 
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/lib{ncurses,panel,menu,form}.{a,so*} $(1)/usr/lib/
 endef
 
-define Build/UninstallDev
-       rm -rf \
-               $(1)/usr/include/curses.h \
-               $(1)/usr/include/ncurses.h \
-               $(1)/usr/include/ncurses_dll.h \
-               $(1)/usr/include/menu.h \
-               $(1)/usr/include/panel.h \
-               $(1)/usr/include/term{,cap}.h \
-               $(1)/usr/include/unctrl.h \
-               $(1)/usr/include/form.h \
-               $(1)/usr/include/eti.h \
-               $(1)/usr/lib/libcurses.so \
-               $(1)/usr/lib/lib{ncurses,panel,menu,form}.{a,so*}
-endef
-
 $(eval $(call BuildPackage,libncurses))
 $(eval $(call BuildPackage,libncurses))
This page took 0.028844 seconds and 4 git commands to generate.