xbps-src: Migrate from build_style for 32bit pkgs
This allows dxpb to have a simpler test for whether or not a 32bit package will be built.
This commit is contained in:
parent
1ec953f637
commit
1edc8846ca
|
@ -0,0 +1 @@
|
|||
lib32disabled=yes
|
|
@ -0,0 +1 @@
|
|||
lib32disabled=yes
|
|
@ -12,14 +12,6 @@
|
|||
hook() {
|
||||
local destdir32=${XBPS_DESTDIR}/${pkgname}-32bit-${version}
|
||||
|
||||
# Do not build 32bit pkgs for:
|
||||
# - perl modules
|
||||
# - python modules
|
||||
# - ruby modules
|
||||
if [[ $build_style =~ (perl|python|ruby) ]]; then
|
||||
return
|
||||
fi
|
||||
|
||||
# By default always enabled unless "lib32disabled" is set.
|
||||
if [ -n "$lib32disabled" ]; then
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue