packages: openh323/ptlib-check.patch (NEW) - fix parsing version from ptlib...

glen glen at pld-linux.org
Wed Dec 30 17:39:24 CET 2009


Author: glen                         Date: Wed Dec 30 16:39:24 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fix parsing version from ptlib-config --version

---- Files affected:
packages/openh323:
   ptlib-check.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/openh323/ptlib-check.patch
diff -u /dev/null packages/openh323/ptlib-check.patch:1.1
--- /dev/null	Wed Dec 30 17:39:24 2009
+++ packages/openh323/ptlib-check.patch	Wed Dec 30 17:39:19 2009
@@ -0,0 +1,18 @@
+--- openh323_v1_19_0_1/configure.ac	2009-12-30 18:27:19.040032357 +0200
++++ openh323_v1_19_0_1/configure.ac	2009-12-30 18:36:41.306850906 +0200
+@@ -88,11 +88,11 @@
+ 
+ echo "PWLib prefix set to.... $PWLIBDIR"
+ 
+-if test "${PWLIBDIR:-unset}" = "unset" ; then
++if test "${PTLIB_CONFIG:-unset}" != "unset" ; then
+   PWVERSION=`$PTLIB_CONFIG --version`
+-  PW_MAJOR_VERSION=`echo $PW_VERSION | cut -d'.' -f1`
+-  PW_MINOR_VERSION=`echo $PW_VERSION | cut -d'.' -f2`
+-  PW_BUILD_NUMBER=`echo $PW_VERSION | cut -d'.' -f3`
++  PW_MAJOR_VERSION=`echo $PWVERSION | cut -d'.' -f1`
++  PW_MINOR_VERSION=`echo $PWVERSION | cut -d'.' -f2`
++  PW_BUILD_NUMBER=`echo $PWVERSION | cut -d'.' -f3`
+   
+ else
+   PW_MAJOR_VERSION=`cat ${PWLIBDIR}/version.h | grep MAJOR_VERSION | cut -f3 -d' '`
================================================================


More information about the pld-cvs-commit mailing list