blob: 79699ba7a7016eca53dabcd141a7ae38ba7d8af3 (
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
|
$NetBSD: patch-ttf2pk-ab,v 1.2 2006/06/17 19:41:32 minskim Exp $
--- contrib/ttf2pk/configure.ac.orig 2002-06-20 10:34:37.000000000 -0700
+++ contrib/ttf2pk/configure.ac
@@ -6,7 +6,7 @@ dnl Some tests are omitted since we assu
dnl FreeType library successfully.
AC_INIT
-AC_CONFIG_SRCDIR([../../lib/freetype.h])
+AC_CONFIG_SRCDIR([ttf2pk.c])
AC_CANONICAL_TARGET([])
@@ -66,12 +66,9 @@ 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.
|