diff options
author | Oliver Eikemeier <eik@FreeBSD.org> | 2003-11-20 20:17:10 +0000 |
---|---|---|
committer | Oliver Eikemeier <eik@FreeBSD.org> | 2003-11-20 20:17:10 +0000 |
commit | cdced3add9823c5a14c57b2d208b75c8f37fc16a (patch) | |
tree | f9d5af87f190ef7fe97fd039fd878de886cdc7f5 /print/lilypond/scripts/pre-configure | |
parent | development version of print/lilypond: (diff) |
- fix compilation and installation
- synce pkg-plist
- since 2.0 pfa-fonts are required, remove WITHOUT_PFA_FONTS option
- don't install .info twice
- make documentation optional
PR: 58120
Submitted by: Patrick Atamaniuk <atamaniuk-ports@frobs.net> (maintainer)
Approved by: marcus (mentor)
Diffstat (limited to '')
-rw-r--r-- | print/lilypond/scripts/pre-configure | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/print/lilypond/scripts/pre-configure b/print/lilypond/scripts/pre-configure new file mode 100644 index 000000000000..5cc15b3de978 --- /dev/null +++ b/print/lilypond/scripts/pre-configure @@ -0,0 +1,16 @@ +#!/bin/sh +outdir=out +cd ${WRKSRC} || exit 2 +echo "Patching for FlexLexer.h <->gcc3 issues" + +file=/usr/include/g++/FlexLexer.h + +echo -n "Copying and fixing $file... " +mkdir -p lily/$outdir +rm -f lily/$outdir/FlexLexer.h +sed \ + -e 's/istream/std::istream/' \ + -e 's/[^i]ostream/std::ostream/' \ + -e 's/iostream.h/iostream/' \ + $file > lily/$outdir/FlexLexer.h +echo "done" |