|
|
@ -22,5 +22,15 @@ |
|
|
|
|
|
|
|
var_remove confopt " " "--disable-shared" |
|
|
|
var_remove confopt " " "--disable-static" |
|
|
|
postmake="cp -rv examples/ $docdir" |
|
|
|
|
|
|
|
hook_add inmake 5 "readline_inmake" |
|
|
|
|
|
|
|
readline_inmake () |
|
|
|
{ |
|
|
|
# The readline make install would create backups and link to them. |
|
|
|
rm -vf $root/$libdir/lib{history,readline}.so.$ver{,.old} \ |
|
|
|
$root/$libdir/lib{history,readline}.so.${ver:0:1} \ |
|
|
|
$root/$libdir/lib{history,readline}.a |
|
|
|
|
|
|
|
cp -rv examples/ $docdir |
|
|
|
} |