summaryrefslogtreecommitdiff
path: root/fonts/ttf2pk/patches/patch-ttf2pk-ab
blob: 3e40eef0f624f8c7c052d374c16b8ac3024e71de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
$NetBSD: patch-ttf2pk-ab,v 1.1.1.1 2004/10/09 14:15:22 hubertf Exp $

--- contrib/ttf2pk/configure.in.orig	Thu Jun 10 23:51:36 1999
+++ contrib/ttf2pk/configure.in
@@ -5,7 +5,7 @@ dnl Process this file with autoconf to p
 dnl Some tests are omitted since we assume that you've built the
 dnl FreeType library successfully.
 
-AC_INIT(../../lib/freetype.h)
+AC_INIT(ttf2pk.c)
 
 AC_CANONICAL_SYSTEM
 
@@ -47,12 +47,10 @@ fi
 AC_CHECK_LIB(m, floor)
 AC_CHECK_LIB(intl, gettext)
 
-OLDLIBS=$LIBS
-LIBS="$LIBS -L../../lib/.libs"
-CPPFLAGS="-I$srcdir/../../lib $CPPFLAGS"
+CPPFLAGS="$CPPFLAGS -I$prefix/include/freetype"
+
 AC_CHECK_LIB(ttf, TT_Init_FreeType, LIBS="$LIBS -lttf",[
              AC_MSG_ERROR([Can't find ttf library! Compile FreeType first.])])
-LIBS=$OLDLIBS
 
 dnl get Compiler flags right.