perl: handle provides in the same way than replaces.
This commit is contained in:
parent
cc46f515f2
commit
ce3ebf8f2d
1 changed files with 3 additions and 2 deletions
|
@ -22,7 +22,7 @@ long_desc="
|
|||
|
||||
# Before updating this package to a new major version, run ${FILESDIR}/provides.pl
|
||||
# against ${wrksrc} to find the list of built in packages.
|
||||
provides="
|
||||
_provides="
|
||||
perl-Archive-Extract-0.58_1
|
||||
perl-Archive-Tar-1.82_1
|
||||
perl-Attribute-Handlers-0.93_1
|
||||
|
@ -144,8 +144,9 @@ perl-threads-shared-1.40_1
|
|||
perl-version-0.99_1
|
||||
"
|
||||
|
||||
for _f in ${provides}; do
|
||||
for _f in ${_provides}; do
|
||||
_p=$($XBPS_PKGDB_CMD getpkgname ${_f})
|
||||
provides="${provides} ${_f}"
|
||||
replaces="${replaces} ${_p}>=0"
|
||||
done
|
||||
|
||||
|
|
Loading…
Reference in a new issue