packages/net/vnstat/patches/002-no_install_strip.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

36 lines
1.1 KiB
Diff

--- a/Makefile
+++ b/Makefile
@@ -54,11 +54,11 @@ install:
# install everything else
install -d -m 755 $(BIN) $(SBIN) $(MAN)/man1 $(MAN)/man5 $(DESTDIR)/var/lib/vnstat
- install -s -m 755 src/vnstat $(BIN)
- install -s -m 755 src/vnstatd $(SBIN)
+ install -m 755 src/vnstat $(BIN)
+ install -m 755 src/vnstatd $(SBIN)
@if [ -f "src/vnstati" ]; \
- then echo install -s -m 755 src/vnstati $(BIN); \
- install -s -m 755 src/vnstati $(BIN); \
+ then echo install -m 755 src/vnstati $(BIN); \
+ install -m 755 src/vnstati $(BIN); \
fi
# update man pages, gzip it if previous version was done so
@@ -127,12 +127,12 @@ bsdinstall:
# install binaries
install -dm 755 $(DESTDIR)/var/db/vnstat
- install -s -m 755 src/vnstat $(BIN_BSD)
- install -s -m 755 src/vnstatd $(SBIN_BSD)
+ install -m 755 src/vnstat $(BIN_BSD)
+ install -m 755 src/vnstatd $(SBIN_BSD)
@if [ -f "src/vnstati" ]; \
- then echo install -s -m 755 src/vnstati $(BIN_BSD); \
- install -s -m 755 src/vnstati $(BIN_BSD); \
+ then echo install -m 755 src/vnstati $(BIN_BSD); \
+ install -m 755 src/vnstati $(BIN_BSD); \
fi
# install default config if such doesn't exist