#9603: Force iconv to build on HP-UX in addition to Solaris and Cygwin.
----------------------------+-----------------------------------------------
Reporter: drkirkby | Owner: GeorgSWeber
Type: defect | Status: new
Priority: minor | Milestone: sage-5.0
Component: build | Keywords:
Author: David Kirkby | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
----------------------------+-----------------------------------------------
Currently iconv builds only on Solaris and Cygwin, as it caused problems
on some linux distributions.
It would be good if this would build on HP-UX too, as then some other
packages could be checked on HP-UX to aid testing on different platforms.
This ticket makes 3 changes.
* Changes {{{#!/bin/bash}}} to {{{#!/usr/bin/env bash}}} in spkg-check.
This in in conformance with the
[http://www.sagemath.org/doc/developer/producing_spkgs.html#creating-a
-new-spkg Sage Developers Guide] and is necessary on HP-UX as 'bash' is
not installed in /bin.
{{{
-#!/bin/bash
+#!/usr/bin/env bash
}}}
* Force install on HP-UX, instead of just Cygwin and Solaris. The relevant
bit of the patch is:
{{{
-# Only build iconv on Solaris and Cygwin
-if [ "x$UNAME" != xSunOS ] && [ "x$UNAME" != xCYGWIN ] ; then
+# Only build iconv on Solaris, HP-UX and Cygwin
+if [ "x$UNAME" != xSunOS ] && [ "x$UNAME" != xHP-UX ] && [ "x$UNAME" !=
xCYGWIN ] ; then
}}}
* Force iconv to be checked only HP-UX, in addition to Solaris and Cygwin
on which it was previously checked.
{{{
-if [ "x$UNAME" != xSunOS ] && [ "x$UNAME" != xCYGWIN ] ; then
+if [ "x$UNAME" != xSunOS ] && [ "x$UNAME" != xHP-UX ] && [ "x$UNAME" !=
xCYGWIN ] ; then
}}}
* Print all tests have pass if they have done. The relevant bit of the
patch is
{{{
+echo "All the tests for iconv passed"
+exit 0
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9603>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.