Date: Tue, 30 Sep 2003 17:33:31 -0500 (CDT) From: Jeremy Messenger <mezz7@cox.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/57433: Patch port: print/freetype2, add WITH_BYTECODE_INTERPRETER define.. Message-ID: <200309302233.h8UMXVXQ037555@ns1.mezzweb.com> Resent-Message-ID: <200309302300.h8UN0R7B066407@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 57433 >Category: ports >Synopsis: Patch port: print/freetype2, add WITH_BYTECODE_INTERPRETER define.. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Sep 30 16:00:26 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Mezz >Release: FreeBSD 5.1-CURRENT i386 >Organization: >Environment: System: FreeBSD ns1.mezzweb.com 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Wed Aug 13 22:39:47 CDT 2003 mezz@mezz.mezzweb.com:/usr/obj/usr/src/sys/BSDROCKS i386 >Description: Add a new option, a WITH_BYTECODE_INTERPRETER define, for people who want to have the bytecode interpreter enable. >How-To-Repeat: >Fix: I have tested and it seems work fine. --- freetype2.diff begins here --- diff -ur freetype2.orig/Makefile freetype2/Makefile --- freetype2.orig/Makefile Tue Sep 30 13:45:14 2003 +++ freetype2/Makefile Tue Sep 30 17:40:59 2003 @@ -31,9 +31,21 @@ CONFIGURE_ARGS= --disable-nls CONFIGURE_WRKSRC= ${WRKSRC}/builds/unix +pre-everything:: +.if !defined(WITH_BYTECODE_INTERPRETER) + @${ECHO_MSG} "" + @${ECHO_MSG} "FreeType has the following tunable option(s):" + @${ECHO_MSG} " WITH_BYTECODE_INTERPRETER=yes Enable bytecode interpreter in the TrueType driver" + @${ECHO_MSG} "" +.endif + pre-patch: @${REINPLACE_CMD} -e 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' \ ${WRKSRC}/builds/unix/install.mk +.if defined(WITH_BYTECODE_INTERPRETER) + @${REINPLACE_CMD} -e '403s|^|#define TT_CONFIG_OPTION_BYTECODE_INTERPRETER|g' \ + ${WRKSRC}/include/freetype/config/ftoption.h +.endif post-configure: @(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} setup) --- freetype2.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200309302233.h8UMXVXQ037555>