summaryrefslogtreecommitdiff
path: root/net-mgmt/pmacct
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-01-29 13:05:08 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-01-29 13:05:08 +0000
commitd9a7590fccf86842e1cba3d444bcff7c3a102481 (patch)
treee4ea6202c21eee99df36d62d924ad372e869cc12 /net-mgmt/pmacct
parentFix the my previous commit, CONFLICTS gets feeded into ls, so it has (diff)
- Update to version 0.6.0p1
Notes
Notes: svn path=/head/; revision=99400
Diffstat (limited to 'net-mgmt/pmacct')
-rw-r--r--net-mgmt/pmacct/Makefile18
-rw-r--r--net-mgmt/pmacct/distinfo2
2 files changed, 8 insertions, 12 deletions
diff --git a/net-mgmt/pmacct/Makefile b/net-mgmt/pmacct/Makefile
index bb17cbbd293c..74152c92aec7 100644
--- a/net-mgmt/pmacct/Makefile
+++ b/net-mgmt/pmacct/Makefile
@@ -6,19 +6,19 @@
#
PORTNAME= pmacct
-PORTVERSION= 0.6.0
+PORTVERSION= 0.6.0.p1
CATEGORIES= net
MASTER_SITES= http://www.ba.cnr.it/~paolo/pmacct/
+DISTNAME= ${PORTNAME}-${PORTVERSION:S/.p1/p1/}
MAINTAINER= krion@FreeBSD.org
COMMENT= Network tool to gather IP traffic information
+WRKSRC= ${WRKDIR}/pmacct-0.6.0
+
.if defined(WITH_MYSQL)
USE_MYSQL= yes
-CONFIGURE_ARGS+=--with-mysql-lib=${LOCALBASE}/lib/mysql \
- --with-mysql-includes=${LOCALBASE}/include/mysql \
- --enable-mysql
-CFLAGS+= "-I${LOCALBASE}/include"
+CONFIGURE_ARGS+=--enable-mysql
PLIST_SUB+= WITH_MYSQL=""
.else
CONFIGURE_ARGS+= --disable-mysql
@@ -40,12 +40,8 @@ USE_REINPLACE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
-pre-patch:
- @${REINPLACE_CMD} -e \
- 's,<mysql/mysql.h>,<mysql.h>,' \
- ${WRKSRC}/mysql_plugin.h
- @${REINPLACE_CMD} -e \
- 's|-O2||g' ${WRKSRC}/configure
+post-patch:
+ @${REINPLACE_CMD} -e 's|-O2||g' ${WRKSRC}/configure
post-install:
.if !defined(NOPORTDOCS)
diff --git a/net-mgmt/pmacct/distinfo b/net-mgmt/pmacct/distinfo
index 2bc754d5bd60..f9b473a08f62 100644
--- a/net-mgmt/pmacct/distinfo
+++ b/net-mgmt/pmacct/distinfo
@@ -1 +1 @@
-MD5 (pmacct-0.6.0.tar.gz) = 8baefb60a5b6947669c6b43e5aa74357
+MD5 (pmacct-0.6.0p1.tar.gz) = f6d6fae78c459e7be0a823cda936c173