1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

enable freetype support

PR:		30122
Submitted by:	KANOU Hiroki <kanou@mil.allnet.ne.jp>
This commit is contained in:
Ying-Chieh Liao 2001-10-14 18:21:19 +00:00
parent 0b278f3c0b
commit c4a653303c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=48764
2 changed files with 20 additions and 5 deletions

View File

@ -1,5 +1,5 @@
--- Makefile.orig Mon May 28 10:38:17 2001 --- Makefile.orig Mon May 28 11:38:17 2001
+++ Makefile Sun Aug 12 01:07:51 2001 +++ Makefile Mon Aug 27 16:14:29 2001
@@ -20,7 +20,7 @@ @@ -20,7 +20,7 @@
# #
# Default # Default
@ -9,16 +9,20 @@
# For GNU C # For GNU C
# #
@@ -54,7 +54,7 @@ @@ -54,18 +54,18 @@
# This WON'T BUILD with FT2-beta8, use the FreeType release 2.0. # This WON'T BUILD with FT2-beta8, use the FreeType release 2.0.
# http://download.sourceforge.net/freetype/freetype-2.0.tar.gz # http://download.sourceforge.net/freetype/freetype-2.0.tar.gz
-CFLAGS_FT= -CFLAGS_FT=
+CFLAGS_FT= `${FREETYPE_CONFIG} --cflags` +#CFLAGS_FT=
# To enable use of the FreeType-2 library # To enable use of the FreeType-2 library
# (if the include and lib directory do not match your installation, # (if the include and lib directory do not match your installation,
@@ -65,7 +65,7 @@ # modify them), also uncomment LIBS_FT
#
-#CFLAGS_FT = -DUSE_FREETYPE -I/usr/local/include/freetype2
+CFLAGS_FT = -DUSE_FREETYPE `${FREETYPE_CONFIG} --cflags` -I/usr/local/include
# #
# The FreeType-2 library flags (disabled by default) # The FreeType-2 library flags (disabled by default)

View File

@ -0,0 +1,11 @@
--- ft.c.orig Wed May 16 10:31:08 2001
+++ ft.c Mon Aug 27 17:58:55 2001
@@ -14,7 +14,7 @@
#include <sys/types.h>
#include <freetype/freetype.h>
#include <freetype/ftglyph.h>
-#include <freetype/ftnames.h>
+#include <freetype/ftsnames.h>
#include <freetype/ttnameid.h>
#include <freetype/ftoutln.h>
#include "pt1.h"