diff options
author | Jeremy Messenger <mezz@FreeBSD.org> | 2013-03-20 00:30:59 +0000 |
---|---|---|
committer | Jeremy Messenger <mezz@FreeBSD.org> | 2013-03-20 00:30:59 +0000 |
commit | c31d8e0e83733fc6177d9e188d982c75e9fdc843 (patch) | |
tree | be6ab14fd0aa8ba5f778774643483afcfd1f5197 /print | |
parent | 900072b495c45401ce6b503405b1ae72f9447a3f (diff) | |
download | ports-c31d8e0e83733fc6177d9e188d982c75e9fdc843.tar.gz ports-c31d8e0e83733fc6177d9e188d982c75e9fdc843.zip |
Notes
Diffstat (limited to 'print')
-rw-r--r-- | print/freetype2/Makefile | 25 |
1 files changed, 5 insertions, 20 deletions
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 <bsd.port.options.mk> -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: |