#
# add-UnixWare-support.patch
#
# configure.in
# First steps to add UnixWare support
#
--- openca-base-1.1.0/configure.in.old 2010-02-24 19:12:22.000000000 -0800
+++ openca-base-1.1.0/configure.in 2010-07-18 17:57:27.760968006 -0700
@@ -52,6 +52,9 @@
*hpux*) myarch=hpux
shlext=so
;;
+ *sysv5*) myarch=sysv5
+ shlext=so
+ ;;
*) AC_MSG_ERROR([Operating system ${build_os} not supported]) ;;
esac
@@ -98,7 +101,9 @@
#
# AC_SUBST(DIST_VERSION)
-if [[ -f "/etc/issue" ]] ; then
+if [[ "x$myarch" = "xsysv5" ]] ; then
+ DIST_NAME=`uname -s`
+elif [[ -f "/etc/issue" ]] ; then
DIST_NAME=`head -n 1 /etc/issue | cut -f 1,1 -d ' '`
else
DIST_NAME=`echo ${build_os} | $EGREP -o [[A-Za-z]]+`
@@ -111,6 +116,8 @@
if [[ "x$myarch" = "xsolaris" ]] ; then
DIST_VERSION=`uname -r`
+elif [[ "x$myarch" = "xsysv5" ]] ; then
+ DIST_VERSION=`uname -v`
else
if [[ -f "/etc/issue" ]] ; then
DIST_VERSION=`$EGREP -o [[0-9.]]+ /etc/issue | head -n 1`
--
Tim Rice Multitalents (707) 887-1469
t...@multitalents.net
#
# add-UnixWare-support.patch
#
# configure.in
# First steps to add UnixWare support
#
--- openca-base-1.1.0/configure.in.old 2010-02-24 19:12:22.000000000 -0800
+++ openca-base-1.1.0/configure.in 2010-07-18 17:57:27.760968006 -0700
@@ -52,6 +52,9 @@
*hpux*) myarch=hpux
shlext=so
;;
+ *sysv5*) myarch=sysv5
+ shlext=so
+ ;;
*) AC_MSG_ERROR([Operating system ${build_os} not supported]) ;;
esac
@@ -98,7 +101,9 @@
#
# AC_SUBST(DIST_VERSION)
-if [[ -f "/etc/issue" ]] ; then
+if [[ "x$myarch" = "xsysv5" ]] ; then
+ DIST_NAME=`uname -s`
+elif [[ -f "/etc/issue" ]] ; then
DIST_NAME=`head -n 1 /etc/issue | cut -f 1,1 -d ' '`
else
DIST_NAME=`echo ${build_os} | $EGREP -o [[A-Za-z]]+`
@@ -111,6 +116,8 @@
if [[ "x$myarch" = "xsolaris" ]] ; then
DIST_VERSION=`uname -r`
+elif [[ "x$myarch" = "xsysv5" ]] ; then
+ DIST_VERSION=`uname -v`
else
if [[ -f "/etc/issue" ]] ; then
DIST_VERSION=`$EGREP -o [[0-9.]]+ /etc/issue | head -n 1`
------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:
Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
OpenCA-Devel mailing list
OpenCA-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openca-devel