2019-11-02 18:02:56 +01:00
|
|
|
$NetBSD: patch-aa,v 1.20 2019/11/02 17:02:56 rillig Exp $
|
1998-09-06 23:21:54 +02:00
|
|
|
|
2009-12-16 00:22:06 +01:00
|
|
|
Override library subdirectory name for consistency.
|
2008-02-29 20:34:44 +01:00
|
|
|
Don't use cache file to avoid trailing space problem.
|
Update to CLISP 2.49.
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).
2010-07-09 20:08:05 +02:00
|
|
|
Support staged installation of modules.
|
2014-05-14 13:24:24 +02:00
|
|
|
Fix SunOS linking.
|
2008-02-29 20:34:44 +01:00
|
|
|
|
2019-11-02 18:02:56 +01:00
|
|
|
https://mail-index.netbsd.org/pkgsrc-users/2019/11/02/msg029846.html
|
|
|
|
https://sourceforge.net/p/clisp/bugs/740/ (macOS build failure)
|
|
|
|
|
2014-05-14 13:24:24 +02:00
|
|
|
--- src/makemake.in.orig 2010-07-07 15:15:35.000000000 +0000
|
|
|
|
+++ src/makemake.in
|
2019-11-02 18:02:56 +01:00
|
|
|
@@ -577,8 +577,8 @@
|
|
|
|
CROSS=false
|
|
|
|
if [ -z "$HSYS" ]; then # not win32gcc
|
|
|
|
# some shells (A/UX and OSF/1) need the parentheses around "arch" below.
|
|
|
|
- HSYS=`((arch) 2>/dev/null || uname -m 2>/dev/null) | $tolower` # system name in lowercase
|
|
|
|
- HSYSOS=`((uname) 2>/dev/null || arch 2>/dev/null) | $tolower` # OS name in lowercase
|
|
|
|
+ HSYS=`( (arch) 2>/dev/null || uname -m 2>/dev/null) | $tolower` # system name in lowercase
|
|
|
|
+ HSYSOS=`( (uname) 2>/dev/null || arch 2>/dev/null) | $tolower` # OS name in lowercase
|
|
|
|
if [ "$HSYS" = 386bsd -o "$HSYS" = sun386 -o "$HSYS" = "386/at" -o "$HSYS" = i86pc ] ; then
|
|
|
|
HSYS='i386'
|
|
|
|
fi
|
2014-05-14 13:24:24 +02:00
|
|
|
@@ -1416,42 +1416,42 @@ if [ "${with_dynamic_modules}" != no ];
|
Update to CLISP 2.49.
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).
2010-07-09 20:08:05 +02:00
|
|
|
XCC_PICFLAG=''
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
- XCC_CREATESHARED='create-shared-lib -o $lib $libs' # dummy command
|
|
|
|
+ XCC_CREATESHARED='create-shared-lib -o "${DESTDIR}$lib" $libs' # dummy command
|
|
|
|
case "$host_os" in
|
|
|
|
freebsd2.2*)
|
|
|
|
- XCC_CREATESHARED='ld -Bshareable -o $lib $libs /usr/lib/c++rt0.o'
|
|
|
|
+ XCC_CREATESHARED='ld -Bshareable -o "${DESTDIR}$lib" $libs /usr/lib/c++rt0.o'
|
|
|
|
;;
|
|
|
|
freebsd2* | netbsd* | openbsd*)
|
|
|
|
- XCC_CREATESHARED='ld -Bshareable -o $lib $libs'
|
|
|
|
+ XCC_CREATESHARED='ld -Bshareable -o "${DESTDIR}$lib" $libs'
|
|
|
|
;;
|
|
|
|
freebsd3* | gnu* | linux* | cygwin* | mingw* | k*bsd* | dragonfly*)
|
|
|
|
- XCC_CREATESHARED='${CC} ${CFLAGS} ${CLFLAGS} -shared -o $lib $libs'
|
|
|
|
+ XCC_CREATESHARED='${CC} ${CFLAGS} ${CLFLAGS} -shared -o "${DESTDIR}$lib" $libs'
|
|
|
|
;;
|
|
|
|
hpux9* | hpux10*)
|
|
|
|
- XCC_CREATESHARED='ld -b +s -o $lib $libs'
|
|
|
|
+ XCC_CREATESHARED='ld -b +s -o "${DESTDIR}$lib" $libs'
|
|
|
|
;;
|
|
|
|
irix5* | irix6*)
|
|
|
|
case " $CC $CFLAGS " in
|
|
|
|
- *" -32 "*) XCC_CREATESHARED='ld -32 -shared -o $lib $libs' ;;
|
|
|
|
- *" -n32 "*) XCC_CREATESHARED='ld -n32 -shared -o $lib $libs' ;;
|
|
|
|
- *" -64 "*) XCC_CREATESHARED='ld -64 -shared -o $lib $libs' ;;
|
|
|
|
- *) XCC_CREATESHARED='ld -shared -o $lib $libs' ;;
|
|
|
|
+ *" -32 "*) XCC_CREATESHARED='ld -32 -shared -o "${DESTDIR}$lib" $libs' ;;
|
|
|
|
+ *" -n32 "*) XCC_CREATESHARED='ld -n32 -shared -o "${DESTDIR}$lib" $libs' ;;
|
|
|
|
+ *" -64 "*) XCC_CREATESHARED='ld -64 -shared -o "${DESTDIR}$lib" $libs' ;;
|
|
|
|
+ *) XCC_CREATESHARED='ld -shared -o "${DESTDIR}$lib" $libs' ;;
|
|
|
|
esac
|
|
|
|
;;
|
|
|
|
osf3* | osf4*)
|
|
|
|
- XCC_CREATESHARED='ld -shared -expect_unresolved -o $lib $libs -lc'
|
|
|
|
+ XCC_CREATESHARED='ld -shared -expect_unresolved -o "${DESTDIR}$lib" $libs -lc'
|
|
|
|
;;
|
|
|
|
sco3.2v5*)
|
|
|
|
- XCC_CREATESHARED='ld -G -o $lib $libs'
|
|
|
|
+ XCC_CREATESHARED='ld -G -o "${DESTDIR}$lib" $libs'
|
|
|
|
;;
|
|
|
|
solaris2*)
|
|
|
|
- XCC_CREATESHARED='ld -G -z text -o $lib $libs'
|
|
|
|
+ XCC_CREATESHARED='ld -G -z text -o "${DESTDIR}$lib" $libs'
|
|
|
|
;;
|
|
|
|
sunos4*)
|
|
|
|
- XCC_CREATESHARED='ld -assert pure-text -Bstatic -o $lib $libs'
|
|
|
|
+ XCC_CREATESHARED='ld -assert pure-text -Bstatic -o "${DESTDIR}$lib" $libs'
|
|
|
|
;;
|
|
|
|
darwin*)
|
|
|
|
- XCC_CREATESHARED='${CC} -bundle -flat_namespace -undefined suppress -o $lib $libs'
|
|
|
|
+ XCC_CREATESHARED='${CC} -bundle -flat_namespace -undefined suppress -o "${DESTDIR}$lib" $libs'
|
|
|
|
;;
|
|
|
|
*) echo "$0: how do you create a shared library on ${host_os}?" >&2;
|
|
|
|
;;
|
2014-05-14 13:24:24 +02:00
|
|
|
@@ -1542,7 +1542,7 @@ if [ $CROSS = false ] ; then
|
|
|
|
# Newer versions of Solaris (Solaris 2.2 and newer) don't have
|
|
|
|
# libdl_stubs.a any more. This means that you cannot link -static !
|
|
|
|
XCLFLAGS=`echol "$XCLFLAGS" | sed -e 's/-B*static//g'`
|
|
|
|
- SOLARIS_LINKING=1 # Even more hacks needed??
|
|
|
|
+ SOLARIS_LINKING= # Even more hacks needed??
|
|
|
|
BINARY_DISTRIB=1
|
|
|
|
;;
|
|
|
|
hpux*)
|
|
|
|
@@ -1917,7 +1917,7 @@ echol "htmldir = ${HTMLDIR}"
|
2009-12-16 00:22:06 +01:00
|
|
|
echol "psdir = ${PSDIR}"
|
2008-02-29 20:34:44 +01:00
|
|
|
echol "pdfdir = ${PDFDIR}"
|
|
|
|
echol "libdir = ${LIBDIR}"
|
2009-12-16 00:22:06 +01:00
|
|
|
-echol "lisplibdir = \$(libdir)${NEXT_}\$(TOPDIR)"
|
2008-02-29 20:34:44 +01:00
|
|
|
+echol "lisplibdir = \$(libdir)${NEXT_}clisp"
|
Update to CLISP 2.49.
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).
2010-07-09 20:08:05 +02:00
|
|
|
test -n "$USE_GETTEXT" && echol "localedir = ${LOCALEDIR}"
|
|
|
|
echol "elispdir = ${ELISPDIR}"
|
|
|
|
echol "vimdir = ${VIMDIR}"
|
2014-05-14 13:24:24 +02:00
|
|
|
@@ -3315,7 +3315,7 @@ for var in ${PRECIOUS_VARS}; do
|
2009-12-16 00:22:06 +01:00
|
|
|
done
|
2008-02-29 20:34:44 +01:00
|
|
|
# we must use $(SHELL) for sub-configures because when the top CONFIG_SHELL
|
|
|
|
# is bash, config.cache may be unparsable with sh on Solaris
|
Update to CLISP 2.49.
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).
2010-07-09 20:08:05 +02:00
|
|
|
-echotab " \$(SHELL) \$\$m/configure --with-clisp=\"${HEREP}/clisp -K boot ${someflags}\" --cache-file=\$\${cache} --srcdir=\$\$m \$(MODULE_CONFIGURE_FLAGS);\\"
|
|
|
|
+echotab " \$(SHELL) \$\$m/configure --with-clisp=\"${HEREP}/clisp -K boot ${someflags}\" --srcdir=\$\$m \$(MODULE_CONFIGURE_FLAGS);\\"
|
|
|
|
echotab " else \\"
|
|
|
|
echotab " \$(SHELL) \$\$m/configure --srcdir=\$\$m \$(MODULE_CONFIGURE_FLAGS); \\"
|
2008-02-29 20:34:44 +01:00
|
|
|
echotab " fi ) ;\\"
|