pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/47272: patch to devel/ptlib to add ptlib-config to buildlink



>Number:         47272
>Category:       pkg
>Synopsis:       patch to devel/ptlib to add ptlib-config to buildlink
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Dec 01 12:25:00 +0000 2012
>Originator:     murray armfield
>Release:        NetBSD-6.0
>Organization:
>Environment:
NetBSD netbsd 6.0 NetBSD 6.0 (GENERIC) amd64
>Description:
While I've been playing with porting gnugk and h323plus as a requirement, the 
h323plus configure script fails to see devel/ptlib. The h323plus configure 
script is trying to use ptlib-config to find the ptlib install and cannot find 
it. This can simply be fixed by adding:

PTLIB_CONFIG?=         ${BUILDLINK_PREFIX.ptlib}/bin/ptlib-config
CONFIGURE_ENV+=                PTLIB_CONFIG=${PTLIB_CONFIG:Q}

to the devel/ptlib/buildlink3.mk file. A patch to add this to the 
devel/ptlib/buildlink3.mk file is attached.
>How-To-Repeat:

>Fix:
--- devel/ptlib/buildlink3.mk.orig      2012-12-01 23:05:57.000000000 +1100
+++ devel/ptlib/buildlink3.mk   2012-12-01 23:12:13.000000000 +1100
@@ -9,6 +9,9 @@
 BUILDLINK_ABI_DEPENDS.ptlib+=  ptlib>=2.6.5nb2
 BUILDLINK_PKGSRCDIR.ptlib?=    ../../devel/ptlib
 
+PTLIB_CONFIG?=         ${BUILDLINK_PREFIX.ptlib}/bin/ptlib-config
+CONFIGURE_ENV+=                PTLIB_CONFIG=${PTLIB_CONFIG:Q}
+
 .include "../../devel/SDL/buildlink3.mk"
 .include "../../databases/openldap-client/buildlink3.mk"
 .include "../../security/openssl/buildlink3.mk"



Home | Main Index | Thread Index | Old Index