[package] fix vnstat install usage on FreeBSD and MacOSX (#7718)
authorFlorian Fainelli <florian@openwrt.org>
Sat, 4 Sep 2010 18:04:13 +0000 (18:04 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Sat, 4 Sep 2010 18:04:13 +0000 (18:04 +0000)
commit2117d3afb467d50381ac73f37232048e162f0ab8
tree3fa4ca03835ab99bb1684728ea00ecaf1483b746
parentdc5446089e7b3a506782ee50a0b29be596aab4e5
[package] fix vnstat install usage on FreeBSD and MacOSX (#7718)

vnstat's makefile uses the '-D' option which is only part of GNU install,
thus compiling vnstat for OpenWrt on FreeBSD or Mac OS X fails because of
the missing option.

Attached is a patch to have the install target separately create the
destination directory before installing the vnstat.conf file to $(DEST)/etc.
Additionally it also removes an erroneous tab character in the Makefile.

The patch is meant to go in feeds/packages/net/vnstat/patches/ directory.

TRAC Ticket: https://dev.openwrt.org/attachment/ticket/7718/

Signed-off-by: Joe Roback <joe@roback.cc>
SVN-Revision: 22913
net/vnstat/patches/004-install_bsd_fix.patch [new file with mode: 0644]