stubby: remove libidn2 and libunwind dependencies
authorRosen Penev <rosenp@gmail.com>
Fri, 11 Jun 2021 22:44:25 +0000 (15:44 -0700)
committerJames White <james@jmwhite.co.uk>
Sat, 14 Aug 2021 06:49:55 +0000 (07:49 +0100)
There's no good way to get rid of these, so just delete the cmake files.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 4ebc8798555eb5c4628956ffec49dfc64453e898)

net/stubby/Makefile

index 2f87baef650bd82898477de86ff97872f24a2a5a..3757495d9e54362fb2116f29b4be3c48d590e08d 100644 (file)
@@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=stubby
 PKG_VERSION:=0.4.0
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_URL:=https://github.com/getdnsapi/$(PKG_NAME)
@@ -17,9 +17,6 @@ PKG_MAINTAINER:=Jonathan Underwood <jonathan.underwood@gmail.com>
 PKG_LICENSE:=BSD-3-Clause
 PKG_LICENSE_FILES:=COPYING
 
-CMAKE_INSTALL:=1
-PKG_BUILD_PARALLEL:=1
-
 include $(INCLUDE_DIR)/package.mk
 include $(INCLUDE_DIR)/cmake.mk
 
@@ -48,6 +45,11 @@ define Package/stubby/conffiles
 /etc/config/stubby
 endef
 
+define Build/Prepare
+       $(call Build/Prepare/Default)
+       rm $(PKG_BUILD_DIR)/cmake/modules/FindLibidn2.cmake $(PKG_BUILD_DIR)/cmake/modules/FindLibunbound.cmake
+endef
+
 define Package/stubby/install
        $(INSTALL_DIR) $(1)/usr/sbin
        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/stubby $(1)/usr/sbin/stubby