aboutsummaryrefslogtreecommitdiff
path: root/system/nix
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-03-03 21:00:37 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-03-04 05:40:08 +0700
commit6da1dbfb2662b49e559888db60e14a218f01e6a1 (patch)
treed4c173c5d0bf57a17b7b136c3df39ab58ceed435 /system/nix
parentd4b1f72b251573e5d06b78b7a315ccd7694b26d3 (diff)
system/nix: Fix build in x86.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/nix')
-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 fc27c7918b92..52d08b3b10f8 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