summaryrefslogtreecommitdiff
path: root/devel/ncurses/patches/patch-ab
blob: 4d3a14e3d00042ba6d64823ba09e16809a0d30b3 (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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
$NetBSD: patch-ab,v 1.4 1999/07/06 07:51:04 jlam Exp $

--- configure.orig	Thu Feb 12 18:46:01 1998
+++ configure	Fri Jul  2 03:04:33 1999
@@ -1628,6 +1628,7 @@
     test -z "$cf_dir" && cf_dir=/usr/man
     cf_rename=""
     cf_format=no
+    if false ; then	# install unformatted man pages
     for cf_name in $cf_dir/*/date.[01]* $cf_dir/*/date
     do
        cf_test=`echo $cf_name | sed -e 's/*//'`
@@ -1641,6 +1642,8 @@
 	  break
        fi
     done
+    else cf_form=cat
+    fi
     if test "$cf_form" != "unknown" ; then
        break
     fi
@@ -2103,7 +2106,7 @@
 
 	
 	case $DFT_LWR_MODEL in
-	normal)  DFT_DEP_SUFFIX='.a'   ;;
+	normal)  DFT_DEP_SUFFIX='.la'  ;;
 	debug)   DFT_DEP_SUFFIX='_g.a' ;;
 	profile) DFT_DEP_SUFFIX='_p.a' ;;
 	shared)
@@ -5310,7 +5313,7 @@
 
 # dependencies and linker-arguments for test-programs
 TEST_DEPS="${LIB_PREFIX}${LIB_NAME}${DFT_DEP_SUFFIX} $TEST_DEPS"
-TEST_ARGS="-l${LIB_NAME}${DFT_ARG_SUFFIX} $TEST_ARGS"
+TEST_ARGS="${LIB_PREFIX}${LIB_NAME}${DFT_DEP_SUFFIX} $TEST_ARGS"
 
 # dependencies and linker-arguments for utility-programs
 PROG_ARGS="$TEST_ARGS"
@@ -5353,16 +5356,16 @@
 EOF
 
 			TEST_DEPS="${LIB_PREFIX}${cf_dir}${DFT_DEP_SUFFIX} $TEST_DEPS"
-			TEST_ARGS="-l${cf_dir}${DFT_ARG_SUFFIX} $TEST_ARGS"
+			TEST_ARGS="${LIB_PREFIX}${cf_dir}${DFT_DEP_SUFFIX} $TEST_ARGS"
 		fi
 	fi
 done
 echo "$ac_t""$cf_cv_src_modules" 1>&6
-TEST_ARGS="-L${LIB_DIR} -L\$(libdir) $TEST_ARGS"
+TEST_ARGS="-L\$(libdir) $TEST_ARGS"
 
 
 
-PROG_ARGS="-L${LIB_DIR} -L\$(libdir) $PROG_ARGS"
+PROG_ARGS="-L\$(libdir) $PROG_ARGS"
 
 
 SRC_SUBDIRS="man include"
@@ -5888,7 +5891,7 @@
 			
 	
 	case $cf_item in
-	normal)  cf_suffix='.a'   ;;
+	normal)  cf_suffix='.la'  ;;
 	debug)   cf_suffix='_g.a' ;;
 	profile) cf_suffix='_p.a' ;;
 	shared)
@@ -5931,7 +5934,7 @@
 			
 	
 	case $cf_item in
-	normal)  cf_suffix='.a'   ;;
+	normal)  cf_suffix='.la'  ;;
 	debug)   cf_suffix='_g.a' ;;
 	profile) cf_suffix='_p.a' ;;
 	shared)
@@ -6120,7 +6123,7 @@
 		for i in `cat $srcdir/$cf_dir/headers |fgrep -v "#"`
 		do
 			echo "	@ (cd \$(INSTALL_PREFIX)\$(includedir) && rm -f `basename $i`) ; ../headers.sh \$(INSTALL_DATA) \$(INSTALL_PREFIX)\$(includedir) \$(srcdir) $i" >>$cf_dir/Makefile
-			test $i = curses.h && echo "	@ (cd \$(INSTALL_PREFIX)\$(includedir) && rm -f ncurses.h && \$(LN_S) curses.h ncurses.h)" >>$cf_dir/Makefile
+			test $i = curses.h && echo "	@ (cd \$(INSTALL_PREFIX)\$(includedir) && rm -f ncurses.h && mv -f curses.h ncurses.h)" >>$cf_dir/Makefile
 		done
 
 	cat >>$cf_dir/Makefile <<CF_EOF