Subject: Re: Upgrading print/lilypond to 2.7.9
To: Chapman Flack <nblists@anastigmatix.net>
From: D'Arcy J.M. Cain <darcy@NetBSD.org>
List: tech-pkg
Date: 02/24/2006 17:13:32
On Fri, 24 Feb 2006 16:53:39 -0500
Chapman Flack <nblists@anastigmatix.net> wrote:
> D'Arcy J.M. Cain wrote:
> > checking FlexLexer.h path... ./configure.lineno: 6561: Syntax
> >   error: Bad fd number
> > *** Error code 2
> 
> some configure-related shell script containing a more-than-1-digit
> integer next to a redirection operator? anything useful in config.log?
> shell-specific feature used in a script?

Wow!  How did this get released?

--- configure.orig      2005-09-05 09:56:35.000000000 -0400
+++ configure
@@ -6562,7 +6562,7 @@ using namespace std;
 EOF
        FLEXLEXER_PATH=`$CXX -E conftest.cc | \
          sed 's!# 1 "\(.*\)FlexLexer.h"!@FLEXLEXER@\1@@!g' | grep '@@' | \
-         sed 's!.*@FLEXLEXER@\(.*\)@@.*$!\1!g' ` >& /dev/null
+         sed 's!.*@FLEXLEXER@\(.*\)@@.*$!\1!g' ` >&5 /dev/null
        rm conftest.cc

         echo "$as_me:$LINENO: result: $FLEXLEXER_PATH" >&5

Thanks.  That brings me to the next issue:

ERROR: Please install required programs:  libfreetype6-dev or freetype?-devel >= 0 (installed: ) libpango1.0-dev or pango?-devel >= 1.6.0 (installed: ) libfontconfig-dev or fontconfig-devel >= 2.2.0 (installed: )

Looks like I need the following.  Testing now.  Thanks for the hint above.

 SCRIPTS_DIR=   share/lilypond/${PKGVERSION:S/nb${PKGREVISION}//}/scripts
@@ -47,6 +46,7 @@ post-install:
 .include "../../lang/guile/buildlink3.mk"
 .include "../../lang/python/application.mk"
 .include "../../textproc/scrollkeeper/omf.mk"
+.include "../../x11/gnome-libs/buildlink3.mk"
 .include "../../mk/tex.buildlink3.mk"
 .include "../../mk/emacs.mk"
 .include "../../mk/bsd.pkg.mk"

-- 
D'Arcy J.M. Cain <darcy@NetBSD.org>
http://www.NetBSD.org/