diff options
author | Doug Barton <dougb@FreeBSD.org> | 2010-04-11 22:41:21 +0000 |
---|---|---|
committer | Doug Barton <dougb@FreeBSD.org> | 2010-04-11 22:41:21 +0000 |
commit | aa3ee8b1376df07a2aaba1813c451d8358872e35 (patch) | |
tree | 973be0eb18fd1e5fe82cea31f848c287a4b35869 /ports-mgmt | |
parent | 4ac306268d17fdf557786987afd4897a3a5846a5 (diff) | |
download | ports-aa3ee8b1376df07a2aaba1813c451d8358872e35.tar.gz ports-aa3ee8b1376df07a2aaba1813c451d8358872e35.zip |
Notes
Diffstat (limited to 'ports-mgmt')
-rw-r--r-- | ports-mgmt/portmaster/files/portmaster.sh.in | 6 |
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\" |