diff options
author | Jean-Yves Lefort <jylefort@FreeBSD.org> | 2005-04-22 02:06:29 +0000 |
---|---|---|
committer | Jean-Yves Lefort <jylefort@FreeBSD.org> | 2005-04-22 02:06:29 +0000 |
commit | 5dc6fc457f3df6d6cae2423033750d231be00637 (patch) | |
tree | da18bd6364311df4088e3803beb6756d8af213d2 /net/netspeed_applet | |
parent | adbfb8d78b440835ffef86195fbb7d3f72fe85d9 (diff) | |
download | ports-5dc6fc457f3df6d6cae2423033750d231be00637.tar.gz ports-5dc6fc457f3df6d6cae2423033750d231be00637.zip |
Use libgtop again (by default, 0.12 uses Linux's /proc).
Reported by: Peter Thoenen <eol1@yahoo.com>
Approved by: adamw (mentor)
Notes
Notes:
svn path=/head/; revision=133896
Diffstat (limited to 'net/netspeed_applet')
-rw-r--r-- | net/netspeed_applet/Makefile | 2 | ||||
-rw-r--r-- | net/netspeed_applet/files/patch-src__backend.h | 20 |
2 files changed, 19 insertions, 3 deletions
diff --git a/net/netspeed_applet/Makefile b/net/netspeed_applet/Makefile index 5ff2d3e20b4a..ddae26d6bffb 100644 --- a/net/netspeed_applet/Makefile +++ b/net/netspeed_applet/Makefile @@ -7,6 +7,7 @@ PORTNAME= netspeed_applet PORTVERSION= 0.12 +PORTREVISION= 1 CATEGORIES= net gnome MASTER_SITES= http://www.wh-hms.uni-ulm.de/~mfcn/shared/netspeed/ @@ -23,5 +24,6 @@ USE_LIBTOOL_VER=15 CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" \ PKG_CONFIG=${LOCALBASE}/bin/pkg-config +CONFIGURE_ARGS= --enable-libgtop .include <bsd.port.mk> diff --git a/net/netspeed_applet/files/patch-src__backend.h b/net/netspeed_applet/files/patch-src__backend.h index e7c3db56f4e3..176efc3e79b1 100644 --- a/net/netspeed_applet/files/patch-src__backend.h +++ b/net/netspeed_applet/files/patch-src__backend.h @@ -1,6 +1,12 @@ ---- src/backend.h.orig Thu Apr 21 11:25:48 2005 -+++ src/backend.h Thu Apr 21 11:12:39 2005 -@@ -25,6 +25,7 @@ +--- src/backend.h.orig Wed Dec 1 13:43:47 2004 ++++ src/backend.h Fri Apr 22 01:28:34 2005 +@@ -20,18 +20,20 @@ + #ifndef _BACKEND_H + #define _BACKEND_H + ++#include "config.h" + #include <stdlib.h> + #include <stdio.h> #include <unistd.h> #include <string.h> #include <ctype.h> @@ -8,3 +14,11 @@ #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> + #include <net/if.h> + #include <sys/ioctl.h> + #include <glib.h> +-#ifdef USE_GLIBTOP ++#ifdef USE_LIBGTOP + #include <glibtop/netload.h> + #endif + |