aboutsummaryrefslogtreecommitdiff
path: root/system/nix/nix.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/nix/nix.SlackBuild')
-rw-r--r--system/nix/nix.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/system/nix/nix.SlackBuild b/system/nix/nix.SlackBuild
index fc27c7918b92e..52d08b3b10f87 100644
--- a/system/nix/nix.SlackBuild
+++ b/system/nix/nix.SlackBuild
@@ -95,7 +95,9 @@ mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/perl5/vendor_perl
mv $PKG/usr/lib${LIBDIRSUFFIX}/perl5/site_perl/**/**/* $PKG/usr/lib${LIBDIRSUFFIX}/perl5/vendor_perl
rm -r $PKG/usr/lib${LIBDIRSUFFIX}/perl5/site_perl
-mv $PKG/usr/lib/pkgconfig/ $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig/
+if [ "$ARCH" = "x86_64" ]; then
+ mv $PKG/usr/lib/pkgconfig/ $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig/
+fi
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done