summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--abuild.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/abuild.in b/abuild.in
index 9e6f43a..cb069f2 100644
--- a/abuild.in
+++ b/abuild.in
@@ -947,6 +947,11 @@ archcheck() {
prepare_package() {
msg "Preparing ${subpkgname:+sub}package ${subpkgname:-$pkgname}..."
+ if [ -n "$subpkgname" ]; then
+ # the subpackages should not inherit those
+ provides=""
+ install_if=""
+ fi
stripbin
prepare_metafiles \
&& prepare_trace_rpaths \