$NetBSD: patch-ttf2pk-af,v 1.2 2011/01/25 22:22:13 shattered Exp $

--- contrib/ttf2pk/configure.orig	2002-11-15 01:41:24.000000000 -0800
+++ contrib/ttf2pk/configure
@@ -267,7 +267,7 @@ PACKAGE_VERSION=
 PACKAGE_STRING=
 PACKAGE_BUGREPORT=
 
-ac_unique_file="../../lib/freetype.h"
+ac_unique_file="ttf2pk.c"
 # Factoring default headers for most tests.
 ac_includes_default="\
 #include <stdio.h>
@@ -3089,9 +3089,7 @@ _ACEOF
 fi
 
 
-OLDLIBS=$LIBS
-LIBS="$LIBS -L../../lib/.libs"
-CPPFLAGS="-I$srcdir/../../lib $CPPFLAGS"
+CPPFLAGS="$CPPFLAGS -I$prefix/include/freetype"
 echo "$as_me:$LINENO: checking for TT_Init_FreeType in -lttf" >&5
 echo $ECHO_N "checking for TT_Init_FreeType in -lttf... $ECHO_C" >&6
 if test "${ac_cv_lib_ttf_TT_Init_FreeType+set}" = set; then
@@ -3150,7 +3148,6 @@ echo "$as_me: error: Can't find ttf libr
    { (exit 1); exit 1; }; }
 fi
 
-LIBS=$OLDLIBS
 
 
 if test "x$CC" = xgcc; then
