Mega patch to improve how build dependencies are handled and
how packages are found. First: I removed all these *-deps.db files and only a single file is used now "build-depends.db"; it's smaller and will be easier to handle in the future... when "run-depends.db" is added :-) Second: there's no need to specify version of package anymore; before you had to do: $ pkgfs.sh install git-1.6.0.2 now you only do: $ pkgfs.sh install git This will read the variables located at PKGFS_TEMPLATESDIR/git.tmpl and will the install the version that is there. --HG-- extra : convert_revision : 9e3e5d70965a69c76f59e322b7c7b674d627af52
This commit is contained in:
parent
4cd4543c72
commit
e9def74b60
175 changed files with 473 additions and 308 deletions
35
templates/glib-fix-statfs-netbsd.diff
Normal file
35
templates/glib-fix-statfs-netbsd.diff
Normal file
|
@ -0,0 +1,35 @@
|
|||
$NetBSD: patch-ba,v 1.3 2008/09/06 11:07:20 obache Exp $
|
||||
|
||||
--- gio/gunixmounts.c.orig 2008-09-02 15:09:19.000000000 +0000
|
||||
+++ gio/gunixmounts.c
|
||||
@@ -563,7 +563,11 @@ get_mtab_monitor_file (void)
|
||||
static GList *
|
||||
_g_get_unix_mounts (void)
|
||||
{
|
||||
+#ifdef __NetBSD__
|
||||
+ struct statvfs *mntent = NULL;
|
||||
+#else
|
||||
struct statfs *mntent = NULL;
|
||||
+#endif
|
||||
int num_mounts, i;
|
||||
GUnixMountEntry *mount_entry;
|
||||
GList *return_list;
|
||||
@@ -580,8 +584,18 @@ _g_get_unix_mounts (void)
|
||||
|
||||
mount_entry->mount_path = g_strdup (mntent[i].f_mntonname);
|
||||
mount_entry->device_path = g_strdup (mntent[i].f_mntfromname);
|
||||
+#if defined(__digital__)
|
||||
+ mount_entry->filesystem_type = g_strdup ("unknown");
|
||||
+#else
|
||||
mount_entry->filesystem_type = g_strdup (mntent[i].f_fstypename);
|
||||
+#endif
|
||||
+#if defined(__NetBSD__)
|
||||
+ if (mntent[i].f_flag & MNT_RDONLY)
|
||||
+#elif defined(__digital__)
|
||||
+ if (mntent[i].f_flags & M_RDONLY)
|
||||
+#else
|
||||
if (mntent[i].f_flags & MNT_RDONLY)
|
||||
+#endif
|
||||
mount_entry->is_read_only = TRUE;
|
||||
|
||||
mount_entry->is_system_internal =
|
Loading…
Add table
Add a link
Reference in a new issue