diff options
author | Oliver Eikemeier <eik@FreeBSD.org> | 2003-11-20 20:15:42 +0000 |
---|---|---|
committer | Oliver Eikemeier <eik@FreeBSD.org> | 2003-11-20 20:15:42 +0000 |
commit | 9869294faa57b8965984ee53acc0164b28d9f567 (patch) | |
tree | 27ee5834cd292af69978480b49e6f4c31caf7757 /print/lilypond-devel/scripts/pre-configure | |
parent | Fix a typo. (diff) |
development version of print/lilypond:
"usually quite stable and very usable, providing wanted new features."
PR: 58260
Submitted by: Patrick Atamaniuk <atamaniuk-ports@frobs.net>
Approved by: marcus (mentor)
Diffstat (limited to '')
-rw-r--r-- | print/lilypond-devel/scripts/pre-configure | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/print/lilypond-devel/scripts/pre-configure b/print/lilypond-devel/scripts/pre-configure new file mode 100644 index 000000000000..5cc15b3de978 --- /dev/null +++ b/print/lilypond-devel/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" |