aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xfind-provides.in3
-rwxr-xr-xfind-requires.in5
2 files changed, 7 insertions, 1 deletions
diff --git a/find-provides.in b/find-provides.in
index c593d3c..0bb9dc4 100755
--- a/find-provides.in
+++ b/find-provides.in
@@ -68,11 +68,14 @@ done | sort -u
[ -x @RPMLIBDIR@/pkgconfigdeps.sh ] &&
echo "$filelist" | tr '[:blank:]' \\n | @RPMLIBDIR@/pkgconfigdeps.sh -P | sort -u
+if [ -n "$LIBTOOLDEP" ]; then
#
# --- libtooldep deps
[ -x @RPMLIBDIR@/libtooldeps.sh ] &&
echo "$filelist" | tr '[:blank:]' \\n | @RPMLIBDIR@/libtooldeps.sh -P | sort -u
+fi
+
#
# --- .so files.
for i in `echo $filelist | tr '[:blank:]' "\n" | egrep '(/usr(/X11R6)?)?/lib(|64)(/gcc(-lib)?/.+)?/[^/]+\.so$'`; do
diff --git a/find-requires.in b/find-requires.in
index cd98377..2c3bc28 100755
--- a/find-requires.in
+++ b/find-requires.in
@@ -195,12 +195,15 @@ fi
[ -x @RPMVENDORDIR@/php.req ] && \
echo $filelist | tr '[:blank:]' \\n | @RPMVENDORDIR@/php.req | sort -u
-if [ -n "$REQRPM446" ]; then
+if [ -n "$NOTYET" ]; then
#
# --- Pkgconfig deps
[ -x @RPMLIBDIR@/pkgconfigdeps.sh ] &&
echo "$filelist" | tr '[:blank:]' \\n | @RPMLIBDIR@/pkgconfigdeps.sh -R | sort -u
+fi
+
+if [ -n "$LIBTOOLDEP" ]; then
#
# --- libtooldep deps
[ -x @RPMLIBDIR@/libtooldeps.sh ] &&