Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Jan 2014 17:35:22 GMT
From:      Markiyan Kushnir <markiyan.kushnir@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/185469: print/lilypond-devel fails to build with the latest freetype2
Message-ID:  <201401041735.s04HZMuN061665@oldred.freebsd.org>
Resent-Message-ID: <201401041740.s04He0Un025390@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         185469
>Category:       ports
>Synopsis:       print/lilypond-devel fails to build with the latest freetype2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 04 17:40:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Markiyan Kushnir
>Release:        11.0-CURRENT
>Organization:
>Environment:
FreeBSD mkushnir.mooo.com 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r260252: Sat Jan  4 13:28:37 EET 2014     root@vm.mkushnir.mooo.com:/usr/obj/usr/src.svnup/sys/MAREK  amd64

>Description:
A recent upgrade of freetype2 to 2.5.2 requires #include <freetype2/*.h>, not <freetype/*.h>. And print/lilypond-devel is no longer expected to compile, since it knows the old invocation <freetype/*.h>.
>How-To-Repeat:
cd /usr/ports/print/lilypond-devel && make (r338635 of ports/head for example)
>Fix:


Patch attached with submission follows:

--- ports.svn/print/lilypond-devel/Makefile	2014-01-04 10:52:32.000000000 +0200
+++ ports/print/lilypond-devel/Makefile	2014-01-04 19:12:24.000000000 +0200
@@ -75,6 +75,10 @@
 post-patch:
 	${REINPLACE_CMD} -e 's|<FlexLexer.h>|"/usr/include/FlexLexer.h"|' \
 	    ${WRKSRC}/lily/include/includable-lexer.hh
+.for i in freetype-error.cc open-type-font.cc pango-font.cc freetype.cc ttf.cc
+	${REINPLACE_CMD} -e 's|<freetype/|<freetype2/|' \
+	    ${WRKSRC}/lily/${i}
+.endfor
 .if !${PORT_OPTIONS:MNLS}
 	${REINPLACE_CMD} -e '/po \\$$/d' ${WRKSRC}/${MAKEFILE}.in
 .endif


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401041735.s04HZMuN061665>