aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authordhn <dhn@FreeBSD.org>2009-07-01 23:33:12 +0800
committerdhn <dhn@FreeBSD.org>2009-07-01 23:33:12 +0800
commitc49f9d8103d8ebce9cb10fbf469d6e3bbfc61874 (patch)
treef1e7e1ae1f260896209517be04153faaddbba35d /net
parent53bcef4bd02bb38229aa0ad3cb9802ba31827994 (diff)
downloadfreebsd-ports-gnome-c49f9d8103d8ebce9cb10fbf469d6e3bbfc61874.tar.gz
freebsd-ports-gnome-c49f9d8103d8ebce9cb10fbf469d6e3bbfc61874.tar.zst
freebsd-ports-gnome-c49f9d8103d8ebce9cb10fbf469d6e3bbfc61874.zip
- Fix wrong config PATH in cfg.c
- Bump PORTREVISION PR: ports/136210 Submitted by: mas kassem <m129kss@omgp.ru>
Diffstat (limited to 'net')
-rw-r--r--net/vnstat/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/vnstat/Makefile b/net/vnstat/Makefile
index 61037b6030a6..154b2ef994e1 100644
--- a/net/vnstat/Makefile
+++ b/net/vnstat/Makefile
@@ -7,6 +7,7 @@
PORTNAME= vnstat
PORTVERSION= 1.7
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://humdi.net/vnstat/ \
http://mirror.mcx2.org/
@@ -40,6 +41,8 @@ post-patch:
@${REINPLACE_CMD} -e 's|$$(DESTDIR)|${PREFIX}|g' \
-e 's|cfg/vnstat.conf|cfg/vnstat.conf.sample|g' \
-e '134,135d' ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e 's|/etc/|${PREFIX}/etc/|g' \
+ ${WRKSRC}/src/cfg.c
post-install:
.if !defined(NOPORTDOCS)