diff options
author | marino <marino@pkgsrc.org> | 2011-12-06 01:23:58 +0000 |
---|---|---|
committer | marino <marino@pkgsrc.org> | 2011-12-06 01:23:58 +0000 |
commit | 30a1cd50bb4911f1ee800d16ffa3a821669c0b87 (patch) | |
tree | 3edac0f432afa4f984f13c9758bacf7c294f5cd9 /print | |
parent | 9b935bde2afdd4926242c1bf6152e79f243b8621 (diff) | |
download | pkgsrc-30a1cd50bb4911f1ee800d16ffa3a821669c0b87.tar.gz |
print/lilypond: Fix for DragonFly
DragonFly needs devel/flex rather than USE_TOOLS+= lex in order to
build lilypond
Diffstat (limited to 'print')
-rw-r--r-- | print/lilypond/Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/print/lilypond/Makefile b/print/lilypond/Makefile index e49391531e9..70aceefa2d1 100644 --- a/print/lilypond/Makefile +++ b/print/lilypond/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.72 2011/11/01 06:02:25 sbd Exp $ +# $NetBSD: Makefile,v 1.73 2011/12/06 01:23:58 marino Exp $ # DISTNAME= lilypond-2.14.2 @@ -16,7 +16,7 @@ PKG_DESTDIR_SUPPORT= user-destdir GNU_CONFIGURE= YES USE_PKGLOCALEDIR= YES USE_LANGUAGES= c c++ -USE_TOOLS+= bison flex gmake gs:run makeinfo perl pkg-config msgfmt +USE_TOOLS+= bison gmake gs:run makeinfo perl pkg-config msgfmt USE_TOOLS+= texi2html MAKE_FILE= GNUmakefile @@ -42,6 +42,13 @@ PLIST_SUBST+= PKGVERSION=${PKGVERSION:S/nb${PKGREVISION}//} # 1.7 coredumps when generating eps files DEPENDS+= potrace>=1.8:../../graphics/potrace +.if ${OPSYS} == "DragonFly" +CONFIGURE_ENV+= LEX="${PREFIX}/bin/flex" +.include "../../devel/flex/buildlink3.mk" +.else +USE_TOOLS+= lex +.endif + .include "../../devel/pango/buildlink3.mk" .include "../../fonts/fontconfig/buildlink3.mk" .include "../../lang/guile/buildlink3.mk" |