summaryrefslogtreecommitdiffstats
path: root/perl-install/Makefile
diff options
context:
space:
mode:
authorGwenolé Beauchesne <gbeauchesne@mandriva.org>2002-08-05 13:21:16 +0000
committerGwenolé Beauchesne <gbeauchesne@mandriva.org>2002-08-05 13:21:16 +0000
commit5889fd12bc1433d4500fc7349fe26bbc8a7a7548 (patch)
tree05d462fc062f57a588c3891707d725bba39a488b /perl-install/Makefile
parent95e6f63006eee2d13296811cd6de29135c8f9951 (diff)
downloaddrakx-backup-do-not-use-5889fd12bc1433d4500fc7349fe26bbc8a7a7548.tar
drakx-backup-do-not-use-5889fd12bc1433d4500fc7349fe26bbc8a7a7548.tar.gz
drakx-backup-do-not-use-5889fd12bc1433d4500fc7349fe26bbc8a7a7548.tar.bz2
drakx-backup-do-not-use-5889fd12bc1433d4500fc7349fe26bbc8a7a7548.tar.xz
drakx-backup-do-not-use-5889fd12bc1433d4500fc7349fe26bbc8a7a7548.zip
lib64 fixes
Diffstat (limited to 'perl-install/Makefile')
-rw-r--r--perl-install/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/perl-install/Makefile b/perl-install/Makefile
index d09718f55..7ef588aa4 100644
--- a/perl-install/Makefile
+++ b/perl-install/Makefile
@@ -99,9 +99,11 @@ get_needed_files: $(DIRS) $(MOFILES)
install -d $(DEST)/etc
install -d $(DEST)/etc/sysconfig/network-scripts
install -d $(DEST)/lib
+ install -d $(DEST)/$(LIB)
install -d $(DEST)/bin
install -d $(DEST)/usr/bin
install -d $(DEST)/usr/lib
+ install -d $(DEST)/usr/$(LIB)
install -d $(DEST)/usr/share
install -d $(DEST)/usr/share/gtk
install -d $(DEST)/usr/share/xmodmap
@@ -123,6 +125,8 @@ endif
for i in `cat /tmp/list`; do \
if (echo $$i | grep -q "lib/[^/]*\.so"); then \
install -s $$i $(DEST)/lib; \
+ elif (echo $$i | grep -q "lib64/[^/]*\.so"); then \
+ install -s $$i $(DEST)/lib64; \
else \
d=$$i; \
(echo $$d | grep -q "^[^/]") && d="$(REP4PMS)/$$d"; \
@@ -137,7 +141,7 @@ endif
fi; \
fi; \
done
- mv -f $(DEST)/lib/libimlib-png.so $(DEST)/usr/lib
+ mv -f $(DEST)/$(LIB)/libimlib-png.so $(DEST)/usr/$(LIB)
# # transform xpm's in png's
for i in $(DEST)/usr/share/icons/*.xpm; do convert $$i $${i%xpm}png; rm $$i; done