Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Mar 2013 21:41:30 +0100
From:      Juergen Lock <nox@jelal.kn-bremen.de>
To:        Beeblebrox <zaphod@berentweb.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: grub2 with libzfs
Message-ID:  <20130327204130.GA40854@triton8.kn-bremen.de>
In-Reply-To: <1364409110302-5799450.post@n5.nabble.com>
References:  <1364397485043-5799405.post@n5.nabble.com> <51532491.6050507@gmail.com> <1364407584254-5799443.post@n5.nabble.com> <1364409110302-5799450.post@n5.nabble.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Mar 27, 2013 at 11:31:50AM -0700, Beeblebrox wrote:
> EDIT: I just tried "make" (without the --enable-libzfs) flag for grub 2.0 and
> got different error:
> 
> grub-2.00 # make
> "Makefile", line 20946: Need an operator
> 
> line 20946 is:
> 44: export LC_COLLATE := C
> 45: export LC_CTYPE := C
> 46: unexport LC_ALL
> 
> Which source are you using?
> 
By the way there is a PR to update the grub2 port to 2.00 [1] (that
I also worked a bit on), it doesn't use libzfs yet but it's possible
you only have to add

	CPATH=${SRC_BASE}/cddl/contrib/opensolaris/lib/libzfs/common

to CONFIGURE_ENV and MAKE_ENV, and add a ZFS knob to enable this
that checks ${SRC_BASE}/cddl/contrib/opensolaris/lib/libzfs/common/libzfs.h
exists and is off by default because the system sources are not
installed on all systems.  (and possibly fix the plist...)

 HTH, :)
	Juergen

[1] http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/170417



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130327204130.GA40854>