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@tormail.org>
This commit is contained in:
Jeremy Messenger 2012-12-29 04:40:18 +00:00
parent a2a49934f8
commit bf69342e81
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=309603

View file

@ -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