summaryrefslogtreecommitdiff
path: root/graphics/freetype2/patches/patch-aa
blob: 2487030bafb916cd2444d3d39679f4b5fc318ea6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-aa,v 1.2 2003/04/16 08:53:48 wiz Exp $

--- builds/unix/freetype-config.in.orig	Mon Dec 16 16:51:23 2002
+++ builds/unix/freetype-config.in
@@ -81,7 +81,7 @@ fi
 if test "$echo_cflags" = "yes" ; then
  cflags="-I@includedir@/freetype2"
  if test "@includedir@" != "/usr/include" ; then
-  echo -I@includedir@ $cflags
+  echo $cflags -I@includedir@
  else
   echo $cflags
  fi
@@ -90,7 +90,7 @@ fi
 if test "$echo_libs" = "yes" ; then
  libs="-lfreetype @LIBZ@"
  if test "@libdir@" != "/usr/lib" ; then
-  echo -L@libdir@ $libs
+  echo -L@libdir@ -Wl,@RPATH_FLAG@@libdir@ $libs
  else
   echo $libs
  fi