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:03 +02:00
parent d07f0c9396
commit ae18461ec1

View File

@ -20,10 +20,18 @@ local packages =
haiku_$(secondaryArchs)_devel
;
if [ FIsBuildFeatureEnabled webpositive ] {
if $(TARGET_PACKAGING_ARCH) != x86_gcc2 || $(secondaryArchs) {
packages += webpositive ;
local webPositiveIsAvailable ;
local architectureObject ;
for architectureObject in [ MultiArchSubDirSetup ] {
on $(architectureObject) {
if [ FIsBuildFeatureEnabled webpositive ] {
webPositiveIsAvailable = true ;
break ;
}
}
}
if $(webPositiveIsAvailable) {
packages += webpositive ;
}
HaikuRepository $(haikuRepository) : $(repoInfo) : $(packages:S=.hpkg) ;