[Lunar-commits] CVS: moonbase/filesys/xfsprogs POST_INSTALL, NONE, 1.1 BUILD.sparc64, 1.1, 1.2

Terry Chan tchan at lunar-linux.org
Tue Jun 15 16:27:12 GMT 2004


Update of /var/cvs/lunar/moonbase/filesys/xfsprogs
In directory dbguin.lunar-linux.org:/tmp/cvs-serv26037

Modified Files:
	BUILD.sparc64 
Added Files:
	POST_INSTALL 
Log Message:
Added a POST_INSTALL to fix some problems created by sofar moving this from
/usr/lib to /lib.  Updated the BUILD.sparc64 to match the changes sofar made
in BUILD.


--- NEW FILE: POST_INSTALL ---
# cleanup some leftover symlinks
if [ -h "/usr/lib/libhandle.a" ]; then
   rm /usr/lib/libhandle.a
fi
if [ -h "/usr/lib/libhandle.la" ]; then
   rm /usr/lib/libhandle.la
fi
# fix a broken symlink created by recent versions of xfsprogs
# and is needed by xfsdump to work correctly
if [ -h "/lib/libhandle.so" ]; then
   rm /lib/libhandle.so
   cd /lib
   ln -sf libhandle.so.1 libhandle.so
fi

Index: BUILD.sparc64
===================================================================
RCS file: /var/cvs/lunar/moonbase/filesys/xfsprogs/BUILD.sparc64,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- BUILD.sparc64	24 Feb 2004 04:55:26 -0000	1.1
+++ BUILD.sparc64	15 Jun 2004 16:27:10 -0000	1.2
@@ -1,6 +1,6 @@
 (
 
-  export DEBUG=-DNDEBUG &&
+  export DEBUG=-DNDEBUG
 
   make distclean &&
   rm -f configure include/platform_defs.h &&
@@ -9,20 +9,21 @@
   make &&
   prepare_install &&
   make install &&
-  make    install-dev &&
-  # tchan says: copying a bunch of libs that do NOT get installed by default (needed for xfsdump) but should be installed
-  #   and I can't figure out how to fix their Makefiles!
-  cp libdisk/libdisk.la /usr/lib &&
-  cp -P libdisk/.libs/libdisk.so* /usr/lib &&
-  cp libxfs/libxfs.la /usr/lib &&
-  cp -P libxfs/.libs/libxfs.so* /usr/lib &&
-  cp libxlog/libxlog.la /usr/lib &&
-  cp -P libxlog/.libs/libxlog.so* /usr/lib &&
-  strip -S /usr/lib/libxfs.so.0.0.0 &&
-  strip -S /usr/lib/libxfs.a &&
-  strip -S /usr/lib/libxlog.so.0.0.0 &&
-  strip -S /usr/lib/libxlog.a &&
-  strip -S /usr/lib/libdisk.so.0.0.0 &&
-  strip -S /usr/lib/libdisk.a
+  make install-dev &&
+  # tchan says: copying a bunch of libs that do NOT get installed
+  # by default (needed for xfsdump) but should be installed
+  # and I can't figure out how to fix their Makefiles!
+  cp libdisk/libdisk.la /lib &&
+  cp libxfs/libxfs.la /lib &&
+  cp libxlog/libxlog.la /lib &&
+  cp -P libdisk/.libs/libdisk.so* /lib &&
+  cp -P libxfs/.libs/libxfs.so* /lib &&
+  cp -P libxlog/.libs/libxlog.so* /lib &&
+  strip -S /lib/libxfs.so.0.0.0 &&
+  strip -S /lib/libxlog.so.0.0.0 &&
+  strip -S /lib/libdisk.so.0.0.0 &&
+  strip -S /lib/libxfs.a &&
+  strip -S /lib/libxlog.a &&
+  strip -S /lib/libdisk.a
 
 ) > $C_FIFO 2>&1



More information about the Lunar-commits mailing list