ports/170417: Update port: sysutils/grub2 to 2.00

Norihiko Murase mur1080224 at inter7.jp
Tue Aug 7 08:20:07 UTC 2012


The following reply was made to PR ports/170417; it has been noted by GNATS.

From: Norihiko Murase <mur1080224 at inter7.jp>
To: bug-followup at FreeBSD.org, rick at sloservers.com, mur1080224 at inter7.jp
Cc:  
Subject: Re: ports/170417: Update port: sysutils/grub2 to 2.00
Date: 7 Aug 2012 17:16:41 +0900

 > Have you tried building this under FBSD versions less than 9?
 
 No. It is only 9.0-RELEASE-p3 that I tried building under.
 I do NOT have the FreeBSD 8.x box, so it is impossible for me
 to test under 8.x-RELEASE.
 
 
 > I
 > encountered numerous build errors that this patch does not appear to
 > address including: ports flex dependency, newer as dependency from
 > updated binutils, patch to remove treating certain erroneous warnings as
 > errors / build failures under FBSD base GCC.
 
 Hmm..., yes, they are not addressed in the patch I submitted
 on Aug 06 2012.
 
 The version of flex that GRUB2 requires is 2.5.35 or later, 
 which is available via the ports "textproc/flex"; however, 
 I have no idea about how to write it in the ports skeleton.
 
 The build w/ gcc on the base system (/usr/bin/gcc) can be 
 finished by the following modification.
   1. DELETE the '-Wempty-body' option from the gcc options
        - You should delete '-Wempty-body' from 
          grub-2.00/configure (line 20053) (WARN_FLAGS)
   2. Add the '--disable-werror' option to the configure script
 



More information about the freebsd-ports-bugs mailing list