diff options
author | arved <arved@FreeBSD.org> | 2007-09-02 21:55:44 +0800 |
---|---|---|
committer | arved <arved@FreeBSD.org> | 2007-09-02 21:55:44 +0800 |
commit | 32218ac0af21ed281f81ee6e981d409948ef8dd7 (patch) | |
tree | d8a3a83c246d90b2f0ec4345cda293d8f16254d5 /net-mgmt | |
parent | 27172227d110db6395c8c2cf7da2c47767bec262 (diff) | |
download | freebsd-ports-gnome-32218ac0af21ed281f81ee6e981d409948ef8dd7.tar.gz freebsd-ports-gnome-32218ac0af21ed281f81ee6e981d409948ef8dd7.tar.zst freebsd-ports-gnome-32218ac0af21ed281f81ee6e981d409948ef8dd7.zip |
Fix build with gcc42
PR: 115791
Submitted by: Hung-Yi Chen <gaod@hychen.org>
Approved by: Yann Berthier <yb@bashibuzuk.net>
While here replace USE_XLIB with USE_XORG
Diffstat (limited to 'net-mgmt')
-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; |