diff options
author | krion <krion@FreeBSD.org> | 2004-01-29 21:05:08 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2004-01-29 21:05:08 +0800 |
commit | 321f112b1c0d8c390d87d1bdba912d0484ae5381 (patch) | |
tree | 2d26859ec5546a6d3bda03853992dae64780b1c3 /net | |
parent | 6249f2ec357f869670a8177e18af6b43eac09e28 (diff) | |
download | freebsd-ports-gnome-321f112b1c0d8c390d87d1bdba912d0484ae5381.tar.gz freebsd-ports-gnome-321f112b1c0d8c390d87d1bdba912d0484ae5381.tar.zst freebsd-ports-gnome-321f112b1c0d8c390d87d1bdba912d0484ae5381.zip |
- Update to version 0.6.0p1
Diffstat (limited to 'net')
-rw-r--r-- | net/pmacct/Makefile | 18 | ||||
-rw-r--r-- | net/pmacct/distinfo | 2 |
2 files changed, 8 insertions, 12 deletions
diff --git a/net/pmacct/Makefile b/net/pmacct/Makefile index bb17cbbd293c..74152c92aec7 100644 --- a/net/pmacct/Makefile +++ b/net/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/pmacct/distinfo b/net/pmacct/distinfo index 2bc754d5bd60..f9b473a08f62 100644 --- a/net/pmacct/distinfo +++ b/net/pmacct/distinfo @@ -1 +1 @@ -MD5 (pmacct-0.6.0.tar.gz) = 8baefb60a5b6947669c6b43e5aa74357 +MD5 (pmacct-0.6.0p1.tar.gz) = f6d6fae78c459e7be0a823cda936c173 |