https://bugzilla.novell.com/show_bug.cgi?id=329266

           Summary: The mono.pc file should have a variable containing the
                    value of @sysconfdir@
           Product: Mono: Runtime
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: misc
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [EMAIL PROTECTED]
          Found By: ---


It would be useful if the mono.pc file defined a pkg-config variable that would
contain the value of @[EMAIL PROTECTED] That way one could programmatically in a
Makefile or script get the path to the machine.config file (for passing to
mkbundle2's --machine-config switch) even if mono has been configured with a
--sysconfdir switch that points to some random place instead of the "normal"
$prefix/etc.

This (untested) patch should do this:

Index: data/mono.pc.in
===================================================================
--- data/mono.pc.in     (revision 86493)
+++ data/mono.pc.in     (working copy)
@@ -2,6 +2,7 @@
 exec_prefix=${pcfiledir}/../..
 libdir=${prefix}/@reloc_libdir@
 includedir=${prefix}/include/[EMAIL PROTECTED]@
[EMAIL PROTECTED]@

 Name: Mono
 Description: Mono Runtime


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to