#16274: include system pkgconfig path
-------------------------------------+-------------------------------------
       Reporter:  vbraun             |        Owner:
           Type:  defect             |       Status:  needs_review
       Priority:  blocker            |    Milestone:  sage-6.2
      Component:  build              |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Volker Braun       |    Reviewers:  Leif Leonhardy
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/vbraun/include_system_pkgconfig_path|  
1d3284e0e1b4512347b9293ed7ebf070bfd37041
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by leif):

 At least something along these lines:
 {{{
 #!diff
 diff --git a/build/pkgs/pkgconf/spkg-check b/build/pkgs/pkgconf/spkg-check
 index 843f6a0..9a0ecf7 100755
 --- a/build/pkgs/pkgconf/spkg-check
 +++ b/build/pkgs/pkgconf/spkg-check
 @@ -1,5 +1,13 @@
  #!/usr/bin/env bash

 +if grep '$SAGE_LOCAL/bin/pkgconf' "$SAGE_LOCAL"/bin/pkg-config
 >/dev/null; then
 +    echo "Skipping the tests, since no system-wide 'pkg-config' was
 present"
 +    echo "when 'pkgconf' got installed."
 +    echo "Remember to afterwards reinstall Sage's 'pkgconf' if you later
 decide"
 +    echo "to install a system-wide version of 'pkg-config'."
 +    exit 0
 +fi
 +
  # PC files that we do not ship but are likely available (mostly GUI
 stuff)
  pc_files="fontconfig gtk+-3.0 harfbuzz x11"

 }}}

 Although we could of course also really test our `pkgconf` with some
 (Sage-local) `.pc` files, not just the script we created.

--
Ticket URL: <http://trac.sagemath.org/ticket/16274#comment:41>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to