summaryrefslogtreecommitdiff
path: root/mail/pine/patches/patch-al
blob: fe263ad6c815173acbacf6623462640d61a0a3e9 (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
$NetBSD: patch-al,v 1.6 2000/09/19 13:27:01 hubertf Exp $

--- build.orig	Mon Nov 15 23:16:25 1999
+++ build
@@ -180,7 +180,7 @@
      mnt) makeargs="CC=gcc $makeargs" ;;
      bs3) makeargs="CC=shlicc $makeargs" ;;
      lyn) [ -f /CYGNUS.bash ] && . /CYGNUS.bash; makeargs="CC=gcc $makeargs" ;;
-       *) makeargs="CC=cc $makeargs" ;;
+       *) makeargs="CC=${LT}\ cc $makeargs" ;;
   esac
 fi
 
@@ -277,23 +277,17 @@
 	  esac
 	fi
 
-        if [ -s c-client ] ; then rm -f c-client ; fi
-        ln -s imap/c-client c-client
-        if [ -s mtest    ] ; then rm -f mtest    ; fi
-        ln -s imap/mtest mtest
-        if [ -s imapd    ] ; then rm -f imapd    ; fi
-        ln -s imap/imapd imapd
-        echo "Making c-client library, mtest and imapd"
-        eval echo make "$makeargs" "$K1" "$K2" $ccltarg
-        cd $PHOME/imap
-        eval make "$makeargs" "$K1" "$K2" $ccltarg
-        echo ''
-
-        echo "Making Pico and Pilot"
-        cd $PHOME/pico
-        eval echo make "$makeargs" -f makefile.$picotarg
-        eval make "$makeargs" -f makefile.$picotarg
-        echo ''
+# We use the ima-uw pkg's stuff for that, see
+# http://www.securityfocus.com/advisories/2646:
+#       if [ -s c-client ] ; then rm -f c-client ; fi
+#       ln -s imap/c-client c-client
+#       if [ -s mtest    ] ; then rm -f mtest    ; fi
+#       ln -s imap/mtest mtest
+#       echo "Making c-client library, mtest and imapd"
+#       eval echo make "$makeargs" "$K1" "$K2" $ccltarg
+#       cd $PHOME/imap
+#       eval make "$makeargs" "$K1" "$K2" $ccltarg
+#       echo ''
 
         echo "Making Pine".
         cd $PHOME/pine
@@ -310,8 +304,6 @@
         if [ -s ../pico/pilot ] ;     then ln ../pico/pilot pilot ; fi
         cd $PHOME
         echo ''
-        echo "Links to executables are in bin directory:"
-        size bin/pine bin/mtest bin/imapd bin/pico bin/pilot
 	case $maketarg in
 	    mnt)    echo "Fixing stacksizes ..."
 		    fixstk 64K bin/pine bin/pico bin/imapd bin/mtest bin/pilot