summaryrefslogtreecommitdiff
path: root/src/pkgbuild-check-nonfree
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkgbuild-check-nonfree')
-rwxr-xr-xsrc/pkgbuild-check-nonfree2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkgbuild-check-nonfree b/src/pkgbuild-check-nonfree
index 262c1fb..5d7a1ae 100755
--- a/src/pkgbuild-check-nonfree
+++ b/src/pkgbuild-check-nonfree
@@ -41,7 +41,7 @@ check_deps() (
# packages being built
"${pkgname[@]}"
# depends
- "${depends[@]}" "${makedepends[@]}" "${checkdepends[@]}"
+ "${depends[@]}" "${makedepends[@]}" "${checkdepends[@]}" "${optdepends[@]%%:*}"
# mksource depends
"${mkdepends[@]}"
)