# HG changeset patch
# User David Kirkby <david.kirkby@onetel.net>
# Date 1280152005 -3600
# Node ID b7e7f98753a077ffc901ef8163115fd57df6dc23
# Parent 32e7f7a36ceae8858c8f21608540d2b87b61c9ce
#Force iconv to build on HP-UX in addition to the previous Solaris and Cygwin
diff -r 32e7f7a36cea -r b7e7f98753a0 SPKG.txt
a
|
b
|
|
28 | 28 | |
29 | 29 | == Changelog == |
30 | 30 | |
| 31 | === iconv-1.13.1.p3 (David Kirkby, July 26th 2010) === |
| 32 | * Do not assume bash is in /bin, as it is not on HP-UX |
| 33 | Instead use #!/usr/bin/env bash as suggested in the |
| 34 | Sage deveopers guide. |
| 35 | * Force install of iconv on HP-UX in addition to the |
| 36 | two previous platforms this was installed on |
| 37 | (Solaris and Cygwin) |
| 38 | * Additionally force make-check to run on HP-UX |
| 39 | |
31 | 40 | === iconv-1.13.1.p2 (John Palmieri, March 31st 2010) === |
32 | 41 | * spkg-check: only run 'make check' on Solaris and Cygwin. |
33 | 42 | |
diff -r 32e7f7a36cea -r b7e7f98753a0 spkg-check
a
|
b
|
|
1 | | #!/bin/bash |
| 1 | #!/usr/bin/env bash |
2 | 2 | |
3 | 3 | if [ -z "$SAGE_LOCAL" ]; then |
4 | 4 | echo "SAGE_LOCAL undefined ... exiting"; |
5 | 5 | exit 1 |
6 | 6 | fi |
7 | 7 | |
8 | | # Only test iconv on Solaris and Cygwin |
9 | | if [ "x$UNAME" != xSunOS ] && [ "x$UNAME" != xCYGWIN ] ; then |
| 8 | # Only test iconv on Solaris, HP-UX and Cygwin |
| 9 | if [ "x$UNAME" != xSunOS ] && [ "x$UNAME" != xCYGWIN ] && [ "x$UNAME" != xHP-UX ]; then |
10 | 10 | echo "'make check' for iconv will not be run, since iconv is" |
11 | | echo "only installed on Solaris and Cygwin - see:" |
| 11 | echo "only installed on HP-UX, Solaris and Cygwin - see:" |
12 | 12 | echo "http://trac.sagemath.org/sage_trac/ticket/8567" |
13 | 13 | exit 0 |
14 | 14 | fi |
… |
… |
|
30 | 30 | exit 1 |
31 | 31 | fi |
32 | 32 | |
| 33 | echo "All the tests for iconv passed" |
| 34 | exit 0 |
diff -r 32e7f7a36cea -r b7e7f98753a0 spkg-install
a
|
b
|
|
7 | 7 | fi |
8 | 8 | |
9 | 9 | |
10 | | # Only build iconv on Solaris and Cygwin |
11 | | if [ "x$UNAME" != xSunOS ] && [ "x$UNAME" != xCYGWIN ] ; then |
| 10 | # Only build iconv on Solaris, HP-UX and Cygwin |
| 11 | if [ "x$UNAME" != xSunOS ] && [ "x$UNAME" != xHP-UX ] && [ "x$UNAME" != xCYGWIN ] ; then |
12 | 12 | echo "iconv will not be installed, as we only need to build it on" |
13 | | echo "Solaris and Cygwin - see:" |
| 13 | echo "Solaris, HP-UX and Cygwin - see:" |
14 | 14 | echo "http://trac.sagemath.org/sage_trac/ticket/8567" |
15 | 15 | exit 0 |
16 | 16 | fi |