From 38c9ebf6dff7ebc0c04e7180a5605eeb14e6932f Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 19 Jan 2015 10:49:27 +0100 Subject: [PATCH] hooks/prepare-32bit: do not create 32bit pkgs for perl/python/ruby modules. --- common/hooks/pre-pkg/05-prepare-32bit.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/common/hooks/pre-pkg/05-prepare-32bit.sh b/common/hooks/pre-pkg/05-prepare-32bit.sh index 2cc6c6ed7ca..b0743733f8a 100644 --- a/common/hooks/pre-pkg/05-prepare-32bit.sh +++ b/common/hooks/pre-pkg/05-prepare-32bit.sh @@ -11,6 +11,14 @@ 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