aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/environment/build-style/perl-ModuleBuild.sh1
-rw-r--r--common/environment/build-style/ruby-module.sh1
-rw-r--r--common/hooks/pre-pkg/05-prepare-32bit.sh8
3 files changed, 2 insertions, 8 deletions
diff --git a/common/environment/build-style/perl-ModuleBuild.sh b/common/environment/build-style/perl-ModuleBuild.sh
new file mode 100644
index 00000000000..2444d3d104f
--- /dev/null
+++ b/common/environment/build-style/perl-ModuleBuild.sh
@@ -0,0 +1 @@
+lib32disabled=yes
diff --git a/common/environment/build-style/ruby-module.sh b/common/environment/build-style/ruby-module.sh
new file mode 100644
index 00000000000..2444d3d104f
--- /dev/null
+++ b/common/environment/build-style/ruby-module.sh
@@ -0,0 +1 @@
+lib32disabled=yes
diff --git a/common/hooks/pre-pkg/05-prepare-32bit.sh b/common/hooks/pre-pkg/05-prepare-32bit.sh
index 881d87aea60..1b6a5ae2161 100644
--- a/common/hooks/pre-pkg/05-prepare-32bit.sh
+++ b/common/hooks/pre-pkg/05-prepare-32bit.sh
@@ -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