--- BUILD/ttf2pt1-3.4.3/Makefile.makefile 2002-08-30 20:03:07.000000000 +0200
+++ BUILD/ttf2pt1-3.4.3/Makefile 2003-10-26 13:16:25.000000000 +0100
@@ -9,7 +9,7 @@
#
# Use GNU C even if it's not the default compiler
#
-#CC=gcc
+CC=gcc
#
# Use the standard ANSI C compiler on HP-UX even if it's not default
#
@@ -20,7 +20,7 @@
#
# Default
-CFLAGS_SYS= -O
+#CFLAGS_SYS= -O
# For GNU C
#
@@ -28,7 +28,7 @@
#
# For GNU C with long options support library (Linux etc.)
#
-#CFLAGS_SYS= -O2 -D_GNU_SOURCE
+CFLAGS_SYS= -D_GNU_SOURCE $(RPM_OPT_FLAGS)
#
# For GNU C on HP-UX/PA-RISC 1.1
#
@@ -54,24 +54,24 @@
# This WON'T BUILD with FT2-beta8, use the FreeType release 2.0.4
# http://download.sourceforge.net/freetype/freetype-2.0.4.tar.gz
-CFLAGS_FT=
+#CFLAGS_FT=
# To enable use of the FreeType-2 library
# (if the include and lib directory do not match your installation,
# modify them), also uncomment LIBS_FT
#
-#CFLAGS_FT = -DUSE_FREETYPE -I/usr/local/include/freetype2 -I/usr/local/include
+CFLAGS_FT = -DUSE_FREETYPE -I/usr/include/freetype2 -I/usr/include
#
# The FreeType-2 library flags (disabled by default)
-LIBS_FT=
+#LIBS_FT=
# To enable use of the FreeType-2 library
# (if the include and lib directory do not match your installation,
# modify them), also uncomment CFLAGS_FT
#
-#LIBS_FT= -L/usr/local/lib -lfreetype
+LIBS_FT= -L/usr/lib -lfreetype
#
# The flags for C compiler for the Autotrace library (disabled by default).
@@ -135,12 +135,6 @@
# After you have configured the Makefile, comment out the following
# definition:
-warning: docs
- @echo >&2
- @echo " You have to configure the Makefile before running make!" >&2
- @echo "(or if you are lazy and hope that it will work as is run \`make all')">&2
- @echo >&2
-
DOCS=CHANGES README FONTS FONTS.hpux encodings/README other/README \
app/X11/README app/netscape/README app/TeX/README