diff options
-rw-r--r-- | net-mgmt/pmacct/Makefile | 12 | ||||
-rw-r--r-- | net-mgmt/pmacct/distinfo | 2 | ||||
-rw-r--r-- | net-mgmt/pmacct/files/patch-pmacct.h | 13 | ||||
-rw-r--r-- | net/pmacct/Makefile | 12 | ||||
-rw-r--r-- | net/pmacct/distinfo | 2 | ||||
-rw-r--r-- | net/pmacct/files/patch-pmacct.h | 13 |
6 files changed, 16 insertions, 38 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) diff --git a/net-mgmt/pmacct/distinfo b/net-mgmt/pmacct/distinfo index 045704bd4a8b..2709727a9994 100644 --- a/net-mgmt/pmacct/distinfo +++ b/net-mgmt/pmacct/distinfo @@ -1 +1 @@ -MD5 (pmacct-0.5.1.tar.gz) = ffa124c6e28e9b2ebe74809dae53d068 +MD5 (pmacct-0.5.2.tar.gz) = 569b1f84036913b8cb1537fcd8c9bfd0 diff --git a/net-mgmt/pmacct/files/patch-pmacct.h b/net-mgmt/pmacct/files/patch-pmacct.h deleted file mode 100644 index c6ed6407af26..000000000000 --- a/net-mgmt/pmacct/files/patch-pmacct.h +++ /dev/null @@ -1,13 +0,0 @@ ---- pmacct.h.orig Thu May 8 11:59:46 2003 -+++ pmacct.h Tue May 13 10:00:09 2003 -@@ -32,10 +32,6 @@ - #include <stdlib.h> - #include <errno.h> - --#ifdef HAVE_GETOPT_H --#include <getopt.h> --#endif -- - #include <fcntl.h> - #include <sys/socket.h> - #include <sys/un.h> diff --git a/net/pmacct/Makefile b/net/pmacct/Makefile index d15a2c4c1325..b9a42d04d3e3 100644 --- a/net/pmacct/Makefile +++ b/net/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) diff --git a/net/pmacct/distinfo b/net/pmacct/distinfo index 045704bd4a8b..2709727a9994 100644 --- a/net/pmacct/distinfo +++ b/net/pmacct/distinfo @@ -1 +1 @@ -MD5 (pmacct-0.5.1.tar.gz) = ffa124c6e28e9b2ebe74809dae53d068 +MD5 (pmacct-0.5.2.tar.gz) = 569b1f84036913b8cb1537fcd8c9bfd0 diff --git a/net/pmacct/files/patch-pmacct.h b/net/pmacct/files/patch-pmacct.h deleted file mode 100644 index c6ed6407af26..000000000000 --- a/net/pmacct/files/patch-pmacct.h +++ /dev/null @@ -1,13 +0,0 @@ ---- pmacct.h.orig Thu May 8 11:59:46 2003 -+++ pmacct.h Tue May 13 10:00:09 2003 -@@ -32,10 +32,6 @@ - #include <stdlib.h> - #include <errno.h> - --#ifdef HAVE_GETOPT_H --#include <getopt.h> --#endif -- - #include <fcntl.h> - #include <sys/socket.h> - #include <sys/un.h> |