summaryrefslogtreecommitdiff
path: root/graphics/magicpoint/patches/patch-aa
blob: 419b147a5a55782854090d7370a6b5de252f412f (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
$NetBSD: patch-aa,v 1.9 2003/09/11 16:09:40 jmmv Exp $

--- configure.orig	2003-05-28 07:34:23.000000000 +0200
+++ configure
@@ -4108,7 +4108,7 @@ if test "$mgp_use_freetype" = "yes"; the
   # XXX: freetype2 may use freetype-config
  	echo "$as_me:$LINENO: checking for freetype1 library/header" >&5
 echo $ECHO_N "checking for freetype1 library/header... $ECHO_C" >&6
- 	for dir in /usr/local/freetype /usr/local /opt/freetype /usr/pkg /usr /usr/include/freetype1 ; do
+ 	for dir in ${BUILDLINK_DIR}; do
  		ac_cv_ft_lib=no
  		ac_cv_ft_include=no
 		shlib1=`echo $dir/lib/libttf.so* | head -1 | sed -e 's/.*\///'`
@@ -4643,7 +4643,7 @@ echo "${ECHO_T}$mgp_use_vflib" >&6
 if test "$mgp_use_vflib" = "yes"; then
 	echo "$as_me:$LINENO: checking for VFlib library/header" >&5
 echo $ECHO_N "checking for VFlib library/header... $ECHO_C" >&6
-	for dir in /usr/local/VFlib /usr/local/vflib /usr/local /usr/pkg /usr; do
+	for dir in ${BUILDLINK_DIR}; do
 		ac_cv_vf_libname=VFlib
 		ac_cv_vf_libdir=no
 		ac_cv_vf_hdrdir=no
@@ -4867,7 +4867,7 @@ _ACEOF
 
   fi
 else
-  for i in /usr/pkg /usr/local /usr; do
+  for i in ${BUILDLINK_DIR}; do
 	if test -f $i/include/png.h; then
 		if test -f $i/lib/libpng.a ; then
 			DEPLIBS="$DEPLIBS $i/lib/libpng.a"
@@ -5010,7 +5010,7 @@ fi
   done
 fi
 
-for i in /usr/pkg /usr/local /usr; do
+for i in ${BUILDLINK_DIR}; do
 	if test -f $i/include/libmng.h; then
 		if test -f $i/lib/libmng.a ; then
 			DEPLIBS="$DEPLIBS $i/lib/libmng.a"
@@ -5647,7 +5647,7 @@ fi
 		echo 'FATAL: You need libungif to use gif images.  pass proper LIBS to configure.'
 		exit 1
 	fi
-	for i in /usr/pkg /usr/local /usr; do
+	for i in ${BUILDLINK_DIR}; do
 		if test -f $i/include/gif_lib.h; then
 			gif_h_ok=yes
 			OPTFLAGS="$OPTFLAGS -I$i/include"
@@ -5757,7 +5757,7 @@ fi
 		echo 'FATAL: You need libImlib to use Imlib loading.  pass proper LIBS to configure.'
 		exit 1
 	fi
-	for i in /usr/pkg /usr/local; do
+	for i in ${BUILDLINK_DIR}; do
 		if test -f $i/include/Imlib.h; then
 			imlib_h_ok=yes
 			OPTFLAGS="$OPTFLAGS -I$i/include"