Fix #11155 - missing WebPositive in x86_gcc2 repository.

* Instead of just checking the primary architecture, we need to check
  all architectures whether the webpositive build feature is enabled.
This commit is contained in:
Oliver Tappe
2014-08-25 20:49:23 +02:00
parent d07f0c9396
commit ae18461ec1
+11 -3
View File
@@ -20,10 +20,18 @@ local packages =
haiku_$(secondaryArchs)_devel haiku_$(secondaryArchs)_devel
; ;
if [ FIsBuildFeatureEnabled webpositive ] { local webPositiveIsAvailable ;
if $(TARGET_PACKAGING_ARCH) != x86_gcc2 || $(secondaryArchs) { local architectureObject ;
packages += webpositive ; for architectureObject in [ MultiArchSubDirSetup ] {
on $(architectureObject) {
if [ FIsBuildFeatureEnabled webpositive ] {
webPositiveIsAvailable = true ;
break ;
}
} }
} }
if $(webPositiveIsAvailable) {
packages += webpositive ;
}
HaikuRepository $(haikuRepository) : $(repoInfo) : $(packages:S=.hpkg) ; HaikuRepository $(haikuRepository) : $(repoInfo) : $(packages:S=.hpkg) ;