From 0659d0e9fec7af167498e67bd4b3860081a3083e Mon Sep 17 00:00:00 2001 From: Dennis Herrmann Date: Wed, 1 Jul 2009 15:33:12 +0000 Subject: [PATCH] - Fix wrong config PATH in cfg.c - Bump PORTREVISION PR: ports/136210 Submitted by: mas kassem --- net/vnstat/Makefile | 3 +++ 1 file changed, 3 insertions(+) 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)