reptyr: fix build on macos
authorSergey V. Lobanov <redacted>
Wed, 26 Jan 2022 19:20:46 +0000 (22:20 +0300)
committerJosef Schlehofer <redacted>
Wed, 26 Jan 2022 22:01:10 +0000 (23:01 +0100)
This patch sets UNAME_S=Linux due to OpenWrt is always Linux but
`uname -s` return Darwin on MacOS and fails target build.

Signed-off-by: Sergey V. Lobanov <redacted>
utils/reptyr/Makefile

index 83dd6ba3ebf9559dbd52827f5bdcb90e94299f3a..191020747cf83b2628771c3df276f746691b09b9 100644 (file)
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=reptyr
 PKG_VERSION:=0.8.0
-PKG_RELEASE:=4
+PKG_RELEASE:=5
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://github.com/nelhage/reptyr/archive/
@@ -34,6 +34,7 @@ define Package/reptyr/description
 endef
 
 MAKE_FLAGS+= \
+       UNAME_S=Linux \
        PREFIX=/usr
 
 define Package/reptyr/install
git clone https://git.99rst.org/PROJECT