Attachment 'readline-5.2.p6.patch'
Download 1 --- readline-5.2.p6/spkg-install~ 2009-02-03 06:28:32.000000000 +1100
2 +++ readline-5.2.p6/spkg-install 2009-03-01 10:13:39.791506114 +1100
3 @@ -70,6 +70,8 @@
4 DYLIB_NAME=$SAGE_LOCAL/lib/libreadline.dll.a
5 elif [ "$UNAME" = "OpenBSD" ]; then
6 DYLIB_NAME=$SAGE_LOCAL/lib/libreadline.so.5.2
7 +elif [ "$UNAME" = "FreeBSD" ]; then
8 + DYLIB_NAME=$SAGE_LOCAL/lib/libreadline.so.5
9 else
10 DYLIB_NAME=$SAGE_LOCAL/lib/libreadline.so
11 fi
12 @@ -90,6 +92,10 @@
13 # Fix permissions.
14 chmod 755 $SAGE_LOCAL/lib/libreadline.*
15 chmod 755 $SAGE_LOCAL/lib/libhistory.*
16 + if [ "$UNAME" = "FreeBSD" ]; then
17 + ln -s libreadline.so.5 $SAGE_LOCAL/lib/libreadline.so
18 + ln -s libhistory.so.5 $SAGE_LOCAL/lib/libhistory.so
19 + fi
20 exit 0
21 else
22 echo "Readline's build claims to have finished, but files that should have been built weren't."
Attached Files
To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.You are not allowed to attach a file to this page.