Browse Source

Clifford Wolf:


			
			
				rocklinux
			
			
		
Clifford Wolf 16 years ago
parent
commit
d3a53e0f2d
2 changed files with 28 additions and 5 deletions
  1. +0
    -5
      package/base/readline/readline.conf
  2. +28
    -0
      package/base/readline/shlib-install.patch

+ 0
- 5
package/base/readline/readline.conf

@ -33,11 +33,6 @@ hook_add postmake 5 "readline_postmake"
readline_inmake ()
{
# The readline make install would create backups and link to them.
rm -vf $libdir/lib{history,readline}.so.$ver{,.old} \
$libdir/lib{history,readline}.so.${ver:0:1} \
$libdir/lib{history,readline}.a
cp -rv examples/ $docdir
}

+ 28
- 0
package/base/readline/shlib-install.patch

@ -0,0 +1,28 @@
--- ./support/shlib-install.orig 2008-07-04 13:07:38.000000000 +0200
+++ ./support/shlib-install 2008-07-04 13:11:15.000000000 +0200
@@ -47,17 +47,18 @@
# pre-install
-if [ -z "$uninstall" ]; then
- ${echo} $RM ${INSTALLDIR}/${LIBNAME}.${OLDSUFF}
- if [ -f "$INSTALLDIR/$LIBNAME" ]; then
- ${echo} $MV $INSTALLDIR/$LIBNAME ${INSTALLDIR}/${LIBNAME}.${OLDSUFF}
- fi
-fi
+# if [ -z "$uninstall" ]; then
+# ${echo} $RM ${INSTALLDIR}/${LIBNAME}.${OLDSUFF}
+# if [ -f "$INSTALLDIR/$LIBNAME" ]; then
+# ${echo} $MV $INSTALLDIR/$LIBNAME ${INSTALLDIR}/${LIBNAME}.${OLDSUFF}
+# fi
+# fi
# install/uninstall
if [ -z "$uninstall" ] ; then
- ${echo} eval ${INSTALLPROG} $LIBNAME ${INSTALLDIR}/${LIBNAME}
+ ${echo} eval ${INSTALLPROG} $LIBNAME ${INSTALLDIR}/${LIBNAME}.new
+ ${echo} $MV ${INSTALLDIR}/${LIBNAME}.new ${INSTALLDIR}/${LIBNAME}
else
${echo} ${RM} ${INSTALLDIR}/${LIBNAME}
fi

Loading…
Cancel
Save