0021-opkg-work-around-unconditional-libopenssl-build-dependency.patch 786 B

12345678910111213141516171819202122
  1. From: Matthias Schiffer <mschiffer@universe-factory.net>
  2. Date: Fri, 28 Aug 2015 10:43:55 +0200
  3. Subject: opkg: work around unconditional libopenssl build dependency
  4. As the OpenWrt build system only resolves build dependencies per directory,
  5. all opkg variants were causing libopenssl to be downloaded and built,
  6. not only opkg-smime. Fix this by applying the same workaround as in
  7. ustream-ssl.
  8. diff --git a/package/system/opkg/Makefile b/package/system/opkg/Makefile
  9. index 76688f5..3e39cf8 100644
  10. --- a/package/system/opkg/Makefile
  11. +++ b/package/system/opkg/Makefile
  12. @@ -72,7 +72,7 @@ endef
  13. define Package/opkg-smime
  14. $(call Package/opkg/Default)
  15. TITLE+= (with S/MIME signature support)
  16. - DEPENDS+=+libopenssl
  17. + DEPENDS+=+PACKAGE_opkg-smime:libopenssl
  18. VARIANT:=smime
  19. endef