Author: nico Date: 2015-04-01 17:11:32 +0200 (Wed, 01 Apr 2015) New Revision: 45223
Added: trunk/package/libs/libreadline/patches/ trunk/package/libs/libreadline/patches/001-install_perm.patch Modified: trunk/package/libs/libreadline/Makefile Log: libreadline: cleanup Makefile, fix shlib perms Signed-off-by: Nicolas Thill <[email protected]> Modified: trunk/package/libs/libreadline/Makefile =================================================================== --- trunk/package/libs/libreadline/Makefile 2015-04-01 13:56:03 UTC (rev 45222) +++ trunk/package/libs/libreadline/Makefile 2015-04-01 15:11:32 UTC (rev 45223) @@ -19,6 +19,8 @@ PKG_LICENSE_FILES:=COPYING PKG_BUILD_PARALLEL:=1 +PKG_FIXUP:=autoreconf +PKG_INSTALL:=1 include $(INCLUDE_DIR)/package.mk @@ -38,27 +40,22 @@ history expansion on previous commands. endef -define Build/Configure - $(CP) $(SCRIPT_DIR)/config.guess $(SCRIPT_DIR)/config.sub $(PKG_BUILD_DIR)/support/ - $(call Build/Configure/Default, \ - --enable-shared \ - --enable-static \ - --without-curses \ - bash_cv_wcwidth_broken=no \ - bash_cv_func_sigsetjmp=yes \ - ) -endef +# prevent "autoreconf" from removing "aclocal.m4" +PKG_REMOVE_FILES:= +CONFIGURE_ARGS += \ + --enable-shared \ + --enable-static \ + --with-curses \ + +CONFIGURE_VARS += \ + bash_cv_wcwidth_broken=no \ + bash_cv_func_sigsetjmp=yes \ + TARGET_CPPFLAGS:=-I. -I.. $(TARGET_CPPFLAGS) TARGET_CFLAGS += $(FPIC) -define Build/Compile - $(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \ - DESTDIR="$(PKG_INSTALL_DIR)" \ - all install -endef - define Build/InstallDev $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/readline $(1)/usr/include/ Added: trunk/package/libs/libreadline/patches/001-install_perm.patch =================================================================== --- trunk/package/libs/libreadline/patches/001-install_perm.patch (rev 0) +++ trunk/package/libs/libreadline/patches/001-install_perm.patch 2015-04-01 15:11:32 UTC (rev 45223) @@ -0,0 +1,11 @@ +--- a/support/shlib-install ++++ b/support/shlib-install +@@ -73,7 +73,7 @@ fi + case "$host_os" in + hpux*|darwin*|macosx*|linux*|solaris2*) + if [ -z "$uninstall" ]; then +- chmod 555 ${INSTALLDIR}/${LIBNAME} ++ chmod +x ${INSTALLDIR}/${LIBNAME} + fi ;; + cygwin*|mingw*) + IMPLIBNAME=`echo ${LIBNAME} \ _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
