summaryrefslogtreecommitdiff
path: root/graphics/aalib/patches/patch-ac
blob: 99ff087230b6bcefc95c57db678f31a90576ed8a (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
$NetBSD: patch-ac,v 1.1 2005/12/11 09:40:44 wiz Exp $

--- configure.orig	2001-04-26 14:44:54.000000000 +0000
+++ configure
@@ -3145,7 +3145,7 @@ EOF
   
     if $search_slang
     then
-        if test -f /usr/local/include/slang.h
+        if test -f BUILDLINK_SL/include/slang.h
 	then
 	    LIBS1="$LIBS"
  	    LIBS="$LIBS "
@@ -3197,10 +3197,10 @@ else
 fi
 
             if test "x$ac_cv_lib_slang_SLsmg_init_smg" = xyes; then 
-	      echo "$ac_t""Found slang on /usr/local/include/slang.h" 1>&6
+	      echo "$ac_t""Found slang on BUILDLINK_SL/include/slang.h" 1>&6
 	      AALIB_LIBS="$AALIB_LIBS  -lslang"
  	      LIBS="$LIBS "
-	      CFLAGS="$CFLAGS -I/usr/local/include/slang "
+	      CFLAGS="$CFLAGS -IBUILDLINK_SL/include/slang "
               slang_driver=true
 	      search_slang=false
 	      cat >> confdefs.h <<\EOF
@@ -3453,7 +3453,7 @@ EOF
     
     if $search_ncurses
     then
-        if test -f /usr/local/include/ncurses.h
+        if test -f BUILDLINK_NC/include/ncurses.h
 	then
 	    LIBS1="$LIBS"
  	    LIBS="$LIBS "
@@ -3505,13 +3505,13 @@ else
 fi
 
             if test "x$ac_cv_lib_ncurses_initscr" = xyes; then 
-	      echo "$ac_t""Found ncurses on /usr/local/include/ncurses.h" 1>&6
+	      echo "$ac_t""Found ncurses on BUILDLINK_NC/include/ncurses.h" 1>&6
 	      AALIB_LIBS="$AALIB_LIBS  -lncurses"
  	      LIBS="$LIBS "
-	      CFLAGS="$CFLAGS -L/usr/local/lib"
+	      CFLAGS="$CFLAGS -LBUILDLINK_NC/lib"
 	      search_ncurses=false
               curses_driver=true
-	      screen_manager=-I/usr/local/include
+	      screen_manager=-IBUILDLINK_NC/include
 	      cat >> confdefs.h <<\EOF
 #define USE_NCURSES 1
 EOF