From owner-svn-ports-head@FreeBSD.ORG Sat Dec 29 04:40:19 2012 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3EDE54A6; Sat, 29 Dec 2012 04:40:19 +0000 (UTC) (envelope-from mezz@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 08FDA8FC16; Sat, 29 Dec 2012 04:40:19 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qBT4eInJ074580; Sat, 29 Dec 2012 04:40:18 GMT (envelope-from mezz@svn.freebsd.org) Received: (from mezz@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qBT4eInh074579; Sat, 29 Dec 2012 04:40:18 GMT (envelope-from mezz@svn.freebsd.org) Message-Id: <201212290440.qBT4eInh074579@svn.freebsd.org> From: Jeremy Messenger Date: Sat, 29 Dec 2012 04:40:18 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r309603 - head/print/freetype2 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Dec 2012 04:40:19 -0000 Author: mezz Date: Sat Dec 29 04:40:18 2012 New Revision: 309603 URL: http://svnweb.freebsd.org/changeset/ports/309603 Log: Backout on the WITH_LCD_FILTERING part. It's not enable by default, which it was some different render that got enabled. The subpixel rendering is still patented. Therefore, add back the WITH_LCD_FILTERING optional for anyone that who want to enable it. Reported by: Jan Beich Modified: head/print/freetype2/Makefile Modified: head/print/freetype2/Makefile ============================================================================== --- head/print/freetype2/Makefile Sat Dec 29 04:36:59 2012 (r309602) +++ head/print/freetype2/Makefile Sat Dec 29 04:40:18 2012 (r309603) @@ -27,6 +27,10 @@ USE_GNOME= pkgconfig ltverhack:9 LIBTOOLFILES= builds/unix/configure CONFIGURE_WRKSRC= ${WRKSRC}/builds/unix +.if defined(WITH_LCD_FILTERING) +CFLAGS+= -DFT_CONFIG_OPTION_SUBPIXEL_RENDERING +.endif + .if defined(WITH_CJK) #PATCH_SITES+= http://lwj-hinet.myweb.hinet.net/ \ # ftp://local-distfiles.freebsd.org.cn/pub/china-ports/hamigua/ \ @@ -35,6 +39,18 @@ CONFIGURE_WRKSRC= ${WRKSRC}/builds/unix #PATCH_DIST_STRIP+= -p1 .endif +pre-everything:: +.if !defined(WITH_LCD_FILTERING) + @${ECHO_MSG} + @${ECHO_MSG} "You may want to enable LCD filtering." + @${ECHO_MSG} + @${ECHO_MSG} "Hit Ctrl-C now and use \"make WITH_LCD_FILTERING=yes\"" + @${ECHO_MSG} + @${ECHO_MSG} "Note that there are possible patent issues related to the" + @${ECHO_MSG} "use of the LCD filtering technology." + @${ECHO_MSG} +.endif + pre-patch: @${REINPLACE_CMD} -e 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' \ ${WRKSRC}/builds/unix/install.mk