svn commit: r309603 - head/print/freetype2
Jeremy Messenger
mezz at FreeBSD.org
Sat Dec 29 04:40:19 UTC 2012
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 <jbeich at tormail.org>
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
More information about the svn-ports-head
mailing list