boost: Release update with minor fix 8150/head
authorCarlos Miguel Ferreira <carlosmf.pt@gmail.com>
Thu, 7 Feb 2019 20:25:32 +0000 (20:25 +0000)
committerCarlos Ferreira <carlosmf.pt@gmail.com>
Tue, 12 Feb 2019 23:04:01 +0000 (23:04 +0000)
This commit fixes the bug described in issue #8146 [1], where the
package fails to build if the boost package is selected without
selecting any of the internal non-header-only libraries.

[1]: https://github.com/openwrt/packages/issues/8146

Signed-off-by: Carlos Miguel Ferreira <carlosmf.pt@gmail.com>
libs/boost/Makefile

index 35599b90b1dfca1a245a1933e621081a346b7afe..ce4352ab35d4a918ee856eab6bb01909ec405d58 100644 (file)
@@ -13,7 +13,7 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=boost
 PKG_VERSION:=1.69.0
 PKG_SOURCE_VERSION:=1_69_0
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)_$(PKG_SOURCE_VERSION).tar.bz2
 PKG_SOURCE_URL:=@SF/$(PKG_NAME)/$(PKG_NAME)/$(PKG_VERSION) https://dl.bintray.com/boostorg/release/$(PKG_VERSION)/source/
@@ -500,7 +500,7 @@ define Build/InstallDev
 
        $(INSTALL_DIR) $(1)/usr/lib
        # copies all compiled archive and shared object files
-       $(CP) -v $(PKG_INSTALL_DIR)/lib/*.{a,so*} $(1)/usr/lib/
+       $(CP) -v $(PKG_INSTALL_DIR)/lib/*.{a,so*} $(1)/usr/lib/ || :
 endef
 
 define Host/Install