From owner-freebsd-ports@FreeBSD.ORG Wed Mar 27 20:43:33 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C4F6521F for ; Wed, 27 Mar 2013 20:43:33 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id 89004F02 for ; Wed, 27 Mar 2013 20:43:33 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id BA1C31E007A4; Wed, 27 Mar 2013 21:43:25 +0100 (CET) Received: from triton8.kn-bremen.de (noident@localhost [127.0.0.1]) by triton8.kn-bremen.de (8.14.5/8.14.4) with ESMTP id r2RKfUJl041058; Wed, 27 Mar 2013 21:41:30 +0100 (CET) (envelope-from nox@triton8.kn-bremen.de) Received: (from nox@localhost) by triton8.kn-bremen.de (8.14.5/8.14.3/Submit) id r2RKfUPN041057; Wed, 27 Mar 2013 21:41:30 +0100 (CET) (envelope-from nox) From: Juergen Lock Date: Wed, 27 Mar 2013 21:41:30 +0100 To: Beeblebrox Subject: Re: grub2 with libzfs Message-ID: <20130327204130.GA40854@triton8.kn-bremen.de> References: <1364397485043-5799405.post@n5.nabble.com> <51532491.6050507@gmail.com> <1364407584254-5799443.post@n5.nabble.com> <1364409110302-5799450.post@n5.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1364409110302-5799450.post@n5.nabble.com> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Mar 2013 20:43:33 -0000 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