diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2003-12-31 17:42:48 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2003-12-31 17:42:48 +0000 |
commit | f069c11957f6769f877c5b06c5ca331ff939d317 (patch) | |
tree | d31549fcb82337f961ffaac0a0e776d35c500350 /print/lilypond-devel/scripts/pre-configure | |
parent | Update to DAT 4312 (diff) |
- Update to 2.1.4
- Unbreak on 5.x
- Update MASTER_SITES
PR: ports/60751
Submitted by: Patrick Atamaniuk <atamaniuk-ports@frobs.net> (maintainer)
Diffstat (limited to '')
-rw-r--r-- | print/lilypond-devel/scripts/pre-configure | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/print/lilypond-devel/scripts/pre-configure b/print/lilypond-devel/scripts/pre-configure index 5cc15b3de978..1c152bae56db 100644 --- a/print/lilypond-devel/scripts/pre-configure +++ b/print/lilypond-devel/scripts/pre-configure @@ -3,7 +3,11 @@ outdir=out cd ${WRKSRC} || exit 2 echo "Patching for FlexLexer.h <->gcc3 issues" -file=/usr/include/g++/FlexLexer.h +file="" +candidates=`find /usr/include/ -name FlexLexer.h` +#take first found file. +for d in $candidates; do if [ -f $d ]; then file=$d; break; fi; done +if [ -z "${file}" ]; then echo "Cannot find FlexLexer.h"; exit 2; fi echo -n "Copying and fixing $file... " mkdir -p lily/$outdir |