adguardhome: remove unnecessary build options
authorGeorge Sapkin <[email protected]>
Fri, 14 Mar 2025 13:19:58 +0000 (15:19 +0200)
committerTianling Shen <[email protected]>
Sun, 16 Mar 2025 09:18:52 +0000 (17:18 +0800)
Remove `node-yarn/host` because the upstream switched to npm
Remove `NODE_OPTIONS=--openssl-legacy-provider` because it's not necessary since Node.js 18.x

Link: https://github.com/AdguardTeam/AdGuardHome/commit/1afe226ce8f8af179e1eacccf4cdd63823f0c358#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5R210-L211
Link: https://github.com/AdguardTeam/AdGuardHome/commit/1afe226ce8f8af179e1eacccf4cdd63823f0c358#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5L223-L230
Signed-off-by: George Sapkin <[email protected]>
net/adguardhome/Makefile

index f5ee18aac359afe71d2c48fb4e7c0c0b85bf7ce9..ae5fa94ccb72db3ba0f3bf4e9416d06d54adde83 100644 (file)
@@ -18,7 +18,7 @@ PKG_LICENSE:=GPL-3.0-only
 PKG_LICENSE_FILES:=LICENSE.txt
 PKG_MAINTAINER:=Dobroslaw Kijowski <[email protected]>
 
-PKG_BUILD_DEPENDS:=golang/host node/host node-yarn/host
+PKG_BUILD_DEPENDS:=golang/host node/host
 PKG_BUILD_PARALLEL:=1
 PKG_BUILD_FLAGS:=no-mips16
 
@@ -56,7 +56,7 @@ endef
 define Build/Compile
        ( \
                pushd $(PKG_BUILD_DIR) ; \
-               NODE_OPTIONS=--openssl-legacy-provider make js-deps js-build ; \
+               make js-deps js-build ; \
                popd ; \
                $(call GoPackage/Build/Compile) ; \
        )