aboutsummaryrefslogtreecommitdiff
path: root/ports-mgmt
diff options
context:
space:
mode:
authorDoug Barton <dougb@FreeBSD.org>2010-04-11 22:41:21 +0000
committerDoug Barton <dougb@FreeBSD.org>2010-04-11 22:41:21 +0000
commitaa3ee8b1376df07a2aaba1813c451d8358872e35 (patch)
tree973be0eb18fd1e5fe82cea31f848c287a4b35869 /ports-mgmt
parent4ac306268d17fdf557786987afd4897a3a5846a5 (diff)
downloadports-aa3ee8b1376df07a2aaba1813c451d8358872e35.tar.gz
ports-aa3ee8b1376df07a2aaba1813c451d8358872e35.zip
Notes
Diffstat (limited to 'ports-mgmt')
-rw-r--r--ports-mgmt/portmaster/files/portmaster.sh.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/ports-mgmt/portmaster/files/portmaster.sh.in b/ports-mgmt/portmaster/files/portmaster.sh.in
index d7780938e5d1..efd26002ad63 100644
--- a/ports-mgmt/portmaster/files/portmaster.sh.in
+++ b/ports-mgmt/portmaster/files/portmaster.sh.in
@@ -1998,6 +1998,8 @@ gen_dep_list () {
for l in $temp_list ; do
list="$list `grep -m1 ^${l}\| $PM_INDEX | cut -f 2 -d \|`"
done
+
+ list=" $list "
fi
echo "$list"
@@ -2031,11 +2033,11 @@ dependency_check () {
if [ "$PM_BUILD_ONLY_LIST" = pmp_doing_build_deps ]; then
local rundeps dep varname run_dl build_only_dl
- rundeps=" `gen_dep_list run-depends-list` "
+ rundeps=`gen_dep_list run-depends-list`
for dep in $d_port_list; do
case "$rundeps" in
- *" ${dep} "*)
+ *" ${dep} "*|*${dep}*)
varname=`echo ${dep#$pd/} | sed 's#[-+/\.]#_#g'`
rundep_list="$rundep_list $varname"
eval $varname=\"$portdir \$$varname\"