#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:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/vbraun/include_system_pkgconfig_path|  
afcbfaf2ebadbc81eec58cdc9060c1ae2be6c94d
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by leif):

 {{{
 #!sh
 $ pkg-config --debug 2>&1 | awk '/^Scanning /{
 path[i++]=substr($3,2,length($3)-2) } END{ for(j=0;j<i;j++)
 printf("%s%s",path[j],(j==i-1)?"\n":":") }'
 /usr/local/lib/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig
 }}}

 :-)

 But `awk` may be `gawk` or whatever...

--
Ticket URL: <http://trac.sagemath.org/ticket/16274#comment:5>
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