pkgsrc changes: desupport build options that are turned into module packages. 2.49 (2010-07-07) ================= User visible changes -------------------- * New command line option -disable-readline lets working around bugs and incompatibilities between readline CLISP was built against and the library actually installed. See <http://clisp.cons.org/impnotes/clisp.html#opt-norl> for details. * FFI:OPEN-FOREIGN-LIBRARY now accepts the :REQUIRE argument. See <http://clisp.cons.org/impnotes/dffi.html#dffi-open-lib> for details. * New user variable CUSTOM:*USER-LIB-DIRECTORY* is respected by REQUIRE and used by "clisp-link install". Dynamic modules are now the default build option. See <http://clisp.cons.org/impnotes/require.html> and <http://clisp.cons.org/impnotes/clisp-link.html> for details. * Function RENAME-FILE now accepts :IF-EXISTS argument which determines the action when the destination exists, unless, of course, *ANSI* is T. See <http://clisp.cons.org/impnotes/file-func.html#rename-file> for details. * The replacement value entered by the user in STORE-VALUE and USE-VALUE restarts is now EVALuated. * The old user variable CUSTOM:*PRINT-CLOSURE* now controls interpreted closure output too (RFE#3001956). This is a tricky feature, read up! See <http://clisp.cons.org/impnotes/multi-rep.html#pr-closure>. * Module readline now supports readline 6.1. (Older versions are, of course, still supported). See <http://clisp.cons.org/impnotes/readline-mod.html> for details. * Module pcre now supports pcre 8.01. (Older versions are, of course, still supported). See <http://clisp.cons.org/impnotes/pcre.html> for details. * Module libsvm does not come with the upstream sources anymore, install locally and pass --with-libsvm-prefix to the top-level configure instead. All upstream versions up to 2.91 are supported. See <http://clisp.cons.org/impnotes/libsvm.html> for details. * Module berkeley-db now supports Berkeley-DB 4.8. (Older versions are, of course, still supported). See <http://clisp.cons.org/impnotes/berkeley-db.html> for details. * Module postgresql now supports PostgreSQL 8.4. (Older versions are, of course, still supported). See <http://clisp.cons.org/impnotes/postgresql.html> for details. * Module pari has been updated to support both 64 & 32 bit platforms with and without GMP. See <http://clisp.cons.org/impnotes/pari.html> for details. * New functions OS:VERSION-COMPARE et al call strverscmp. See <http://clisp.cons.org/impnotes/syscalls.html#strverscmp> for details. * Bug fixes: + Do not eliminate function calls which are advertised to have exceptional situation in unsafe code (bug#2868166). + Fix an internal error in DECLAIM on bad OPTIMIZE quality (bug#2868147). + CLEAR-INPUT now clears the EOF condition on file streams (bug#2902716). + When quitting on a signal, never enter the debugger (bug#2795278). + Respect :FULL T in DIRECTORY :WILD-INFERIORS (bug#3009966). + Handle TWO-WAY-STREAM and ECHO-STREAM correctly by (SETF STREAM-EXTERNAL-FORMAT) (bug#3020933). + Fix unbuffered output pipe stream initialization (bug#3024887). * ANSI compliance: + Implement the ANSI issue COMPILER-DIAGNOSTICS:USE-HANDLER: use the CL Condition System for compiler diagnostics. + STREAM-ELEMENT-TYPE on empty CONCATENATED-STREAMs now returns NIL because nothing can be read from such streams (bug#3014921).
71 lines
3 KiB
Text
71 lines
3 KiB
Text
$NetBSD: patch-ac,v 1.13 2010/07/09 18:08:05 asau Exp $
|
|
|
|
Support staged installation.
|
|
|
|
--- src/clisp-link.in.orig 2010-05-25 23:54:54.000000000 +0400
|
|
+++ src/clisp-link.in 2010-07-09 00:17:46.000000000 +0400
|
|
@@ -145,8 +145,8 @@
|
|
LIBDIR=""
|
|
set_dynamic_module_location() {
|
|
if test -z "${LIBDIR}"; then
|
|
- if touch ${CLISP_LIBDIR}/${DYNMOD}/.abazonk 2>/dev/null; then
|
|
- rm -f ${CLISP_LIBDIR}/${DYNMOD}/.abazonk
|
|
+ if touch "${DESTDIR}${CLISP_LIBDIR}/${DYNMOD}/.abazonk" 2>/dev/null; then
|
|
+ rm -f "${DESTDIR}${CLISP_LIBDIR}/${DYNMOD}/.abazonk"
|
|
LIBDIR=${CLISP_LIBDIR}
|
|
else # cf. src/m4/clisp.m4
|
|
CLISP_LIBDIR_USER=`clisp_eval '(and *user-lib-directory* (namestring *user-lib-directory*))'`
|
|
@@ -194,29 +194,29 @@
|
|
done
|
|
# create the REQUIRE file
|
|
reqfile=${dyndir}/${firstmod}.lisp
|
|
- rm -f ${reqfile}
|
|
+ rm -f "${DESTDIR}${reqfile}"
|
|
for f in ${TO_PRELOAD}; do
|
|
# preload files are not compiled
|
|
- echo "(cl:load (cl:merge-pathnames \"../${moduledir}/${f}\" cl:*load-truename*))" >> ${reqfile}
|
|
+ echo "(cl:load (cl:merge-pathnames \"../${moduledir}/${f}\" cl:*load-truename*))" >> "${DESTDIR}${reqfile}"
|
|
done
|
|
# dll has SHREXT extension
|
|
DM="(sys::dynload-modules (cl:merge-pathnames \"${dll}\" cl:*load-truename*) (quote ("
|
|
for m in ${NEW_MODULES}; do
|
|
DM=${DM}" \"$m\""
|
|
done
|
|
- echo ${DM}" )))" >> ${reqfile}
|
|
+ echo ${DM}" )))" >> "${DESTDIR}${reqfile}"
|
|
if test -n "${TO_LOAD}"; then
|
|
- echo ";; for def-call-out to non-existent functions" >> ${reqfile}
|
|
- echo "(ext:appease-cerrors" >> ${reqfile}
|
|
+ echo ";; for def-call-out to non-existent functions" >> "${DESTDIR}${reqfile}"
|
|
+ echo "(ext:appease-cerrors" >> "${DESTDIR}${reqfile}"
|
|
for f in ${TO_LOAD}; do
|
|
# module files must be compiled
|
|
- echo " (cl:load (cl:merge-pathnames \"../${moduledir}/${f}.fas\" cl:*load-truename*))" >> ${reqfile}
|
|
+ echo " (cl:load (cl:merge-pathnames \"../${moduledir}/${f}.fas\" cl:*load-truename*))" >> "${DESTDIR}${reqfile}"
|
|
done
|
|
- echo ")" >> ${reqfile}
|
|
+ echo ")" >> "${DESTDIR}${reqfile}"
|
|
fi
|
|
# create links to the REQUIRE file
|
|
for m in ${othermods}; do
|
|
- ln ${dyndir}/$m.lisp ${reqfile}
|
|
+ ln ${dyndir}/$m.lisp "${DESTDIR}${reqfile}"
|
|
done
|
|
fi
|
|
}
|
|
@@ -556,12 +556,12 @@
|
|
absolute_moduledir=`/bin/pwd`
|
|
. ./link.sh
|
|
prepare_dynamic_module # sets LIBDIR
|
|
- mkdir -p "${LIBDIR}/$moduledir"
|
|
+ mkdir -p "${DESTDIR}${LIBDIR}/$moduledir"
|
|
# when running "CLISP=./clisp ./clisp-link install <modname>"
|
|
# in the build directory, avoid "cp: `...' and `...' are the same file"
|
|
- absolute_distribdir=`cd "${LIBDIR}/$moduledir"; /bin/pwd`
|
|
+ absolute_distribdir=`cd "${DESTDIR}${LIBDIR}/$moduledir"; /bin/pwd`
|
|
test "${absolute_moduledir}" = "${absolute_distribdir}" || \
|
|
- make clisp-module-distrib LN=cp distribdir="${LIBDIR}/$moduledir"
|
|
+ make clisp-module-distrib LN=cp distribdir="${DESTDIR}${LIBDIR}/$moduledir"
|
|
cd "$absolute_currentdir"
|
|
done
|
|
;;
|