Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4:Update
rpm
pkgconfig-0.24.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pkgconfig-0.24.diff of Package rpm
Index: ./scripts/pkgconfigdeps.sh =================================================================== --- ./scripts/pkgconfigdeps.sh +++ ./scripts/pkgconfigdeps.sh @@ -11,6 +11,13 @@ test -x $pkgconfig || { exit 0 } +`$pkgconfig --exists "pkg-config >= 0.24" 2> /dev/null` +if [ $? -eq 0 ]; then + PRINT_REQUIRES="--print-requires --print-requires-private" +else + PRINT_REQUIRES="--print-requires" +fi + case $1 in -P|--provides) while read filename ; do @@ -39,7 +46,7 @@ case $1 in [ $i -eq 1 ] && echo "$pkgconfig" DIR="`dirname ${filename}`" export PKG_CONFIG_PATH="$DIR:$DIR/../../share/pkgconfig" - $pkgconfig --print-requires "$filename" 2> /dev/null | while read n r v ; do + $pkgconfig $PRINT_REQUIRES "$filename" 2> /dev/null | while read n r v ; do [ -n "$n" ] || continue echo -n "pkgconfig($n) " [ -n "$r" ] && [ -n "$v" ] && echo -n "$r" "$v"
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor