diff options
author | Tilman Keskinoz <arved@FreeBSD.org> | 2007-09-02 13:55:44 +0000 |
---|---|---|
committer | Tilman Keskinoz <arved@FreeBSD.org> | 2007-09-02 13:55:44 +0000 |
commit | 1b360cbdbcbbbdc828e579aaadc10c1f2f3b3fb9 (patch) | |
tree | 3a3f3c93443abe80e17797c26532b75428f3f934 /net-mgmt/aguri | |
parent | 7a30282aef385e7a6967accb464599bf30837045 (diff) | |
download | ports-1b360cbdbcbbbdc828e579aaadc10c1f2f3b3fb9.tar.gz ports-1b360cbdbcbbbdc828e579aaadc10c1f2f3b3fb9.zip |
Notes
Diffstat (limited to 'net-mgmt/aguri')
-rw-r--r-- | net-mgmt/aguri/Makefile | 6 | ||||
-rw-r--r-- | net-mgmt/aguri/files/patch-aguri.h | 10 |
2 files changed, 15 insertions, 1 deletions
diff --git a/net-mgmt/aguri/Makefile b/net-mgmt/aguri/Makefile index 6d833ea04c46..9cb3914fb4a7 100644 --- a/net-mgmt/aguri/Makefile +++ b/net-mgmt/aguri/Makefile @@ -7,6 +7,7 @@ PORTNAME= aguri PORTVERSION= 0.7 +PORTREVISION= 1 CATEGORIES= net-mgmt ipv6 MASTER_SITES= ftp://ftp.csl.sony.co.jp/pub/kjc/ @@ -15,11 +16,14 @@ COMMENT= An Aggregation-based Traffic Profiler .if defined(WITH_X11) EXTRA_PATCHES= ${FILESDIR}/extra-patch-Makefile -USE_XLIB= yes +USE_XORG= x11 .endif MAN1= aguri.1 +post-patch: + ${REINPLACE_CMD} -e "s,/usr/X11R6,${X11BASE}," ${WRKSRC}/Makefile + do-install: @${INSTALL_PROGRAM} ${WRKSRC}/aguri ${PREFIX}/bin @${INSTALL_MAN} ${WRKSRC}/aguri.1 ${MANPREFIX}/man/man1 diff --git a/net-mgmt/aguri/files/patch-aguri.h b/net-mgmt/aguri/files/patch-aguri.h new file mode 100644 index 000000000000..ce764a0d2456 --- /dev/null +++ b/net-mgmt/aguri/files/patch-aguri.h @@ -0,0 +1,10 @@ +--- aguri.h.orig 2003-03-12 22:09:41.000000000 +0800 ++++ aguri.h 2007-08-25 02:33:28.000000000 +0800 +@@ -32,7 +32,6 @@ + #define AGURI_VERSION "0.7" + + extern char *fmt_string; +-extern int read_count; + extern struct timeval start_time, end_time; + extern int debug; + extern int time_slot; |