buildpkg.packaging.solaris: look for arch specific depend file

This commit is contained in:
Tom G. Christensen 2012-12-20 11:47:35 +01:00
parent 3daa127b5f
commit fe0a670fdf

View File

@ -574,6 +574,10 @@ auto_deps()
local secname=$1
local pkgname=$(get_pkgname $secname)
local temp
local depend_file=depend
# Check and see if there is an arch specific depend file
[ -r $metadir/depend.$arch ] && depend_file=depend.$arch
deps="$(extract_deps $secname | ${__sort} -u)"
# We need to sort out any packages created from the same build