[Mono-bugs] [Bug 671953] New: Cannot override PKG_CONFIG_PATH with Mono's pkg-config

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Feb 14 23:22:25 EST 2011



           Summary: Cannot override PKG_CONFIG_PATH with Mono's pkg-config
    Classification: Mono
           Product: Mono: Runtime
           Version: 2.10.x
          Platform: x86-64
        OS/Version: Mac OS X 10.6
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: packaging
        AssignedTo: ajorgensen at novell.com
        ReportedBy: mhutchinson at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---

The pkg-config included with Mono on Mac has a script which sets pkg-config,
presumably to relocate it. Unfortunately, it inserts its values at the
beginning of PKG_CONFIG_PATH, which means that it's impossible to override
these pkgconfig paths.

I would suggest substituting it at the end:


Or instead overriding PKG_CONFIG_LIBDIR (if empty), which overrides the paths
built into the pkgconfig binary:

if [ -z "$PKG_CONFIG_LIBDIR" ]; then

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list