aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libgtop2
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-12-20 01:27:50 +0800
committermarcus <marcus@FreeBSD.org>2003-12-20 01:27:50 +0800
commit3b1b58d7a0485e92fb97701c49591f6325105285 (patch)
treec70f4f094254755ecb80f4fafffbf94d6776f386 /devel/libgtop2
parentecd1ce7023b38772b854189db609a20e15d5d50f (diff)
downloadfreebsd-ports-gnome-3b1b58d7a0485e92fb97701c49591f6325105285.tar.gz
freebsd-ports-gnome-3b1b58d7a0485e92fb97701c49591f6325105285.tar.zst
freebsd-ports-gnome-3b1b58d7a0485e92fb97701c49591f6325105285.zip
* Update to 2.0.8
* Make sure we don't try to build with X support (this fixes the build on amd64) * Fix the file system type code
Diffstat (limited to 'devel/libgtop2')
-rw-r--r--devel/libgtop2/Makefile4
-rw-r--r--devel/libgtop2/distinfo2
-rw-r--r--devel/libgtop2/files/patch-sysdeps_common_mountlist.c20
-rw-r--r--devel/libgtop2/pkg-plist1
4 files changed, 24 insertions, 3 deletions
diff --git a/devel/libgtop2/Makefile b/devel/libgtop2/Makefile
index d5c4a8bc39d5..b9bb6615a9f3 100644
--- a/devel/libgtop2/Makefile
+++ b/devel/libgtop2/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= libgtop2
-PORTVERSION= 2.0.7
-PORTREVISION= 2
+PORTVERSION= 2.0.8
CATEGORIES= devel gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/2.0
@@ -25,6 +24,7 @@ USE_GMAKE= yes
USE_GNOME= gnomehack glib20
INSTALLS_SHLIB= yes
GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --without-x
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
diff --git a/devel/libgtop2/distinfo b/devel/libgtop2/distinfo
index a2d50f06ac5d..55553bba062a 100644
--- a/devel/libgtop2/distinfo
+++ b/devel/libgtop2/distinfo
@@ -1 +1 @@
-MD5 (gnome2/libgtop-2.0.7.tar.bz2) = b07e6ed75e0d45423b47db8ac370c571
+MD5 (gnome2/libgtop-2.0.8.tar.bz2) = 9e5b728a8639fd7c7f86ddf2cb726435
diff --git a/devel/libgtop2/files/patch-sysdeps_common_mountlist.c b/devel/libgtop2/files/patch-sysdeps_common_mountlist.c
new file mode 100644
index 000000000000..31b0d3288347
--- /dev/null
+++ b/devel/libgtop2/files/patch-sysdeps_common_mountlist.c
@@ -0,0 +1,20 @@
+--- sysdeps/common/mountlist.c.orig Fri Dec 19 12:23:02 2003
++++ sysdeps/common/mountlist.c Fri Dec 19 12:23:41 2003
+@@ -136,7 +136,7 @@
+ }
+ #endif /* MOUNTED_GETMNTENT1. */
+
+-#if defined (MOUNTED_GETMNTINFO) && !defined (__NetBSD__) && !defined (__OpenBSD__)
++#if defined (MOUNTED_GETMNTINFO) && !defined (__NetBSD__) && !defined (__OpenBSD__) && !defined(__FreeBSD__)
+ static char *
+ fstype_to_string (t)
+ short t;
+@@ -354,7 +354,7 @@
+ me = (struct mount_entry *) xmalloc (sizeof (struct mount_entry));
+ me->me_devname = xstrdup (fsp->f_mntfromname);
+ me->me_mountdir = xstrdup (fsp->f_mntonname);
+-#if defined(__NetBSD__) || defined(__OpenBSD__)
++#if defined(__NetBSD__) || defined(__OpenBSD__) || defined(__FreeBSD__)
+ me->me_type = xstrdup (fsp->f_fstypename);
+ #else
+ me->me_type = xstrdup (fstype_to_string (fsp->f_type));
diff --git a/devel/libgtop2/pkg-plist b/devel/libgtop2/pkg-plist
index 3d8cfeed90f2..bb6b1079e8c4 100644
--- a/devel/libgtop2/pkg-plist
+++ b/devel/libgtop2/pkg-plist
@@ -89,6 +89,7 @@ share/locale/id/LC_MESSAGES/libgtop-2.0.mo
share/locale/it/LC_MESSAGES/libgtop-2.0.mo
share/locale/ja/LC_MESSAGES/libgtop-2.0.mo
share/locale/ko/LC_MESSAGES/libgtop-2.0.mo
+share/locale/lt/LC_MESSAGES/libgtop-2.0.mo
share/locale/lv/LC_MESSAGES/libgtop-2.0.mo
share/locale/mk/LC_MESSAGES/libgtop-2.0.mo
share/locale/ml/LC_MESSAGES/libgtop-2.0.mo