packages/net/vnstat/patches/003-no_install_uname.patch
swalker 63a6ab878d [packages] vnstat: fix compilation on non-linux hosts (#6656)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@19703 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-18 06:23:02 +00:00

16 lines
425 B
Diff

--- a/Makefile
+++ b/Makefile
@@ -22,12 +22,6 @@ clean:
install:
@echo "Installing vnStat..."
-# check that system is really Linux
- @if [ `uname` != "Linux" ]; \
- then echo "This isn't a Linux system. Maybe 'make bsdinstall' is what you need?"; \
- false; \
- fi
-
# check that there's something to install
@if [ ! -f "src/vnstat" ] || [ ! -f "src/vnstatd" ]; \
then echo "Nothing to install, run make first."; \