pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: pkgsrc/sysutils/hal



OBATA Akio wrote:

On 2008/12/30, at 1:07, Jared D. McNeill wrote:

On Mon, Dec 29, 2008 at 6:22 AM, OBATA Akio <obache%netbsd.org@localhost> wrote:
How about attached patch?

I'd like to know why the configure script on NetBSD 4.0 thinks it
needs libvolume_id, as this shouldn't be used at all by the dummy
backend.

Needs of libvolume_id may depend on backend,
so the configure script may switch the check with $HALD_BACKEND, not $host.
But, it check libvolume_id before pick up of $HALD_BACKEND now...

Does this replacement for patch-na help?

Cheers,
Jared
$NetBSD$

--- configure.in.orig   2008-05-07 19:24:31.000000000 -0400
+++ configure.in        2008-12-29 18:14:06.000000000 -0500
@@ -448,7 +448,7 @@
 
 AC_ARG_WITH([backend],
            AS_HELP_STRING([--with-backend=<name>],
-                          [backend to use (linux/solaris/freebsd/dummy)]),
+                          [backend to use 
(linux/solaris/netbsd/freebsd/dummy)]),
            [backend=$withval])
 if ! test -z "$with_backend" ; then
     HALD_BACKEND="$with_backend"
@@ -457,6 +457,9 @@
         *-*-solaris*)
                   HALD_BACKEND="solaris"
                   ;;
+        *-*-netbsd*)
+                   HALD_BACKEND="netbsd"
+                  ;;
         *-*-freebsd*)
                    HALD_BACKEND="freebsd"
                    ;;
@@ -472,6 +475,7 @@
 AM_CONDITIONAL(HALD_COMPILE_LINUX, [test x$HALD_BACKEND = xlinux], [Compiling 
for Linux])
 AM_CONDITIONAL(HALD_COMPILE_FREEBSD, [test x$HALD_BACKEND = xfreebsd], 
[Compiling for FreeBSD])
 AM_CONDITIONAL(HALD_COMPILE_SOLARIS, [test x$HALD_BACKEND = xsolaris], 
[Compiling for Solaris])
+AM_CONDITIONAL(HALD_COMPILE_NETBSD, [test x$HALD_BACKEND = xnetbsd], 
[Compiling for NetBSD])
 AC_SUBST(HALD_BACKEND)
 
 dnl DBUS API is subject to changes
@@ -644,6 +648,10 @@
 case "$host" in
 *-*-solaris*)
        ;;
+*-*-darwin*)
+       ;;
+*-*-netbsd[0-4]*)
+       ;;
 *)
        PKG_CHECK_MODULES(VOLUME_ID, [$volume_id_module])
        AC_SUBST(VOLUME_ID_CFLAGS)
@@ -1004,6 +1012,9 @@
 hald/solaris/Makefile
 hald/solaris/probing/Makefile
 hald/solaris/addons/Makefile
+hald/netbsd/Makefile
+hald/netbsd/probing/Makefile
+hald/netbsd/addons/Makefile
 hald/freebsd/Makefile
 hald/freebsd/probing/Makefile
 hald/freebsd/libprobe/Makefile
@@ -1014,6 +1025,7 @@
 tools/Makefile
 tools/freebsd/Makefile
 tools/linux/Makefile
+tools/netbsd/Makefile
 partutil/Makefile
 policy/Makefile
 fdi/Makefile


Home | Main Index | Thread Index | Old Index