Date: Thu, 14 Sep 2006 23:32:43 +0800 From: chinsan <chinsan.tw@gmail.com> To: FreeBSD-gnats-submit@freebsd.org Cc: gnome@FreeBSD.org Subject: [PATCH] print/freetype2: Fix TTF_BYTECODE_ENABLED Message-ID: <20060914153333.C0CE92E9DF@smtp2.bc.hgc.com.tw>
next in thread | raw e-mail | index | archive | help
>Submitter-Id: current-users >Originator: chinsan >Organization: Taiwan >Confidential: no >Synopsis: [PATCH] print/freetype2: Fix TTF_BYTECODE_ENABLED >Severity: non-critical >Priority: low >Category: ports >Class: change-request >Release: FreeBSD 6.2-PRERELEASE i386 >Environment: System: FreeBSD BSD6.giga.hgc.com.tw 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #6: Thu Sep 14 09:46:10 CST 2006 >Description: - Fix TTF_BYTECODE_ENABLED Port maintainer (gnome@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- freetype2-2.1.10_6.patch begins here --- diff -ruN --exclude=CVS /usr/ports/print/freetype2/Makefile /usr/home/chinsan/project/freetype2/Makefile --- /usr/ports/print/freetype2/Makefile Thu Aug 24 05:19:41 2006 +++ /usr/home/chinsan/project/freetype2/Makefile Thu Sep 14 23:31:08 2006 @@ -7,7 +7,7 @@ PORTNAME= freetype2 PORTVERSION= 2.1.10 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:S,%SUBDIR%,freetype,} \ http://sunsite.cnlab-switch.ch/ftp/mirror/freetype/%SUBDIR%/ \ @@ -24,7 +24,7 @@ USE_BZIP2= yes USE_GMAKE= yes MAKE_ENV= TOP="" -INSTALLS_SHLIB= yes +USE_LDCONFIG= yes GNU_CONFIGURE= yes USE_GNOME= gnometarget pkgconfig LIBTOOLFILES= builds/unix/configure @@ -60,6 +60,10 @@ pre-patch: @${REINPLACE_CMD} -e 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' \ ${WRKSRC}/builds/unix/install.mk +.if !defined(WITHOUT_TTF_BYTECODE_ENABLED) + @${REINPLACE_CMD} -e '439 s,/\* \(.*\) \*/,\1,; 451 s,^\(.*\),/* \1 \*/,' \ + ${WRKSRC}/include/freetype/config/ftoption.h +.endif post-configure: @(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} setup) --- freetype2-2.1.10_6.patch ends here ---
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060914153333.C0CE92E9DF>