Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/10.4-EOL/libs
In directory vz-cvs-3.sog:/tmp/cvs-serv32018
Modified Files:
readline5.info
Log Message:
darwin8,9: also provide libreadline.dylib -> libreadline.5.dylib (and
libhistory)
Index: readline5.info
===================================================================
RCS file:
/cvsroot/fink/dists/10.4/stable/main/finkinfo/10.4-EOL/libs/readline5.info,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- readline5.info 31 Oct 2011 18:45:54 -0000 1.3
+++ readline5.info 4 Nov 2011 18:51:40 -0000 1.4
@@ -1,7 +1,7 @@
Info4: <<
Package: readline5%type_pkg[-64bit]
Version: 5.2
-Revision: 14.1
+Revision: 15
Maintainer: Fink Core Group <[email protected]>
Type: -64bit (boolean)
Architecture: ( %type_raw[-64bit] = -64bit ) powerpc, ( %type_raw[-64bit] =
-64bit ) i386
@@ -72,20 +72,32 @@
export CC="gcc -m64"
fi
./configure %c
- # fangism: undo their screwy shlibs versioning to fix install_name
- sed -i.orig -e '/^SHLIB_LIBVERSION/s|\$(SHLIB_MINOR)||' shlib/Makefile
+ osversion=`uname -r | cut -d. -f1`
+ if [ $osversion -le 9 ]
+ then
+ # fix 10.4,10.5-specific issue
+ # fangism: undo their screwy shlibs versioning to fix
install_name
+ sed -i.orig -e '/^SHLIB_LIBVERSION/s|\$(SHLIB_MINOR)||'
shlib/Makefile
+ fi
make
fink-package-precedence --depfile-ext='\.d' --prohibit-bdep=%n .
<<
InstallScript: <<
#!/bin/sh -ev
make install DESTDIR=%d mandir=%p/share/man infodir=%p/share/info
- # fangism -- to fix the renaming and install_name hacking
- pushd %i/%lib
- mv libhistory.5.dylib libhistory.5.2.dylib
- mv libreadline.5.dylib libreadline.5.2.dylib
- ln -s libhistory.5.2.dylib libhistory.5.dylib
- ln -s libreadline.5.2.dylib libreadline.5.dylib
+ osversion=`uname -r | cut -d. -f1`
+ if [ $osversion -le 9 ]
+ then
+ # fix 10.4,10.5-specific issue
+ # fangism -- to fix the renaming and install_name hacking
+ pushd %i/%lib
+ mv libhistory.5.dylib libhistory.5.2.dylib
+ mv libreadline.5.dylib libreadline.5.2.dylib
+ ln -s libhistory.5.2.dylib libhistory.5.dylib
+ ln -s libreadline.5.2.dylib libreadline.5.dylib
+ ln -s libhistory.5.dylib libhistory.dylib
+ ln -s libreadline.5.dylib libreadline.dylib
+ fi
<<
DocFiles: NEWS CHANGELOG CHANGES COPYING README USAGE
InfoDocs: history.info readline.info rluserman.info
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs