From 6dd32a3202653b596a4ee4136f7f24d30414c41f Mon Sep 17 00:00:00 2001 From: acinonyx Date: Wed, 25 Jan 2012 13:09:37 +0000 Subject: [PATCH] [packages] php5: Don't fail on non-existing file removal git-svn-id: svn://svn.openwrt.org/openwrt/packages@29907 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- lang/php5/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lang/php5/Makefile b/lang/php5/Makefile index dde151d35..dee858bc8 100644 --- a/lang/php5/Makefile +++ b/lang/php5/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=php PKG_VERSION:=5.3.9 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=http://www.php.net/distributions/ @@ -479,7 +479,7 @@ endef define Build/InstallDev make -C $(PKG_BUILD_DIR) install INSTALL_ROOT=$(PKG_BUILD_DIR)/staging - rm $(PKG_BUILD_DIR)/staging/usr/bin/php + rm -f $(PKG_BUILD_DIR)/staging/usr/bin/php $(CP) $(PKG_BUILD_DIR)/staging/* $(STAGING_DIR_HOST) sed -i -e "s#prefix='/usr'#prefix='$(STAGING_DIR_HOST)/usr'#" $(STAGING_DIR_HOST)/usr/bin/phpize sed -i -e "s#exec_prefix=\"\`eval echo /usr\`\"#exec_prefix='$(STAGING_DIR_HOST)/usr'#" $(STAGING_DIR_HOST)/usr/bin/phpize -- 2.11.0