aboutsummaryrefslogtreecommitdiffstats
path: root/find-requires.in
diff options
context:
space:
mode:
authorOlivier Thauvin <nanardon@mandriva.org>2006-05-31 20:22:39 +0000
committerOlivier Thauvin <nanardon@mandriva.org>2006-05-31 20:22:39 +0000
commit42a7a87cd19bc53a7002b115d211d01f64214110 (patch)
tree402de509244aa1a72812c2ff249daa96b8ad6b5f /find-requires.in
parent4f7bc6d0f56b2be9eb2069e146ea1552e575f422 (diff)
downloadrpm-setup-42a7a87cd19bc53a7002b115d211d01f64214110.tar
rpm-setup-42a7a87cd19bc53a7002b115d211d01f64214110.tar.gz
rpm-setup-42a7a87cd19bc53a7002b115d211d01f64214110.tar.bz2
rpm-setup-42a7a87cd19bc53a7002b115d211d01f64214110.tar.xz
rpm-setup-42a7a87cd19bc53a7002b115d211d01f64214110.zip
- enable pkgconfig & libtool provides
Diffstat (limited to 'find-requires.in')
-rwxr-xr-xfind-requires.in15
1 files changed, 14 insertions, 1 deletions
diff --git a/find-requires.in b/find-requires.in
index c03eba5..79abe2c 100755
--- a/find-requires.in
+++ b/find-requires.in
@@ -191,7 +191,20 @@ fi
# --- Php modules.
[ -x @RPMVENDORDIR@/php.req ] && \
echo $filelist | tr '[:blank:]' \\n | @RPMVENDORDIR@/php.req | sort -u
-
+
+if [ -n "$REQRPM446" ]; then
+#
+# --- Pkgconfig deps
+[ -x @RPMLIBDIR@/pkgconfigdeps.sh ] &&
+ echo "$filelist" | tr '[:blank:]' \\n | @RPMLIBDIR@/pkgconfigdeps.sh -R | sort -u
+
+#
+# --- libtooldep deps
+[ -x @RPMLIBDIR@/libtooldeps.sh ] &&
+ echo "$filelist" | tr '[:blank:]' \\n | @RPMLIBDIR@/libtooldeps.sh -R | sort -u
+
+fi
+
#
# --- .so files.
for i in `echo $filelist | tr '[:blank:]' "\n" | egrep "(/usr(/X11R6)?)?/lib(|64)/[^/]+\.so$"`; do