From c31d8e0e83733fc6177d9e188d982c75e9fdc843 Mon Sep 17 00:00:00 2001 From: Jeremy Messenger Date: Wed, 20 Mar 2013 00:30:59 +0000 Subject: -OPTIONSng and remove pre-everything. -Remove the CJK stuff since it has been disabled for very long time. PR: ports/175640 Submitted by: Donald Stewart --- print/freetype2/Makefile | 25 +++++-------------------- 1 file changed, 5 insertions(+), 20 deletions(-) (limited to 'print') diff --git a/print/freetype2/Makefile b/print/freetype2/Makefile index 4b78b5f1f0f8..da9c39c323cc 100644 --- a/print/freetype2/Makefile +++ b/print/freetype2/Makefile @@ -27,28 +27,13 @@ USE_GNOME= ltverhack:9 LIBTOOLFILES= builds/unix/configure CONFIGURE_WRKSRC= ${WRKSRC}/builds/unix -.if defined(WITH_LCD_FILTERING) -CFLAGS+= -DFT_CONFIG_OPTION_SUBPIXEL_RENDERING -.endif +OPTIONS_DEFINE= LCD_FILTERING +LCD_FILTERING_DESC?= Sub-pixel rendering (patented) -.if defined(WITH_CJK) -#PATCH_SITES+= http://lwj-hinet.myweb.hinet.net/ \ -# ftp://local-distfiles.freebsd.org.cn/pub/china-ports/hamigua/ \ -# http://bsdchat.com/dist/firefly-cjk-patchset/ -#PATCHFILES+= cjk-freetype-2.1.10-20051219.patch.gz -#PATCH_DIST_STRIP+= -p1 -.endif +.include -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} +.if ${PORT_OPTIONS:MLCD_FILTERING} +CFLAGS+= -DFT_CONFIG_OPTION_SUBPIXEL_RENDERING .endif pre-patch: -- cgit v1.2.3