aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/pmacct/Makefile
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-11-10 03:52:11 +0800
committerKirill Ponomarev <krion@FreeBSD.org>2003-11-10 03:52:11 +0800
commit46f7fd71793b06f90dcdfdc0d4f2d934574db26a (patch)
tree68770f01d16dc8ab73ec9480cdcc7a8f2ae776c6 /net-mgmt/pmacct/Makefile
parent552bcde5d7722b359c76371b76fd4306bc833c96 (diff)
downloadfreebsd-ports-gnome-46f7fd71793b06f90dcdfdc0d4f2d934574db26a.tar.gz
freebsd-ports-gnome-46f7fd71793b06f90dcdfdc0d4f2d934574db26a.tar.zst
freebsd-ports-gnome-46f7fd71793b06f90dcdfdc0d4f2d934574db26a.zip
- Update to version 0.5.2
Diffstat (limited to 'net-mgmt/pmacct/Makefile')
-rw-r--r--net-mgmt/pmacct/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/net-mgmt/pmacct/Makefile b/net-mgmt/pmacct/Makefile
index d15a2c4c1325..b9a42d04d3e3 100644
--- a/net-mgmt/pmacct/Makefile
+++ b/net-mgmt/pmacct/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= pmacct
-PORTVERSION= 0.5.1
+PORTVERSION= 0.5.2
CATEGORIES= net
MASTER_SITES= http://www.ba.cnr.it/~paolo/pmacct/
@@ -26,12 +26,14 @@ GNU_CONFIGURE= yes
USE_GETOPT_LONG=yes
USE_REINPLACE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- CFLAGS="${CFLAGS} -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,<mysql/mysql.h>,<mysql.h>,' \
+ ${WRKSRC}/mysql_plugin.h
+ @${REINPLACE_CMD} -e \
+ 's|-O2|${CFLAGS}|g' ${WRKSRC}/configure
post-install:
.if !defined(NOPORTDOCS)