Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 359918 Details for
Bug 474736
net-libs/h323plus-1.25.0-r1 fails to build against net-libs/ptlib-2.12.4 (missing ptlib-config)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
h323plus-1.25-ptlib-pkgconfig.patch
h323plus-1.25-ptlib-pkgconfig.patch (text/plain), 1.56 KB, created by
Chí-Thanh Christopher Nguyễn
on 2013-10-01 15:43:05 UTC
(
hide
)
Description:
h323plus-1.25-ptlib-pkgconfig.patch
Filename:
MIME Type:
Creator:
Chí-Thanh Christopher Nguyễn
Created:
2013-10-01 15:43:05 UTC
Size:
1.56 KB
patch
obsolete
>diff -ur a/configure.ac b/configure.ac >--- a/configure.ac 2013-09-24 23:05:12.000000000 +0200 >+++ b/configure.ac 2013-10-01 16:02:36.245065948 +0200 >@@ -63,7 +63,7 @@ > > dnl ######################################################################## > dnl look for ptlib, use a preference order of explicit PTLIBDIR, directory >-dnl at same level, home directory, /usr/local or /usr. >+dnl at same level, home directory, /usr/local or /usr, pkgconfig. > > if test "${PTLIBDIR:-unset}" != "unset" ; then > AC_CHECK_HEADER(${PTLIBDIR}/version.h, HAS_PTLIB=1) >@@ -98,6 +98,18 @@ > fi > > if test "${HAS_PTLIB:-unset}" = "unset" ; then >+ PKG_PROG_PKG_CONFIG >+ PKG_CHECK_MODULES([PTLIB], [ptlib], HAS_PTLIB=1) >+ if test ${HAS_PTLIB}x = 1x; then >+ PTLIBDIR=`${PKG_CONFIG} --variable=prefix ptlib` >+ PTVERSION=`${PKG_CONFIG} --modversion ptlib` >+ PT_MAJOR_VERSION=`echo $PTVERSION | cut -d'.' -f1` >+ PT_MINOR_VERSION=`echo $PTVERSION | cut -d'.' -f2` >+ PT_BUILD_NUMBER=`echo $PTVERSION | cut -d'.' -f3` >+ fi >+fi >+ >+if test "${HAS_PTLIB:-unset}" = "unset" ; then > echo "Cannot find ptlib - please install or set PTLIBDIR and try again" > exit > fi >@@ -117,7 +129,7 @@ > PT_MINOR_VERSION=`echo $PTVERSION | cut -d'.' -f2` > PT_BUILD_NUMBER=`echo $PTVERSION | cut -d'.' -f3` > >-else >+elif test "${PTVERSION:-unset}" = "unset" ; then > PT_MAJOR_VERSION=`cat ${PTLIBDIR}/version.h | grep MAJOR_VERSION | cut -f3 -d' '` > PT_MINOR_VERSION=`cat ${PTLIBDIR}/version.h | grep MINOR_VERSION | cut -f3 -d' '` > PT_BUILD_NUMBER=`cat ${PTLIBDIR}/version.h | grep BUILD_NUMBER | cut -f3 -d' '`
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 474736
:
351924
| 359918 |
359920