1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

Do not list libs which come with the port itself.

This commit is contained in:
Alexander Leidinger 2007-08-26 15:03:55 +00:00
parent 1fc8d4fdd0
commit bd34c2cc9c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=198333

View File

@ -92,6 +92,9 @@ for i in $@; do
fi
fi
myorigin=$(awk -F : '/@comment ORIGIN:/ {print $2}' \
${current_port}/+CONTENTS)
awk '
/^@cwd / {
CWD=$2;
@ -109,7 +112,7 @@ for i in $@; do
}
' < ${current_port}/+CONTENTS | \
xargs ${PORTSDIR}/Tools/scripts/neededlibs.sh | \
xargs ${PORTSDIR}/Tools/scripts/resolveportsfromlibs.sh ${bases}
xargs ${PORTSDIR}/Tools/scripts/resolveportsfromlibs.sh ${bases} | \
egrep -v "${myorigin}\$"
done | sort -u