From 2573bdd414c42b2f5ddafa0d41a5592182b73df5 Mon Sep 17 00:00:00 2001 From: anray Date: Tue, 24 Jan 2006 18:54:29 +0000 Subject: Fix build and unbreak port. PR: ports/92277 Submitted by: rik --- print/lilypond/Makefile | 6 +----- print/lilypond/files/patch-mf:GNUMakefile | 2 +- print/lilypond/scripts/post-configure | 4 ++-- print/lilypond/scripts/post-patch | 4 ++-- 4 files changed, 6 insertions(+), 10 deletions(-) (limited to 'print') diff --git a/print/lilypond/Makefile b/print/lilypond/Makefile index cc6ed035e3b2..872bdcce21e4 100644 --- a/print/lilypond/Makefile +++ b/print/lilypond/Makefile @@ -57,10 +57,6 @@ CFLAGS+= ${CPPFLAGS} .include ALL_TARGET= all -.if ${OSVERSION} >= 502120 -BROKEN= "Does not compile on FreeBSD >= 5.x" -.endif - .if ${OSVERSION} < 500000 USE_GCC= 3.4 .endif @@ -83,7 +79,7 @@ pre-configure: .if !defined(WITH_SELFBUILT_FONTS) post-configure: - cd ${WRKSRC} && ${GMAKE} -C mf get-pfa + cd ${WRKSRC} && ${GMAKE} -C mf get-pfa DISTDIR=${DISTDIR} .endif post-install: diff --git a/print/lilypond/files/patch-mf:GNUMakefile b/print/lilypond/files/patch-mf:GNUMakefile index be812ad1539d..0862b73e0345 100644 --- a/print/lilypond/files/patch-mf:GNUMakefile +++ b/print/lilypond/files/patch-mf:GNUMakefile @@ -10,7 +10,7 @@ @echo "For obtaining PFA fonts, either install mftrace " @echo "(see http://www.xs4all.nl/~hanwen/mftrace/ )," - @echo "or try one of the following commands in this directory: " -+ @echo "or try one of the following commands in /usr/ports/print/lilypond/work/lilypond-2.2.2" ++ @echo "or try one of the following commands in /usr/ports/print/lilypond/work/lilypond-$(TOPLEVEL_VERSION)" @echo "" - @echo " make get-pfa " - @echo " make get-rpm-pfa " diff --git a/print/lilypond/scripts/post-configure b/print/lilypond/scripts/post-configure index 713c4d692b10..32ff6afe2fcf 100644 --- a/print/lilypond/scripts/post-configure +++ b/print/lilypond/scripts/post-configure @@ -7,8 +7,8 @@ cd ${WRKSRC} || exit 2 gmake conf=$CONF -C lily $outdir/lexer.cc || true mv $file $file.orig - sed -e 's/istream\*/std::istream*/g' \ - -e 's/ostream\*/std::ostream*/g' \ + sed -e 's/[^:]istream\*/std::istream*/g' \ + -e 's/[^:]ostream\*/std::ostream*/g' \ -e 's/class istream;/#include \/g' \ $file.orig > $file echo "done" diff --git a/print/lilypond/scripts/post-patch b/print/lilypond/scripts/post-patch index aff5fb958c45..9b09186e2d60 100644 --- a/print/lilypond/scripts/post-patch +++ b/print/lilypond/scripts/post-patch @@ -13,8 +13,8 @@ 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/[^:]istream/std::istream/' \ + -e 's/[^i:]ostream/std::ostream/' \ -e 's/iostream.h/iostream/' \ $file > lily/$outdir/FlexLexer.h echo "done" -- cgit